Struct IgniteGuid
Ignite guid with additional local ID.
Implements
Inherited Members
Namespace: Apache.Ignite.Core.Common
Assembly: Apache.Ignite.Core.dll
Syntax
[Serializable]
public struct IgniteGuid : IEquatable<IgniteGuid>
Constructors
IgniteGuid(Guid, long)
Initializes a new instance of the IgniteGuid struct.
Declaration
public IgniteGuid(Guid globalId, long localId)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | globalId | The global id. |
| long | localId | The local id. |
Properties
GlobalId
Gets the global id.
Declaration
public Guid GlobalId { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
LocalId
Gets the local id.
Declaration
public long LocalId { get; }
Property Value
| Type | Description |
|---|---|
| long |
Methods
Equals(IgniteGuid)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(IgniteGuid other)
Parameters
| Type | Name | Description |
|---|---|---|
| IgniteGuid | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(object)
Determines whether the specified object, is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with this instance. |
Returns
| Type | Description |
|---|---|
| bool |
|
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents this instance. |
Overrides
Operators
operator ==(IgniteGuid, IgniteGuid)
Implements the operator ==.
Declaration
public static bool operator ==(IgniteGuid a, IgniteGuid b)
Parameters
| Type | Name | Description |
|---|---|---|
| IgniteGuid | a | First item. |
| IgniteGuid | b | Second item. |
Returns
| Type | Description |
|---|---|
| bool | The result of the operator. |
operator !=(IgniteGuid, IgniteGuid)
Implements the operator !=.
Declaration
public static bool operator !=(IgniteGuid a, IgniteGuid b)
Parameters
| Type | Name | Description |
|---|---|---|
| IgniteGuid | a | First item. |
| IgniteGuid | b | Second item. |
Returns
| Type | Description |
|---|---|
| bool | The result of the operator. |