Class PluginId
Unique identity of a plug-in. The id of a plug-in is the name of the plug-in assembly.
Inherited Members
Namespace: SdlSdl.CorePluginFramework
Assembly: Sdl.Core.PluginFramework.dll
Syntax
public sealed class PluginId
Constructors
PluginId(string)
Creates a PluginId object with a string id.
Declaration
public PluginId(string id)
Parameters
Type | Name | Description |
---|---|---|
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 |
---|---|
string |
Methods
Equals(object)
Compares IDs by looking at the underlying Id property.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool | True if the IDs are equal. |
Overrides
GetHashCode()
Overridden to returns a hash of the underlying plug-in Id.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hashcode. |