Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Game.PluginExtensionAttribute Class Reference
Inheritance diagram for pluginbase.Objects.Game.PluginExtensionAttribute:

Public Member Functions

 PluginExtensionAttribute (string name, PluginExtensionScope scope)
 Describes a plugin extension with a given name and scope More...
 

Public Attributes

readonly string Name
 The human-readable name of the extension More...
 
readonly PluginExtensionScope Scope
 Describes at which endpoint the plugin extension is instantiated More...
 
bool Persist
 Gets or sets a value indicating whether this pluginbase.Objects.Game.PluginExtensionAttribute should persist. More...
 

Detailed Description

Attribute: AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)

Constructor & Destructor Documentation

pluginbase.Objects.Game.PluginExtensionAttribute.PluginExtensionAttribute ( string  name,
PluginExtensionScope  scope 
)

Describes a plugin extension with a given name and scope

Parameters
nameThe human-readable name.
scopeWhere the extension is run.
31  {
32  this.Name = name;
33  this.Scope = scope;
34  }
readonly string Name
The human-readable name of the extension
Definition: PluginExtensionAttribute.cs:11
readonly PluginExtensionScope Scope
Describes at which endpoint the plugin extension is instantiated
Definition: PluginExtensionAttribute.cs:16

Member Data Documentation

readonly string pluginbase.Objects.Game.PluginExtensionAttribute.Name

The human-readable name of the extension

bool pluginbase.Objects.Game.PluginExtensionAttribute.Persist

Gets or sets a value indicating whether this pluginbase.Objects.Game.PluginExtensionAttribute should persist.

true if persist; otherwise, false.

readonly PluginExtensionScope pluginbase.Objects.Game.PluginExtensionAttribute.Scope

Describes at which endpoint the plugin extension is instantiated


The documentation for this class was generated from the following file: