Show / Hide Table of Contents

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!).

Inheritance
object
Attribute
PluginAttribute
PrioritizedPluginAttribute
ResourceProviderAttribute
Inherited Members
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, bool)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, bool)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(ParameterInfo, bool)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, bool)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, bool)
Attribute.GetCustomAttributes(Module, Type, bool)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, bool)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, bool)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, bool)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, bool)
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, bool)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, bool)
Attribute.Equals(object)
Attribute.GetHashCode()
Attribute.Match(object)
Attribute.IsDefaultAttribute()
Attribute.TypeId
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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, int)

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.

int 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)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top