Class ArchiveExtenderExtenderAttribute
This attribute marks an archive extender extender, i.e., a class that adds columns to an existing provider by joining in additional tables. Extenders are themselves extensible, enabling arbitrary chains. Note that the complexity of the query will keep growing, too. A class marked with this attribute must implement the IArchiveExtender interface. The class ExtenderBase is a recommended base class.
Inheritance
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class ArchiveExtenderExtenderAttribute : PrioritizedPluginAttribute
Constructors
ArchiveExtenderExtenderAttribute(string, Type, int)
Declare an archive provider extender, and what it is an extender of, to get automatic loading. 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 ArchiveExtenderExtenderAttribute(string name, Type extenderClassToExtend, int priority)
Parameters
Type | Name | Description |
---|---|---|
string | name | The class name of the provider (which can itself be an extender) that is to be extended, or empty/null to block auto loading. |
Type | extenderClassToExtend | The actual type (not name) of the extender that we want to bolt onto |
int | priority | Priority |
Properties
ExtenderClassToExtend
The (readonly) class name of the provider that this provider is intended to extend.
Declaration
public Type ExtenderClassToExtend { get; }
Property Value
Type | Description |
---|---|
Type |