VECTO Input Manager
Loading...
Searching...
No Matches
VectoInputManager.Commands.TypeRegistrar Class Referencesealed

Provides a bridge between Microsoft.Extensions.DependencyInjection and Spectre.Console.Cli frameworks. This class implements the ITypeRegistrar interface to enable dependency injection within the Spectre.Console command-line application infrastructure. It wraps the .NET Core service collection to manage service registrations and builds a service provider that can resolve dependencies for command classes. More...

Inheritance diagram for VectoInputManager.Commands.TypeRegistrar:

Public Member Functions

 TypeRegistrar (IServiceCollection builder)
ITypeResolver Build ()
void Register (Type service, Type implementation)
void RegisterInstance (Type service, object implementation)
void RegisterLazy (Type service, Func< object > func)

Detailed Description

Provides a bridge between Microsoft.Extensions.DependencyInjection and Spectre.Console.Cli frameworks. This class implements the ITypeRegistrar interface to enable dependency injection within the Spectre.Console command-line application infrastructure. It wraps the .NET Core service collection to manage service registrations and builds a service provider that can resolve dependencies for command classes.


The documentation for this class was generated from the following file:
  • VectoInputManager/Internals/TypeRegistrar.cs