Show / Hide Table of Contents

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.

Inheritance
Object
PluginAttribute
PrioritizedPluginAttribute
ArchiveSubProviderAttribute
Namespace: SuperOffice.CRM.ArchiveLists
Assembly: SoDataBase.dll
Syntax
public class ArchiveSubProviderAttribute : PrioritizedPluginAttribute

Constructors

ArchiveSubProviderAttribute(String, String, Int32)

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.

Int32 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

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