Struct OperationId
[Serializable]
public struct OperationId : IEquatable<OperationId>
- Implements
Constructors
OperationId(string)
public OperationId(string id)
Parameters
id
string
Fields
Id
public readonly string Id
Field Value
Invalid
public static readonly OperationId Invalid
Field Value
Noop
public static readonly OperationId Noop
Field Value
Methods
Equals(OperationId)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(OperationId other)
Parameters
other
OperationIdAn object to compare with this object.
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
IsNoop()
public bool IsNoop()
Returns
IsValid()
public bool IsValid()
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(OperationId, OperationId)
public static bool operator ==(OperationId left, OperationId right)
Parameters
left
OperationIdright
OperationId
Returns
implicit operator string(OperationId)
public static implicit operator string(OperationId opId)
Parameters
opId
OperationId
Returns
implicit operator OperationId(string)
public static implicit operator OperationId(string strId)
Parameters
strId
string
Returns
operator !=(OperationId, OperationId)
public static bool operator !=(OperationId left, OperationId right)
Parameters
left
OperationIdright
OperationId