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
Type | Description |
---|---|
System.String |
Implements
Methods
Equals(Object)
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)
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override readonly string ToString()
Returns
Type | Description |
---|---|
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
Type | Name | Description |
---|---|---|
BuildName | left | Build Identifier |
BuildName | right | Build Identifier |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the two |
Inequality(BuildName, BuildName)
Verifies whether both BuildNames represent the different identities
Declaration
public static bool operator !=(BuildName left, BuildName right)
Parameters
Type | Name | Description |
---|---|---|
BuildName | left | Build Identifier |
BuildName | right | Build Identifier |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the two |