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