Struct Suid
Session unique Id.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public readonly struct Suid
Fields
Empty
An Empty Suid. Can be used to compare whether a Suid is Empty / default.
Declaration
public static readonly Suid Empty
Field Value
Type | Description |
---|---|
Suid |
Methods
Equals(Object)
Checks if two suids are equal
Declaration
public override readonly bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.ValueType.Equals(System.Object)
GenerateSuid()
Generate a new session unique Id.
Declaration
public static Suid GenerateSuid()
Returns
Type | Description |
---|---|
Suid |
GetHashCode()
Gets hash code
Declaration
public override readonly int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
Operators
Equality(Suid, Suid)
Checks if two suids are equal
Declaration
public static bool operator ==(Suid left, Suid right)
Parameters
Type | Name | Description |
---|---|---|
Suid | left | |
Suid | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(Suid, Suid)
Checks if two suids are equal
Declaration
public static bool operator !=(Suid left, Suid right)
Parameters
Type | Name | Description |
---|---|---|
Suid | left | |
Suid | right |
Returns
Type | Description |
---|---|
System.Boolean |