Skip to content

Commit bf43a8c

Browse files
committed
resolved #127
1 parent b73b90f commit bf43a8c

File tree

4 files changed

+0
-37
lines changed

4 files changed

+0
-37
lines changed

src/CatLib.Core/CatLib/ApplicationEvents.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ public sealed class ApplicationEvents
4141
/// </summary>
4242
public static readonly string OnInit = "CatLib.ApplicationEvents.OnInit";
4343

44-
/// <summary>
45-
/// 当初始化进行时
46-
/// </summary>
47-
[System.Obsolete("Please use " + nameof(OnProviderInit))]
48-
public static readonly string OnIniting = "CatLib.ApplicationEvents.OnProviderInit";
49-
5044
/// <summary>
5145
/// 当服务提供者初始化进行前
5246
/// </summary>

src/CatLib.Core/CatLib/DebugLevels.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,13 @@
99
* Document: https://catlib.io/
1010
*/
1111

12-
using System;
13-
1412
namespace CatLib
1513
{
1614
/// <summary>
1715
/// 调试等级
1816
/// </summary>
1917
public enum DebugLevels
2018
{
21-
/// <summary>
22-
/// 生产环境
23-
/// </summary>
24-
[Obsolete("Please use " + nameof(Production))]
25-
Prod,
26-
2719
/// <summary>
2820
/// 生产环境
2921
/// </summary>
@@ -34,12 +26,6 @@ public enum DebugLevels
3426
/// </summary>
3527
Staging,
3628

37-
/// <summary>
38-
/// 开发者模式
39-
/// </summary>
40-
[Obsolete("Please use " + nameof(Development))]
41-
Dev,
42-
4329
/// <summary>
4430
/// 开发者模式
4531
/// </summary>

src/CatLib.Core/Support/Template/IManaged.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ public interface IManaged<TInterface>
3636
/// <param name="name">扩展名</param>
3737
void Extend(Func<TInterface> builder, string name = null);
3838

39-
/// <summary>
40-
/// 释放指定扩展的构建器
41-
/// </summary>
42-
/// <param name="name">扩展名</param>
43-
[Obsolete("Please use " + nameof(RemoveExtend) + "();")]
44-
void ReleaseExtend(string name = null);
45-
4639
/// <summary>
4740
/// 释放指定扩展的构建器
4841
/// </summary>

src/CatLib.Core/Support/Template/Managed.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,6 @@ public void Extend(Func<TInterface> builder, string name = null)
6262
extendBuilder.Add(name, builder);
6363
}
6464

65-
/// <summary>
66-
/// 释放指定扩展的构建器
67-
/// </summary>
68-
/// <param name="name">扩展名</param>
69-
[Obsolete("Please use " + nameof(RemoveExtend) + "();")]
70-
public void ReleaseExtend(string name = null)
71-
{
72-
RemoveExtend(name);
73-
}
74-
7565
/// <summary>
7666
/// 释放指定扩展的构建器
7767
/// </summary>

0 commit comments

Comments
 (0)