[This is preliminary documentation and is subject to change.]

Runs asynchronous handlers. Should only be used from hosting code.

Inheritance Hierarchy

System.ObjectSystem.ObjectSystem::Object
  Simple.Web.CodeGeneration.AsyncRunnerSimple.Web.CodeGeneration.AsyncRunnerSimple::Web::CodeGeneration::AsyncRunner

Namespace: Simple.Web.CodeGenerationSimple.Web.CodeGenerationSimple::Web::CodeGeneration
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public class AsyncRunner

VB

Public Class AsyncRunner

C++

public ref class AsyncRunner

The AsyncRunnerAsyncRunnerAsyncRunner type exposes the following members.

Constructors

Name Description
AsyncRunner(Func<object, IContext, Task<Status>>, Action<object, IContext, Status>)New(Func(Of Object, IContext, Task(Of Status)), Action(Of Object, IContext, Status))AsyncRunner(Func<Object^, IContext^, Task<Status>^>^, Action<Object^, IContext^, Status>^) Initializes a new instance of the AsyncRunnerAsyncRunnerAsyncRunner class.
Top

Properties

Name Description
EndEndEnd Gets the end action.
StartStartStart Gets the start function.
Top

Methods

Name Description
Equals(object)Equals(Object)Equals(Object^) Determines whether the specified Object is equal to the current Object. (Inherited from ObjectObjectObject.)
Finalize()Finalize()Finalize() Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ObjectObjectObject.)
GetHashCode()GetHashCode()GetHashCode() Serves as a hash function for a particular type. (Inherited from ObjectObjectObject.)
GetType()GetType()GetType() Gets the Type of the current instance. (Inherited from ObjectObjectObject.)
MemberwiseClone()MemberwiseClone()MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from ObjectObjectObject.)
ToString()ToString()ToString() Returns a string that represents the current object. (Inherited from ObjectObjectObject.)
Top

See Also

Simple.Web.CodeGenerationSimple.Web.CodeGenerationSimple::Web::CodeGeneration Namespace