Interface IClientFactory<TClient, TClientOptions>
A factory to create a client for connections.
Namespace: Microsoft.XboxStudios.ClientManager
Assembly: ClientManager.dll
Syntax
public interface IClientFactory<TClient, TClientOptions>
Type Parameters
Name | Description |
---|---|
TClient | The type of client to create. |
TClientOptions | The client options used to configure the client. |
Methods
View SourceCreate(TClientOptions, IDevice)
Creates a client with specified options.
Declaration
TClient Create(TClientOptions options, IDevice device)
Parameters
Type | Name | Description |
---|---|---|
TClientOptions | options | The options to use. |
IDevice | device | The device to create a client for. |
Returns
Type | Description |
---|---|
TClient | The client. |