共用方式為


HtmlLocalizerExtensions.GetAllStrings(IHtmlLocalizer) 方法

定義

取得所有字串資源,包括父文化特性的資源。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<Microsoft::Extensions::Localization::LocalizedString ^> ^ GetAllStrings(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer);
public static System.Collections.Generic.IEnumerable<Microsoft.Extensions.Localization.LocalizedString> GetAllStrings (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer);
static member GetAllStrings : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer -> seq<Microsoft.Extensions.Localization.LocalizedString>
<Extension()>
Public Function GetAllStrings (htmlLocalizer As IHtmlLocalizer) As IEnumerable(Of LocalizedString)

參數

htmlLocalizer
IHtmlLocalizer

IHtmlLocalizer

傳回

字串資源。

適用於