Class ArchiveSubProviderAttribute
This attribute marks an archive sub provider, i.e., a class that adds rows to an archive. It may declare its own entity name, or use an existing one if this makes more sense in the GUI. A class marked with this attribute must implement the IArchiveProvider interface. Its parent must be of type IArchiveMultiQueryProvider in order to accept sub providers. The class MultiQueryProviderBase is a recommended base class.
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class ArchiveSubProviderAttribute : PrioritizedPluginAttribute
Constructors
ArchiveSubProviderAttribute(string, string, int)
Declare an archive sub provider, i.e., a class that adds rows to an archive. If the parent name is null or empty, the class factory mechanism will ignore this extender. If the parent name is nonempty and matches an existing provider, the class factory will load and link up this extender whenever the parent is instatiated.
Declaration
public ArchiveSubProviderAttribute(string name, string providerClassToExtend, int priority)
Parameters
Type | Name | Description |
---|---|---|
string | name | Unique name of this sub provider plugin |
string | providerClassToExtend | The class name of the provider to be extended, or empty/null to block auto loading. |
int | priority | Priority |
Properties
ProviderClassToExtend
The (readonly) class name of the provider that this provider is intended to extend.
Declaration
public string ProviderClassToExtend { get; }
Property Value
Type | Description |
---|---|
string |