Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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;
 }