Class CompositionRootExtensions
Static class that adds convenient methods to add the concrete implementations contained in this library.
Inheritance
System.Object
CompositionRootExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Protocol.V772.Extensions
Assembly: Fibula.Protocol.V772.dll
Syntax
public static class CompositionRootExtensions
Methods
| Improve this Doc View SourceAddProtocol772GameServerComponents(IServiceCollection, IConfiguration)
Adds all the game server components related to protocol 7.72 contained in this library to the services collection. It also configures any Microsoft.Extensions.Options.IOptions<TOptions> required by any such components.
Declaration
public static void AddProtocol772GameServerComponents(this IServiceCollection services, IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The services collection. |
Microsoft.Extensions.Configuration.IConfiguration | configuration | The configuration loaded. |
AddProtocol772GatewayServerComponents(IServiceCollection, IConfiguration)
Adds all the gateway server components related to protocol 7.72 contained in this library to the services collection. It also configures any Microsoft.Extensions.Options.IOptions<TOptions> required by any such components.
Declaration
public static void AddProtocol772GatewayServerComponents(this IServiceCollection services, IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The services collection. |
Microsoft.Extensions.Configuration.IConfiguration | configuration | The configuration loaded. |