Udostępnij za pośrednictwem


ResourceManagerStringLocalizerFactory.GetResourceLocationAttribute Metoda

Definicja

Pobiera element ResourceLocationAttribute z podanego Assemblyelementu .

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

Parametry

assembly
Assembly

Zestaw, z który ma być pobierany ResourceLocationAttribute .

Zwraca

Skojarzony ResourceLocationAttribute z danym Assemblyelementem .

Uwagi

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

Dotyczy