Show / Hide Table of Contents

Class BifrostFactoryServiceCollectionExtensions

Extension method on IServiceCollection to add a Bifrost client that uses TCP connections.

Inheritance
object
BifrostFactoryServiceCollectionExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.ClientManager.Bifrost
Assembly: ClientManager.Bifrost.Abstractions.dll
Syntax
public static class BifrostFactoryServiceCollectionExtensions

Methods

View Source

AddBifrostFactory<TClient, TMessage>(IServiceCollection, Action<BifrostBuilder>)

Adds the services required for the BifrostFactory<TClient, TMessage> class.

Declaration
public static IServiceCollection AddBifrostFactory<TClient, TMessage>(this IServiceCollection services, Action<BifrostBuilder> bifrostConfigurator) where TMessage : class
Parameters
Type Name Description
IServiceCollection services

The service collections to add the services to.

Action<BifrostBuilder> bifrostConfigurator

Used to configure a serializer and any other options.

Returns
Type Description
IServiceCollection

The configured service collection.

Type Parameters
Name Description
TClient

The type of client to construct.

TMessage

The type of the message the client uses to communicate with Microsoft.XboxStudios.Bifrost.Serializer.ISerializer<TMessage>.

  • View Source
In this article
Back to top Generated by DocFX