/// <summary> /// Writes the value expressed as a <c>shadowMode</c>, which is the shadow mode. /// </summary> /// <param name="value">The shadow mode.</param> public void WriteShadowMode(CesiumShadowMode value) { const string PropertyName = ShadowModePropertyName; if (ForceInterval) { OpenIntervalIfNecessary(); } if (IsInterval) { Output.WritePropertyName(PropertyName); } Output.WriteValue(CesiumFormattingHelper.ShadowModeToString(value)); }
public void TestShadowModeToString(CesiumShadowMode value) { string s = CesiumFormattingHelper.ShadowModeToString(value); Assert.IsNotNull(s); }