Exemple #1
0
 public void RegisterTypes(IContainerRegistrar services)
 {
     services.AddSingleton <ICommandHandler, OutputCommandHandler>();
     services.AddSingleton <ICommandHandler, OutputAssemblyInfoCommandHandler>();
     services.AddSingleton <ICommandHandler, OutputProjectCommandHandler>();
     services.AddSingleton <ICommandHandler, OutputWixCommandHandler>();
 }
 public void RegisterTypes(IContainerRegistrar services)
 {
     services.AddSingleton <IService, Service>();
 }
Exemple #3
0
 public void RegisterTypes(IContainerRegistrar services)
 {
     services.AddSingleton <ICommandHandler, NormalizeCommandHandler>();
 }
 public void RegisterTypes(IContainerRegistrar services)
 {
     services.AddSingleton <ICommandHandler, ConfigCommandHandler>();
     services.AddSingleton <ICommandHandler, ConfigInitCommandHandler>();
     services.AddSingleton <ICommandHandler, ConfigShowCommandHandler>();
 }
Exemple #5
0
 public void RegisterTypes(IContainerRegistrar services)
 {
     services.AddSingleton <GitVersionApp>();
 }