Example #1
0
 /// <summary>
 /// 添加核心模块
 /// </summary>
 /// <param name="builder">Bing构建器</param>
 public static IBingBuilder AddCoreModule(this IBingBuilder builder) => builder.AddModule <BingCoreModule>();
Example #2
0
 /// <summary>
 /// 添加核心模块
 /// </summary>
 /// <param name="builder">Bing构建器</param>
 internal static IBingBuilder AddCoreModule(this IBingBuilder builder) =>
 builder.AddModule <BingCoreModule>()
 .AddModule <DependencyModule>();