Table of Contents

Struct OperationId

Namespace
Phoesion.Glow.SDK
Assembly
Phoesion.Glow.SDK.Abstractions.dll
[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

string

Invalid

public static readonly OperationId Invalid

Field Value

OperationId

Noop

public static readonly OperationId Noop

Field Value

OperationId

Methods

Equals(OperationId)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(OperationId other)

Parameters

other OperationId

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The 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

bool

IsValid()

public bool IsValid()

Returns

bool

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 OperationId
right OperationId

Returns

bool

implicit operator string(OperationId)

public static implicit operator string(OperationId opId)

Parameters

opId OperationId

Returns

string

implicit operator OperationId(string)

public static implicit operator OperationId(string strId)

Parameters

strId string

Returns

OperationId

operator !=(OperationId, OperationId)

public static bool operator !=(OperationId left, OperationId right)

Parameters

left OperationId
right OperationId

Returns

bool