Struct PlatformId
Represents a Stone Platform ID.
Implements
System.IEquatable <PlatformId >
System.IEquatable <System.String >
System.IComparable <System.String >
System.IComparable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Snowflake.Model.Game
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public struct PlatformId : IEquatable<PlatformId>, IEquatable<string>, IComparable<string>, IComparable
Methods
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
CompareTo(String)
Declaration
public int CompareTo(string other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Equals(PlatformId)
Declaration
public bool Equals(PlatformId other)
Parameters
Type | Name | Description |
---|---|---|
Platform |
other |
Returns
Type | Description |
---|---|
System. |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.Equals(System.Object)
Equals(String)
Declaration
public bool Equals(string other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other |
Returns
Type | Description |
---|---|
System. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
Overrides
System.ValueType.ToString()
Operators
Equality(PlatformId, PlatformId)
Declaration
public static bool operator ==(PlatformId x, PlatformId y)
Parameters
Type | Name | Description |
---|---|---|
Platform |
x | |
Platform |
y |
Returns
Type | Description |
---|---|
System. |
Implicit(PlatformId to String)
Implicitly converts from a Platform
Declaration
public static implicit operator string (PlatformId id)
Parameters
Type | Name | Description |
---|---|---|
Platform |
id | The Platform |
Returns
Type | Description |
---|---|
System. |
The Platform |
Implicit(String to PlatformId)
Implicitly converts from a System.
Declaration
public static implicit operator PlatformId(string other)
Parameters
Type | Name | Description |
---|---|---|
System. |
other | The string to convert. |
Returns
Type | Description |
---|---|
Platform |
The Platform |
Inequality(PlatformId, PlatformId)
Declaration
public static bool operator !=(PlatformId x, PlatformId y)
Parameters
Type | Name | Description |
---|---|---|
Platform |
x | |
Platform |
y |
Returns
Type | Description |
---|---|
System. |
Implements
System.IEquatable<T>
System.IEquatable<T>
System.IComparable<T>
System.IComparable