Interface IPluginDescriptor
Represents a plug-in descriptor, which gives access to a plug-in manifest and corresponding resources.
Namespace: SdlSdl.CorePluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public interface IPluginDescriptor
Remarks
The framework includes one implementation, FileBasedPluginDescriptor, which loads the plug-in manifest from a file on the local file system.
Properties
Name
Returns a name for the plug-in. This is not the actual name of the plug-in as defined using the PluginAttribute, but rather a name specific to this type of plug-in descriptor.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetPluginManifestStream()
Gets a stream from which the plug-in manifest can be loaded.
Declaration
Stream GetPluginManifestStream()
Returns
Type | Description |
---|---|
Stream | A stream to the plug-in manifest. |
GetPluginResource(string)
Gets the plugin resource.
Declaration
object GetPluginResource(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name. |
Returns
Type | Description |
---|---|
object |