Udostępnij za pośrednictwem


ResourceManagerStringLocalizerFactory.GetRootNamespaceAttribute Metoda

Definicja

Pobiera element RootNamespaceAttribute z podanego Assemblyelementu .

protected:
 virtual Microsoft::Extensions::Localization::RootNamespaceAttribute ^ GetRootNamespaceAttribute(System::Reflection::Assembly ^ assembly);
protected virtual Microsoft.Extensions.Localization.RootNamespaceAttribute? GetRootNamespaceAttribute (System.Reflection.Assembly assembly);
abstract member GetRootNamespaceAttribute : System.Reflection.Assembly -> Microsoft.Extensions.Localization.RootNamespaceAttribute
override this.GetRootNamespaceAttribute : System.Reflection.Assembly -> Microsoft.Extensions.Localization.RootNamespaceAttribute
Protected Overridable Function GetRootNamespaceAttribute (assembly As Assembly) As RootNamespaceAttribute

Parametry

assembly
Assembly

Zestaw do pobrania RootNamespaceAttribute elementu z.

Zwraca

Element RootNamespaceAttribute skojarzony z danym Assemblyelementem .

Uwagi

Ta metoda jest chroniona i wirtualna tylko do celów testowych.

Dotyczy