コード例 #1
0
 /// <summary>
 /// 注入配置界面
 /// </summary>
 /// <param name="mvcBuilder"></param>
 /// <returns></returns>
 public static IMvcBuilder AddConfigurationManagement(this IMvcBuilder mvcBuilder, OcelotEFOption ocelotEFOption, Action <ConfigurationOptions> option)
 {
     mvcBuilder.Services.Configure(option);
     mvcBuilder.AddConfigurationManagement(ocelotEFOption);
     return(mvcBuilder);
 }