示例#1
0
 public bool AccessTo(AccessModifier am)
 {
     return(Intersects(am));
 }
示例#2
0
 public bool AccessFrom(AccessModifier am)
 {
     return(am.AccessTo(this));
 }
示例#3
0
 public void Remove(AccessModifier am)
 {
     Flags &= ~am.Flags;
 }
示例#4
0
 public void Add(AccessModifier am)
 {
     Flags |= am.Flags;
 }
示例#5
0
 private bool Intersects(AccessModifier am)
 {
     return((Flags & am.Flags) > 0);
 }
示例#6
0
 private bool IsSet(AccessModifier am)
 {
     return((Flags & am.Flags) > 0);
 }