Beispiel #1
0
 /// <summary>
 ///     Checks if the data value is equal to the given value.
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public bool Equal(BoolData value)
 {
     return(Value == value.Value);
 }
Beispiel #2
0
 /// <summary>
 ///     Checks if the data value is not equal to the given value.
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public bool NotEqual(BoolData value)
 {
     return(Value != value.Value);
 }
Beispiel #3
0
 /// <summary>
 ///     Attempts to set the value of this data to the supplied value.
 /// </summary>
 /// <param name="value"></param>
 public void SetValue(BoolData value)
 {
     Value = value.Value;
 }