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