Gorgon
Show / Hide Table of Contents

Class WaitCursorBusyState

An implementation of IBusyStateService that shows a wait cursor when an application main thread is busy.

Inheritance
object
WaitCursorBusyState
Implements
IBusyStateService
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public class WaitCursorBusyState : IBusyStateService
Remarks

This implementation is reference counted. That is, a call to SetBusy() increments an internal counter.

Properties

| Edit this page View Source

IsBusy

Property to return whether or not there's a busy state.

Declaration
public bool IsBusy { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Reset()

Function to forcefully reset the busy state back to an idle state.

Declaration
public void Reset()
| Edit this page View Source

SetBusy()

Function to set busy state.

Declaration
public void SetBusy()
| Edit this page View Source

SetIdle()

Function to hide the busy state.

Declaration
public void SetIdle()

Events

| Edit this page View Source

BusyStateChanged

Event triggered when the busy state changes.

Declaration
public event EventHandler BusyStateChanged
Event Type
Type Description
EventHandler

Implements

IBusyStateService

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author