HtmlLocalizerExtensions.GetAllStrings(IHtmlLocalizer) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所有字串資源,包括父文化特性的資源。
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
傳回
字串資源。