v1.0.0
Latest
2022.3+

Struct BuildName

Struct representing a type-safe Build Identifier

Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.Services.Multiplay.Authoring.Core.Assets
Syntax
public readonly struct BuildName : IResourceName

Properties

Name

The name of the Build

Declaration
public string Name { readonly get; set; }
Property Value
TypeDescription
System.String
Implements

Methods

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
TypeNameDescription
System.Objectobj
Returns
TypeDescription
System.Boolean
Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
TypeDescription
System.Int32
Overrides
System.ValueType.GetHashCode()

ToString()

Declaration
public override readonly string ToString()
Returns
TypeDescription
System.String
Overrides
System.ValueType.ToString()

Operators

Equality(BuildName, BuildName)

Verifies whether both BuildNames represent the same identity

Declaration
public static bool operator ==(BuildName left, BuildName right)
Parameters
TypeNameDescription
BuildNameleft

Build Identifier

BuildNameright

Build Identifier

Returns
TypeDescription
System.Boolean

Returns true if the two BuildNames match, false otherwise.

Inequality(BuildName, BuildName)

Verifies whether both BuildNames represent the different identities

Declaration
public static bool operator !=(BuildName left, BuildName right)
Parameters
TypeNameDescription
BuildNameleft

Build Identifier

BuildNameright

Build Identifier

Returns
TypeDescription
System.Boolean

Returns true if the two BuildNames do not match, false otherwise.