Class ResourceProviderAttribute
Attribute used to mark implementations of IResourceProvider with a name (doesn't matter much as long as it's unique) and a priority (can be important!).
Namespace: SuperOffice.Globalization
Assembly: SuperOffice.Plugins.dll
Syntax
public class ResourceProviderAttribute : PrioritizedPluginAttribute
Remarks
Partners are encouraged to use structured names, such as company.product.subproduct for their providers, to ensure uniqueness.
Constructors
ResourceProviderAttribute(String, Int32)
Mark a class as a resource provider.
Declaration
public ResourceProviderAttribute(string name, int priority)
Parameters
Type | Name | Description |
---|---|---|
String | name | Partners are encouraged to use structured names, such as company.product.subproduct for their providers, to ensure uniqueness. |
Int32 | priority | Lower numbers = called first; SuperOffice standard providers have priorities around Int32.MaxValue / 2 |
Remarks
Partners are encouraged to use structured names, such as company.product.subproduct for their providers, to ensure uniqueness.
Extension Methods
EnumUtil.MapEnums<From, To>(From)