Class: Base2art.Threading.Tasks.Thenner

A set of extension methods that affect System.Threading.Tasks.Task and System.Threading.Tasks.Task`1.

Inherits

└── System.Object

Methods

Then(System.Threading.Tasks.Task)

A method to provide continuation.

Parameter Type Info
input System.Threading.Tasks.Task The initial task.

Returns: Base2art.Threading.Tasks.TaskThenner
=> The wrapper of the mapper.


Then<TIn>(System.Threading.Tasks.Task<TIn>)

A method to provide continuation.

Parameter Type Info
input System.Threading.Tasks.Task<TIn> The initial task.

Returns: Base2art.Threading.Tasks.ObjectThenner<TIn>
=> The wrapper of the mapper.


Then<TIn>(System.Threading.Tasks.Task<System.Collections.Generic.List<TIn>>)

A method to provide continuation.

Parameter Type Info
input System.Threading.Tasks.Task<System.Collections.Generic.List<TIn>> The initial task.

Returns: Base2art.Threading.Tasks.CollectionThenner<System.Collections.Generic.List<TIn>, TIn>
=> The wrapper of the mapper.


Then<TIn>(System.Threading.Tasks.Task<TIn[]>)

A method to provide continuation.

Parameter Type Info
input System.Threading.Tasks.Task<TIn[]> The initial task.

Returns: Base2art.Threading.Tasks.CollectionThenner<TIn[], TIn>
=> The wrapper of the mapper.


Then<TIn>(System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TIn>>)

A method to provide continuation.

Parameter Type Info
input System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<TIn>> The initial task.

Returns: Base2art.Threading.Tasks.CollectionThenner<System.Collections.Generic.IEnumerable<TIn>, TIn>
=> The wrapper of the mapper.


WithEvents(System.Threading.Tasks.Task)

A method to provide task continuation with exception handling and completion events.

Parameter Type Info
input System.Threading.Tasks.Task The initial task.

Returns: Base2art.Threading.Tasks.ExceptionalTaskThenner
=> The task wrapper.


WithEvents<TIn>(System.Threading.Tasks.Task<TIn>)

A method to provide task continuation with exception handling and completion events.

Parameter Type Info
input System.Threading.Tasks.Task<TIn> The initial task.

Returns: Base2art.Threading.Tasks.ExceptionalObjectThenner<TIn>
=> The task wrapper.


WithEvents(System.Func<System.Threading.Tasks.Task>)

A method to provide task continuation with exception handling and completion events.

Parameter Type Info
input System.Func<System.Threading.Tasks.Task> The initial task.

Returns: Base2art.Threading.Tasks.ExceptionalFuncTaskThenner
=> The task wrapper.


WithEvents<TIn>(System.Func<System.Threading.Tasks.Task<TIn>>)

A method to provide task continuation with exception handling and completion events.

Parameter Type Info
input System.Func<System.Threading.Tasks.Task<TIn>> The initial task.

Returns: Base2art.Threading.Tasks.ExceptionalFuncObjectThenner<TIn>
=> The task wrapper.

Inherited Methods

  • ToString

  • Equals(System.Object)

  • Equals(System.Object, System.Object)

  • ReferenceEquals(System.Object, System.Object)

  • GetHashCode

  • GetType