Struct BuildName
Struct representing a type-safe Build Identifier
Implements
Inherited Members
Namespace: Unity.Services.Multiplay.Authoring.Core.Assets
Assembly: Unity.Services.Multiplayer.Multiplay.Authoring.Core.dll
Syntax
public readonly struct BuildName : IResourceName
Properties
Name
The name of the Build
Declaration
public string Name { get; init; }
Property Value
Type | Description |
---|---|
string |
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
Operators
operator ==(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 |
---|---|
bool | Returns true if the two |
operator !=(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 |
---|---|
bool | Returns true if the two |