ModuleControllerAttribute

Overview

The ModuleController attribute is used to define a module controller class inside plugin module. Hydra core will use this attribute to search for a valid module controller class. You can use this attribute to set additional data of the module controller.

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 ModuleController class.

  [ModuleController(Name = "Controller", Description = "My module controller", UserData = "Data")]
  public partial class TheModuleController : ModuleController
  [..]

Location

Properties


Description

Gets or sets the description of the plugin.

 

property Description: String read write;

 

String Description { get; set; }

 

Property Description() As String

Name

Gets or sets the name of the plugin.

 

property Name: String read write;

 

String Name { get; set; }

 

Property Name() As String

UserData

Gets or sets the user data.

 

property UserData: String read write;

 

String UserData { get; set; }

 

Property UserData() As String

Instance Methods


constructor

Creates a new instance of the class.

 

constructor

 

ModuleControllerAttribute()

 

Sub New()