Esempio n. 1
0
 public static BuildHostContext ComposeUsingRoot <T>(this BuildHostContext @this)
     where T : ICompositionRoot, new()
 => @this.WithComposition().Configure(ConfigureContainer <T> .Default);
Esempio n. 2
0
 public static BuildHostContext ComposeUsing(this BuildHostContext @this, Action <IServiceContainer> configure)
 => @this.WithComposition().Configure(new ConfigureContainer(configure));
Esempio n. 3
0
 public static BuildHostContext ConfigureFromEnvironment(this BuildHostContext @this)
 => @this.WithComposition().Configure(Compose.ConfigureFromEnvironment.Default);