Class PluginId
Unique identity of a plug-in. The id of a plug-in is the name of the plug-in assembly.
Inheritance
System.Object
PluginId
Namespace: Sdl.Core.PluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public sealed class PluginId : Object
Constructors
PluginId(String)
Creates a PluginId object with a string id.
Declaration
public PluginId(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The plug-in id. |
Properties
Id
returns the underlying id. The id of a plug-in is the name of the plug-in assembly.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(Object)
Compares IDs by looking at the underlying Id property.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean | True if the IDs are equal. |
GetHashCode()
Overridden to returns a hash of the underlying plug-in Id.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hashcode. |