/// <summary> /// 实例化一个权限管理器 /// </summary> /// <returns></returns> public static Limits AllLimits() { Limits lm = new Limits(); lm.SetAllLimits(); return lm; }
/// <summary> /// 实例化一个权限管理器 /// </summary> /// <returns></returns> public static Limits NoLimits() { Limits lm = new Limits(); lm.SetNoLimits(); return lm; }
/// <summary> /// 实例化一个权限管理器 /// </summary> /// <returns></returns> public static Limits New(string sz) { Limits lm = new Limits(); lm.SetLimitsByString(sz); return lm; }