Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
/// <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); }