/// <summary> /// Restarts all existing views, once the UWKProcess has restarted /// </summary> public static void RestartAllViews() { UWKView[] views = UWKView.FindObjectsOfType(typeof(UWKView)) as UWKView[]; foreach (UWKView v in views) { v.restart(); } }
/// <summary> /// Invalidates all views, generally in the response to an issue with a UWKProcess restart /// </summary> public static void InvalidateAllViews() { UWKView[] views = UWKView.FindObjectsOfType(typeof(UWKView)) as UWKView[]; foreach (UWKView v in views) { v.invalidate(); } }