Пример #1
0
        public static AtomicBooleanValue FromValue(bool value)
        {
            AtomicBooleanValue temp = new AtomicBooleanValue ();
            temp.Value = value;

            return temp;
        }
Пример #2
0
        public static AtomicBooleanValue FromValue(bool value)
        {
            AtomicBooleanValue temp = new AtomicBooleanValue();

            temp.Value = value;

            return(temp);
        }
Пример #3
0
 public bool Equals(AtomicBooleanValue rhs)
 {
     return this.flag == rhs.flag;
 }
Пример #4
0
 public WhenAnyContinuation(Task <T> owner, IList <T> tasks)
 {
     this.owner = owner;
     this.tasks = tasks;
     executed   = new AtomicBooleanValue();
 }
Пример #5
0
 public bool Equals(AtomicBooleanValue obj)
 {
     return _flag == obj._flag;
 }
Пример #6
0
 public bool Equals(AtomicBooleanValue rhs)
 {
     return(this.flag == rhs.flag);
 }