C# Class Flatwhite.WebApi.RegisteredTasks

Inheritance: IRegisteredObject, IBackgroundTaskManager
Mostrar archivo Open project: vanthoainguyen/Flatwhite

Public Methods

Method Description
RegisteredTasks ( ) : System

Creates an instance that is registered with the ASP.NET runtime.

Run ( Func operation ) : void

Executes an asynchronous background operation, registering it with ASP.NET.

Private Methods

Method Description
IRegisteredObject ( bool immediate ) : void
Register ( Task task ) : void

Registers a task with the ASP.NET runtime. The task is unregistered when it completes.

Method Details

RegisteredTasks() public method

Creates an instance that is registered with the ASP.NET runtime.
public RegisteredTasks ( ) : System
return System

Run() public method

Executes an asynchronous background operation, registering it with ASP.NET.
public Run ( Func operation ) : void
operation Func The background operation.
return void