public void SetValue(InputDeviceTransportType value) { this.value = value; hasValue = true; }
public InputDeviceTransportType GetValueOrDefault(InputDeviceTransportType defaultValue) { return(hasValue ? value : defaultValue); }
public OptionalInputDeviceTransportType(InputDeviceTransportType value) { this.value = value; hasValue = true; }
public void Clear() { value = 0; hasValue = false; }
public bool Equals(InputDeviceTransportType other) { return(hasValue && value == other); }