Partilhar via


ResourceManagerStringLocalizerFactory.GetResourceLocationAttribute Método

Definição

Obtém um ResourceLocationAttribute do Assembly fornecido.

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

Parâmetros

assembly
Assembly

O assembly do qual obter um ResourceLocationAttribute.

Retornos

O ResourceLocationAttribute associado ao Assembly determinado.

Comentários

Esse método é protegido e virtual apenas para fins de teste.

Aplica-se a