Share via


ResourceManagerStringLocalizerFactory.GetRootNamespaceAttribute Method

Definition

Gets a RootNamespaceAttribute from the provided Assembly.

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

Parameters

assembly
Assembly

The assembly to get a RootNamespaceAttribute from.

Returns

The RootNamespaceAttribute associated with the given Assembly.

Remarks

This method is protected and virtual for testing purposes only.

Applies to