Interface IBaggageFactory<TClient>
A factory interface used to create a custom object to attach as baggage with clients.
Namespace: Microsoft.XboxStudios.ClientManager
Assembly: ClientManager.Abstractions.dll
Syntax
public interface IBaggageFactory<TClient>
Type Parameters
Name | Description |
---|---|
TClient | The type of the channel. |
Properties
View SourceBaggageType
Gets the baggage type.
Declaration
Type BaggageType { get; }
Property Value
Type | Description |
---|---|
Type |
Methods
View SourceCreate(TClient)
Creates the baggage from a client.
Declaration
object Create(TClient client)
Parameters
Type | Name | Description |
---|---|---|
TClient | client | A channel that is already connected. |
Returns
Type | Description |
---|---|
object | The baggage. |