Class ScopeIdentity
Provides an identity for scope.
Inheritance
Implements
Namespace: MAT.Atlas.Api.Core
Assembly: MAT.Atlas.Api.Core.dll
Syntax
public class ScopeIdentity : Object, IScopeIdentity
Constructors
ScopeIdentity(IScopeIdentity, String)
Initializes a new instance of the ScopeIdentity class for use when only the parent identity is changing.
Declaration
public ScopeIdentity(IScopeIdentity scopeIdentity, string newParentIdentity)
Parameters
Type | Name | Description |
---|---|---|
IScopeIdentity | scopeIdentity | The current scope identity. |
System.String | newParentIdentity | The new parent identity. |
ScopeIdentity(String)
Initializes a new instance of the ScopeIdentity class.
Declaration
public ScopeIdentity(string identity)
Parameters
Type | Name | Description |
---|---|---|
System.String | identity | The identity. |
ScopeIdentity(String, String)
Initializes a new instance of the ScopeIdentity class.
Declaration
public ScopeIdentity(string identity, string parentIdentity)
Parameters
Type | Name | Description |
---|---|---|
System.String | identity | The identity. |
System.String | parentIdentity | The parent identity. |
ScopeIdentity(String, String, String)
Initializes a new instance of the ScopeIdentity class.
Declaration
public ScopeIdentity(string identity, string parentIdentity, string clonedIdentity)
Parameters
Type | Name | Description |
---|---|---|
System.String | identity | The identity. |
System.String | parentIdentity | The parent identity. |
System.String | clonedIdentity | The cloned identity. |
Properties
ClonedIdentity
Gets or sets the cloned identity.
Declaration
public string ClonedIdentity { get; set; }
Property Value
Type | Description |
---|---|
System.String | The cloned identity. |
Guid
Gets the unique identity of this scope identity object.
Declaration
public Guid Guid { get; }
Property Value
Type | Description |
---|---|
System.Guid |
Identity
Gets or sets the identity.
Declaration
public string Identity { get; set; }
Property Value
Type | Description |
---|---|
System.String | The identity. |
ParentIdentity
Gets or sets the parent identity.
Declaration
public string ParentIdentity { get; set; }
Property Value
Type | Description |
---|---|
System.String | The parent identity. |
TypeName
Gets or sets the name of the type.
Declaration
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the type. |
Methods
Equals(Object)
Determines whether the specified System.Object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Boolean |
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |