Interface IPluginDescriptor
Represents a plug-in descriptor, which gives access to a plug-in manifest and corresponding resources.
Namespace: Sdl.Core.PluginFramework
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 |
---|---|
System.String |
Methods
GetPluginManifestStream()
Gets a stream from which the plug-in manifest can be loaded.
Declaration
Stream GetPluginManifestStream()
Returns
Type | Description |
---|---|
System.IO.Stream | A stream to the plug-in manifest. |
GetPluginResource(String)
Gets the plugin resource.
Declaration
object GetPluginResource(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Returns
Type | Description |
---|---|
System.Object |