A set of extension methods that affect System.Threading.Tasks.Task`1
└── Base2art.Threading.Tasks.TaskThenner
* └── System.Object
Maps the task return object to a new object.
Parameter | Type | Info |
---|---|---|
result | TIn | The value to return if the task returns null. |
Returns: System.Threading.Tasks.Task<TIn>
=> A non null value.
Maps the task return object to a new object.
Parameter | Type | Info |
---|---|---|
map | System.Func<TIn> | A function that returns a value if the task returns null. |
Returns: System.Threading.Tasks.Task<TIn>
=> A non null value.
Maps the task return object to a new object.
Parameter | Type | Info |
---|---|---|
map | System.Func<System.Threading.Tasks.Task<TIn>> | A function that returns a value if the task returns null. |
Returns: System.Threading.Tasks.Task<TIn>
=> A non null value.
After the initial task completes executes a function via the nextAction.
Parameter | Type | Info |
---|---|---|
nextAction | System.Action<TIn> | The next task producer. |
Returns: System.Threading.Tasks.Task
=> The task.
Maps the task return object to a new object via the map.
Parameter | Type | Info |
---|---|---|
map | System.Func<TIn, TResult> | The mapping function. |
Returns: System.Threading.Tasks.Task<TResult>
=> The return value.
Maps the task return object to a new object via the map.
Parameter | Type | Info |
---|---|---|
map | System.Func<TIn, System.Threading.Tasks.Task<TResult>> | The mapping function. |
Returns: System.Threading.Tasks.Task<TResult>
=> The return value.
Return<TResult>(TResult)
Return<TResult>(System.Func<TResult>)
Return<TResult>(System.Func<System.Threading.Tasks.Task<TResult>>)
Execute(System.Func<System.Threading.Tasks.Task>)
Execute(System.Action)
ToString
Equals(System.Object)
Equals(System.Object, System.Object)
ReferenceEquals(System.Object, System.Object)
GetHashCode
GetType