Example #1
0
 /// <summary>
 /// 判断当前规则是否与指定的范围有重叠。
 /// </summary>
 /// <param name="scope"></param>
 /// <returns></returns>
 public bool HasScope(EntityStatusScopes scope)
 {
     return (this.Scope & scope) != 0;
 }
Example #2
0
 /// <summary>
 /// 判断当前规则是否与指定的范围有重叠。
 /// </summary>
 /// <param name="scope"></param>
 /// <returns></returns>
 public bool HasScope(EntityStatusScopes scope)
 {
     return((this.Scope & scope) != 0);
 }