Struct StatusFlowDescriptor
This struct contains the identifiers for a status flow.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public readonly struct StatusFlowDescriptor
Constructors
StatusFlowDescriptor(OrganizationId, string)
Creates an instance of the StatusFlowDescriptor struct.
Declaration
public StatusFlowDescriptor(OrganizationId organizationId, string statusFlowId)
Parameters
Type | Name | Description |
---|---|---|
OrganizationId | organizationId | The status' organization genesis ID. |
string | statusFlowId | The unique id of the status. |
Fields
OrganizationId
The status' organization genesis ID.
Declaration
public readonly OrganizationId OrganizationId
Field Value
Type | Description |
---|---|
OrganizationId |
StatusFlowId
A unique id for the status. Uniqueness is scoped to the organization.
Declaration
public readonly string StatusFlowId
Field Value
Type | Description |
---|---|
string |
Methods
Equals(object)
Validate obj
is a StatusFlowDescriptor instance and have the same values as this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | Compare the values with this instance. |
Returns
Type | Description |
---|---|
bool | true if both instance have the same values; false otherwise. |
Overrides
Equals(StatusFlowDescriptor)
Returns whether two StatusFlowDescriptor objects are equals.
Declaration
public bool Equals(StatusFlowDescriptor other)
Parameters
Type | Name | Description |
---|---|---|
StatusFlowDescriptor | other | Compare the values with this instance. |
Returns
Type | Description |
---|---|
bool | true if both instance have the same values; false otherwise. |
GetHashCode()
Compute a hash code for the object.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
Remarks
- You should not assume that equal hash codes imply object equality.
- You should never persist or use a hash code outside the application domain in which it was created, because the same object may hash differently across application domains, processes, and platforms.
Operators
operator ==(StatusFlowDescriptor, StatusFlowDescriptor)
Get if two StatusFlowDescriptor represent the same.
Declaration
public static bool operator ==(StatusFlowDescriptor left, StatusFlowDescriptor right)
Parameters
Type | Name | Description |
---|---|---|
StatusFlowDescriptor | left | Compare with this first instance. |
StatusFlowDescriptor | right | Compare with this other instance. |
Returns
Type | Description |
---|---|
bool |
operator !=(StatusFlowDescriptor, StatusFlowDescriptor)
Get if two StatusFlowDescriptor does not represent the same.
Declaration
public static bool operator !=(StatusFlowDescriptor left, StatusFlowDescriptor right)
Parameters
Type | Name | Description |
---|---|---|
StatusFlowDescriptor | left | Compare with this first instance. |
StatusFlowDescriptor | right | Compare with this other instance. |
Returns
Type | Description |
---|---|
bool | true if both instances are not the same; false if both instances are the same. |