Class RestrictionStoragePluginAttribute
Attribute marking a class as a plugin for restriction storage. The plugin must also implement the SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage interface. Restriction storage plugins are prioritized, the default priority is int.MaxValue/2.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class RestrictionStoragePluginAttribute : PrioritizedPluginAttribute
Constructors
RestrictionStoragePluginAttribute(string)
Mark a class as a restriction storage provider with the default priority of int.MaxValue/2. Lower numeric priorities mask higher-valued providers of the same name.
Declaration
public RestrictionStoragePluginAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Storage type name, corresponds to the storageType parameter in the SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage methods. |
RestrictionStoragePluginAttribute(string, int)
Mark a class as a restriction storage provider with an explicit priority. Lower numeric priorities mask higher-valued providers of the same name.
Declaration
public RestrictionStoragePluginAttribute(string name, int priority)
Parameters
Type | Name | Description |
---|---|---|
string | name | Storage type name, corresponds to the storageType parameter in the SuperOffice.CRM.Services.Implementation.DCF.ArchiveLists.IRestrictionStorage methods. |
int | priority |