v1.0.0
Latest
2022.3+

Class MultiplayAuthoringServices

Provides access to the different services used for the Admin APIs and Deployment capabilities

Inheritance
System.Object
MultiplayAuthoringServices
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Unity.Services.Multiplay.Authoring.Editor
Syntax
public static class MultiplayAuthoringServices

Properties

Provider

The service provider

Declaration
public static IScopedServiceProvider Provider { get; }
Property Value
TypeDescription
IScopedServiceProvider

Methods

GetService<T>(IServiceProvider)

Get the service specified by the type T

Declaration
public static T GetService<T>(this IServiceProvider provider)
Parameters
TypeNameDescription
System.IServiceProviderprovider

Provider in which to find service

Returns
TypeDescription
T

The instance of the specified service if registered. Throws otherwise

Type Parameters
NameDescription
T

Type to get