Class BaggageFactoryBase<TBaggage, TClient>
A generic implementation of IBaggageFactory<TClient>.
Implements
IBaggageFactory<TClient>
Inherited Members
Namespace: Microsoft.XboxStudios.ClientManager
Assembly: ClientManager.Abstractions.dll
Syntax
public abstract class BaggageFactoryBase<TBaggage, TClient> : IBaggageFactory<TClient>
Type Parameters
Name | Description |
---|---|
TBaggage | The type of the baggage. |
TClient | The type of the client. |
Properties
View SourceBaggageType
Gets the baggage type.
Declaration
public Type BaggageType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
View SourceCreate(TClient)
Creates the baggage from a client.
Declaration
public object Create(TClient client)
Parameters
Type | Name | Description |
---|---|---|
TClient | client | A channel that is already connected. |
Returns
Type | Description |
---|---|
object | The baggage. |
CreateBaggage(TClient)
Creates the baggage from a client.
Declaration
public abstract TBaggage CreateBaggage(TClient client)
Parameters
Type | Name | Description |
---|---|---|
TClient | client | A channel that is already connected. |
Returns
Type | Description |
---|---|
TBaggage | The baggage. |