ResourceManagerStringLocalizerFactory.GetRootNamespaceAttribute Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.