VisualPluginAttribute
Overview
The PluginAttribute class is a custom plugin attirubute that defines a non-visual plugin. Hydra uses this attribute to locate plugins within assembly and to get access to meta-data. Every Hydra plugin must have a set of attributes to allow host application properly detect kind of a plugin.
Use Case
You can use this class to associate user-defined information, such as name of the plugin, description and some user data to the target non-visual plugin (RemObjects.Hydra.VisualPlugin).
[Plugin(Name = "SamplePlugin", Description = "This is sample plugin", UserData = "Data"), VisualPlugin]
public partial class Plugin1 : VisualPlugin
[..]
Location
- Reference: RemObjects.Hydra.dll
- Namespace: RemObjects.Hydra
- Ancestry: Attribute | PluginAttribute | PluginTypeAttribute | VisualPluginAttribute
constructor
Creates a new instance of the class.
constructor
VisualPluginAttribute()
Sub New()
Description (declared in PluginAttribute)
Gets or sets the description of the plugin.
property Description: String read write;
String Description { get; set; }
Property Description() As String
MajorVersion (declared in PluginAttribute)
property MajorVersion: Int32 read write;
Int32 MajorVersion { get; set; }
Property MajorVersion() As Int32
MinorVersion (declared in PluginAttribute)
property MinorVersion: Int32 read write;
Int32 MinorVersion { get; set; }
Property MinorVersion() As Int32
Name (declared in PluginAttribute)
Gets or sets the name of the plugin.
property Name: String read write;
String Name { get; set; }
Property Name() As String
RequiredPrivilege (declared in PluginAttribute)
property RequiredPrivilege: String read write;
String RequiredPrivilege { get; set; }
Property RequiredPrivilege() As String
UserData (declared in PluginAttribute)
Gets or sets the user data.
property UserData: String read write;
String UserData { get; set; }
Property UserData() As String
Description (declared in PluginAttribute)
Gets or sets the description of the plugin.
property Description: String read write;
String Description { get; set; }
Property Description() As String
MajorVersion (declared in PluginAttribute)
property MajorVersion: Int32 read write;
Int32 MajorVersion { get; set; }
Property MajorVersion() As Int32
MinorVersion (declared in PluginAttribute)
property MinorVersion: Int32 read write;
Int32 MinorVersion { get; set; }
Property MinorVersion() As Int32
Name (declared in PluginAttribute)
Gets or sets the name of the plugin.
property Name: String read write;
String Name { get; set; }
Property Name() As String
RequiredPrivilege (declared in PluginAttribute)
property RequiredPrivilege: String read write;
String RequiredPrivilege { get; set; }
Property RequiredPrivilege() As String
UserData (declared in PluginAttribute)
Gets or sets the user data.
property UserData: String read write;
String UserData { get; set; }
Property UserData() As String
constructor
Creates a new instance of the class.
constructor
VisualPluginAttribute()
Sub New()