Exemple #1
0
 public static IMachineBuilder AddThotSmtModel(this IMachineBuilder builder,
                                               IConfiguration config)
 {
     builder.Services.Configure <ThotSmtModelOptions>(config);
     return(builder.AddThotSmtModel());
 }
Exemple #2
0
 public static IMachineBuilder AddThotSmtModel(this IMachineBuilder builder,
                                               Action <ThotSmtModelOptions> configureOptions)
 {
     builder.Services.Configure(configureOptions);
     return(builder.AddThotSmtModel());
 }