PluginAttribute

Overview

The PluginAttribute is a base class for a custom plugins attirubte. 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.

Location


Properties


Description

User defined description of a plugin.

 

property Description: String read write;

 

String Description { get; set; }

 

var Description: String { get{} set{} }

 

Property Description() As String

MajorVersion

Major version of a plugin.

 

property MajorVersion: Int32 read write;

 

Int32 MajorVersion { get; set; }

 

var MajorVersion: Int32 { get{} set{} }

 

Property MajorVersion() As Int32

MinorVersion

Minor version of a plugin.

 

property MinorVersion: Int32 read write;

 

Int32 MinorVersion { get; set; }

 

var MinorVersion: Int32 { get{} set{} }

 

Property MinorVersion() As Int32

Name

Gets or sets the name of the plugin.

 

property Name: String read write;

 

String Name { get; set; }

 

var Name: String { get{} set{} }

 

Property Name() As String

RequiredPrivilege

User defined list of privileges that is required to create an instance of a plugin.

 

property RequiredPrivilege: String read write;

 

String RequiredPrivilege { get; set; }

 

var RequiredPrivilege: String { get{} set{} }

 

Property RequiredPrivilege() As String

UserData

Gets or sets the user data.

 

property UserData: String read write;

 

String UserData { get; set; }

 

var UserData: String { get{} set{} }

 

Property UserData() As String