|
|
|
|
|
|
return string.Format("{0} ({1})", value, overrideState); |
|
|
|
} |
|
|
|
|
|
|
|
public static bool operator ==(VolumeParameter<T> lhs, T rhs) |
|
|
|
{ |
|
|
|
return lhs.value.Equals(rhs); |
|
|
|
} |
|
|
|
|
|
|
|
public static bool operator !=(VolumeParameter<T> lhs, T rhs) |
|
|
|
{ |
|
|
|
return !(lhs == rhs); |
|
|
|
} |
|
|
|
|
|
|
|
//
|
|
|
|
// Implicit conversion; assuming the following:
|
|
|
|
//
|
|
|
|