Skip to content

DevUIState class

Namespace: Vitreous.DevUI
Assembly: Vitreous.DevUI.dll

Whether the developer UI is active in this application. Registered by AddVitreousDevUI() and switched on by UseVitreousDevUI() or MapVitreousDevUI() when Enabled allows it.

public sealed class DevUIState

object ← DevUIState

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

The tracing behaviors check IsActive on every dispatch and pass straight through while it is false, so registering the DevUI services costs nothing when the UI is not mounted (for example in Production).

true once the developer UI has been mounted and enabled.

public bool IsActive { get; }

bool