コード例 #1
0
 public static IMvcBuilder AddCobMvc(this IMvcBuilder mvcBuilder, Action <CobMvcOptions> options, Action <ICobMvc> setup)
 {
     return(mvcBuilder.AddCobMvc(cob => {
         cob.ConfigureOptions(options);
         setup(cob);
     }));
 }
コード例 #2
0
 public static IMvcBuilder AddCobMvc(this IMvcBuilder mvcBuilder)
 {
     return(mvcBuilder.AddCobMvc(cob => { }));
 }