示例#1
0
 public static BuildHostContext ComposeUsing <T>(this BuildHostContext @this)
     where T : class, ICommand <IServiceContainer>
 => @this.ComposeUsing(Start.An.Activation <T>().Activate());
示例#2
0
 public static BuildHostContext ComposeUsing(this BuildHostContext @this, ICommand <IServiceContainer> configure)
 => @this.ComposeUsing(configure.Execute);
示例#3
0
 public static BuildHostContext WithDefaultComposition(this BuildHostContext @this)
 => @this.ComposeUsing <ConfigureDefaultActivation>();