[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Win.Tools.LazyAction

LazyAction Class

Represents a deferred action to perform a single action instead of a sequence of actions called within a specified delay.

Inheritance
LazyAction
Namespace: GrapeCity.ActiveReports.Win.Tools
Assembly: MESCIUS.ActiveReports.Win.dll
Syntax
public class LazyAction

Constructors

Name Description
LazyAction()

Initializes a new instance of LazyAction using the default delay of one second.

LazyAction(TimeSpan)

Initializes a new instance of LazyAction with the specified delay.

Methods

Name Description
Execute(Action)

Schedules the specified synchronous action to execute after the configured delay, cancelling any previously pending execution.

Execute(Func<Task>)

Schedules the specified asynchronous action to execute after the configured delay, cancelling any previously pending execution.