/// <summary> /// Updates the specified context. /// </summary> /// <param name="uv">The Ultraviolet context to update.</param> /// <param name="time">Time elapsed since the last update.</param> /// <returns><see langword="true"/> if the host should continue processing; otherwise, <see langword="false"/>.</returns> private Boolean UpdateContext(UltravioletContext uv, UltravioletTime time) { using (UltravioletProfiler.Section(UltravioletProfilerSections.Update)) { uv.Update(time); } return(!uv.Disposed); }
/// <summary> /// Updates the specified context. /// </summary> /// <param name="uv">The Ultraviolet context to update.</param> /// <param name="time">Time elapsed since the last update.</param> /// <returns><see langword="true"/> if the host should continue processing; otherwise, <see langword="false"/>.</returns> private Boolean UpdateContext(UltravioletContext uv, UltravioletTime time) { using (UltravioletProfiler.Section(UltravioletProfilerSections.Update)) { uv.Update(time); } return !uv.Disposed; }