コード例 #1
0
 private static void ConfigurarInjecoesServices()
 {
     ConstrutorContainer.RegisterType <MensagemService>().As <IMensagemService>();
     ConstrutorContainer.RegisterType <WatsonService>().As <IWatsonService>();
 }
コード例 #2
0
 private static void ConfigurarInjecoesServiceAgents()
 {
     ConstrutorContainer.RegisterType <WatsonAgent>().As <IWatsonAgent>();
 }
コード例 #3
0
 public static void Build()
 {
     Container = ConstrutorContainer.Build();
 }