/// <summary> /// Writes the value expressed as a <c>portionToDisplay</c>, which is the part of a sensor to display. /// </summary> /// <param name="value">The portion of the sensor to display.</param> public void WritePortionToDisplay(CesiumSensorVolumePortionToDisplay value) { const string PropertyName = PortionToDisplayPropertyName; if (ForceInterval) { OpenIntervalIfNecessary(); } if (IsInterval) { Output.WritePropertyName(PropertyName); } Output.WriteValue(CesiumFormattingHelper.SensorVolumePortionToDisplayToString(value)); }
public void TestSensorVolumePortionToDisplayToString(CesiumSensorVolumePortionToDisplay value) { string s = CesiumFormattingHelper.SensorVolumePortionToDisplayToString(value); Assert.IsNotNull(s); }