|
![]() |
The AddInPlugin type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
AddInPlugin |
Default constructor for an AddInPlugin
|
Methods
Name | Description | |
---|---|---|
![]() |
CanExecute |
This is called to determine the state of plugin.
Primarily if Execute can be called.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
Execute |
This method is called when the plugin is executed
|
![]() |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() |
GetString |
Looks up a localizable string that is specific to this plugin
(Inherited from Plugin.) |
![]() |
GetStringSafe |
Looks up a localizable string that is specific to this plugin
(Inherited from Plugin.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsSelfEnabled |
Called once to determines if the plugin is enabled.
Only called if PluginRecord.SupportsIsSelfEnabled is true
(Inherited from Plugin.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnLoaded |
Called once immediately after the plugin has been loaded (created).
Plugins are loaded on demand so this may be some time after application startup.
Default implementation does nothing.
This is a good place to subscribe to API events.
(Inherited from Plugin.) |
![]() |
OnUnloading |
Called once just before the plugin is unloaded. If the plugin implements
IDisposable, then
Dispose will be called immediately after the plugin is unloaded.
Plugins are typically unloaded at application shutdown or when the end user has disabled a plugin.
Default implementation does nothing.
This is a good place to unsubscribe from API events.
(Inherited from Plugin.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
TryGetString |
Looks up a localizable string that is specific to this plugin
(Inherited from Plugin.) |
![]() |
TryShowHelp |
Called to tell the plugin to display help
|
Properties
Name | Description | |
---|---|---|
![]() |
DeveloperId |
The 4 character ADN developer code or a GUID. The combination of this and Name should make the plugin unique (Inherited from Plugin.) |
![]() |
Id |
The full identifier for the plugin. This is formed as
Name.DeveloperId (Inherited from Plugin.) |
![]() |
Name |
The name of the Plugin. The combination of this and DeveloperId should make the plugin unique (Inherited from Plugin.) |
![]() |
PluginRecord |
The PluginRecord that provides access to the attribute defined properties for this plugin. (Inherited from Plugin.) |