We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d7d495 commit 3598561Copy full SHA for 3598561
src/CatLib.Core/CatLib/App.cs
@@ -87,9 +87,10 @@ public static void Terminate()
87
/// 注册服务提供者
88
/// </summary>
89
/// <param name="provider">服务提供者</param>
90
- public static void Register(IServiceProvider provider)
+ /// <param name="force">为true则强制注册</param>
91
+ public static void Register(IServiceProvider provider, bool force = false)
92
{
- Handler.Register(provider);
93
+ Handler.Register(provider, force);
94
}
95
96
/// <summary>
0 commit comments