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