예제 #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);
 }