Share via


OperationExecutor.OperationBase.Execute Method

Definition

Overloads

Execute(Action)

Executes an action passing exceptions to the IOperationResultHandler.

Execute<T>(Func<IEnumerable<T>>)

Executes an action passing results or exceptions to the IOperationResultHandler.

Execute<T>(Func<T>)

Executes an action passing the result or exceptions to the IOperationResultHandler.

Execute(Action)

Executes an action passing exceptions to the IOperationResultHandler.

public virtual void Execute (Action action);
protected virtual void Execute (Action action);
abstract member Execute : Action -> unit
override this.Execute : Action -> unit
Public Overridable Sub Execute (action As Action)
Protected Overridable Sub Execute (action As Action)

Parameters

action
Action

The action to execute.

Applies to

Execute<T>(Func<IEnumerable<T>>)

Executes an action passing results or exceptions to the IOperationResultHandler.

public virtual void Execute<T> (Func<System.Collections.Generic.IEnumerable<T>> action);
protected virtual void Execute<T> (Func<System.Collections.Generic.IEnumerable<T>> action);
abstract member Execute : Func<seq<'T>> -> unit
override this.Execute : Func<seq<'T>> -> unit
Public Overridable Sub Execute(Of T) (action As Func(Of IEnumerable(Of T)))
Protected Overridable Sub Execute(Of T) (action As Func(Of IEnumerable(Of T)))

Type Parameters

T

The type of results.

Parameters

action
Func<IEnumerable<T>>

The action to execute.

Applies to

Execute<T>(Func<T>)

Executes an action passing the result or exceptions to the IOperationResultHandler.

public virtual void Execute<T> (Func<T> action);
protected virtual void Execute<T> (Func<T> action);
abstract member Execute : Func<'T> -> unit
override this.Execute : Func<'T> -> unit
Public Overridable Sub Execute(Of T) (action As Func(Of T))
Protected Overridable Sub Execute(Of T) (action As Func(Of T))

Type Parameters

T

The result type.

Parameters

action
Func<T>

The action to execute.

Applies to