暂时更改一部分Skill
This commit is contained in:
1 parent
84b28f9672
commit
6d4629e4ac
53 files changed
+5293
-10
No files matched your search
@@ -7,3 +7,65 @@ public interface IPriority
|
||||
/// </summary>
|
||||
int Priority { get; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 优先级
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// </remarks>
|
||||
public static class IntPriority
|
||||
{
|
||||
/// <summary>
|
||||
/// 最高优先级 (5000)
|
||||
/// </summary>
|
||||
public const int Highest = 5000;
|
||||
|
||||
/// <summary>
|
||||
/// 非常高优先级 (4000)
|
||||
/// </summary>
|
||||
public const int VeryHigh = 4000;
|
||||
|
||||
/// <summary>
|
||||
/// 较高优先级 (3000)
|
||||
/// </summary>
|
||||
public const int Higher = 3000;
|
||||
|
||||
/// <summary>
|
||||
/// 高优先级 (2000)
|
||||
/// </summary>
|
||||
public const int High = 2000;
|
||||
|
||||
/// <summary>
|
||||
/// 高于正常优先级 (1000)
|
||||
/// </summary>
|
||||
public const int AboveNormal = 1000;
|
||||
|
||||
/// <summary>
|
||||
/// 正常优先级 (0)
|
||||
/// </summary>
|
||||
public const int Normal = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 低于正常优先级 (-1000)
|
||||
/// </summary>
|
||||
public const int BelowNormal = -1000;
|
||||
|
||||
/// <summary>
|
||||
/// 低优先级 (-2000)
|
||||
/// </summary>
|
||||
public const int Low = -2000;
|
||||
|
||||
/// <summary>
|
||||
/// 较低优先级 (-3000)
|
||||
/// </summary>
|
||||
public const int Lower = -3000;
|
||||
|
||||
/// <summary>
|
||||
/// 非常低优先级 (-4000)
|
||||
/// </summary>
|
||||
public const int VeryLow = -4000;
|
||||
|
||||
/// <summary>
|
||||
/// 最低优先级 (-5000)
|
||||
/// </summary>
|
||||
public const int Lowest = -5000;
|
||||
}
|
||||
@@ -88,8 +88,8 @@ public class AutofacContainerExtension : IContainerExtension<IContainer>, IConta
|
||||
item.Register(Builder);
|
||||
}
|
||||
|
||||
IEnumerable<IPreRegisterTypes> PreRegisterTypes = ReflectionHelper.GetInstancesByInterface<IPreRegisterTypes>(assemblies);
|
||||
foreach (IPreRegisterTypes item in PreRegisterTypes)
|
||||
IEnumerable<IPrismRegisterTypes> PreRegisterTypes = ReflectionHelper.GetInstancesByInterface<IPrismRegisterTypes>(assemblies);
|
||||
foreach (IPrismRegisterTypes item in PreRegisterTypes)
|
||||
{
|
||||
item.RegisterTypes(this);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace MAX.Framework.Prism.Autofac;
|
||||
|
||||
public interface IPreRegisterTypes
|
||||
public interface IPrismRegisterTypes
|
||||
{
|
||||
void RegisterTypes(IContainerRegistry containerRegistry);
|
||||
}
|
||||
Reference in new issue
Block a user