Class PreviewPluginAttribute
Attribute used to mark a class as a Preview provider Plugin. Such classes need to implement the
Inheritance
Implements
Inherited Members
Namespace: SuperOffice.CRM.Previews
Assembly: SoDataBase.dll
Syntax
public class PreviewPluginAttribute : PrioritizedPluginAttribute, _Attribute
Constructors
PreviewPluginAttribute(String, Int32, String[])
Mark a class as a Preview provider Plugin with the given name and priority. Standard providers have priority int.MaxValue/2.
Declaration
public PreviewPluginAttribute(string name, int priority, params string[] registerHints)
Parameters
Type | Name | Description |
---|---|---|
String | name | Provider name |
Int32 | priority | Priority, lower values come before higher values |
String[] | registerHints | Set of hints to register for. If this is empty, the provider will be called for ALL Preview requests and must filter by itself. If nonempty, the provider will be called only for requests that contain at least one of its registered hints. |
PreviewPluginAttribute(String, String[])
Mark a class as a Preview provider Plugin with the given name and the standard priority of int.MaxValue/2.
Declaration
public PreviewPluginAttribute(string name, params string[] registerHints)
Parameters
Type | Name | Description |
---|---|---|
String | name | Provider name |
String[] | registerHints | Set of hints to register for. If this is empty, the provider will be called for ALL Preview requests and must filter by itself. If nonempty, the provider will be called only for requests that contain at least one of its registered hints. |
Properties
RegisteredHints
Declaration
public string[] RegisteredHints { get; }
Property Value
Type | Description |
---|---|
String[] |