Пример #1
0
 public void AddBlocker(Blocker blocker)
 {
     _blockers.Add(blocker);
     _isBlocked.Value = true;
 }
Пример #2
0
 public void RemoveBlocker(Blocker blocker)
 {
     _blockers.Remove(blocker);
 }
Пример #3
0
 public bool HasBlocker(Blocker blocker)
 {
     return(_blockers.Contains(blocker));
 }
Пример #4
0
 public void AddBlocker(Blocker blocker)
 {
     _blockers.Add(blocker);
       _isBlocked.Value = true;
 }
Пример #5
0
 public void RemoveBlocker(Blocker blocker)
 {
     _blockers.Remove(blocker);
 }
Пример #6
0
 public bool HasBlocker(Blocker blocker)
 {
     return _blockers.Contains(blocker);
 }