Udostępnij za pośrednictwem


OperationExecutor.OperationBase.Execute Metoda

Definicja

Przeciążenia

Execute(Action)

Wykonuje akcję przekazującą wyjątki do elementu IOperationResultHandler.

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

Wykonuje akcję przekazującą wyniki lub wyjątki do elementu IOperationResultHandler.

Execute<T>(Func<T>)

Wykonuje akcję przekazującą wynik lub wyjątki do elementu IOperationResultHandler.

Execute(Action)

Wykonuje akcję przekazującą wyjątki do elementu 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)

Parametry

action
Action

Akcja do wykonania.

Dotyczy

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

Wykonuje akcję przekazującą wyniki lub wyjątki do elementu 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)))

Parametry typu

T

Typ wyników.

Parametry

action
Func<IEnumerable<T>>

Akcja do wykonania.

Dotyczy

Execute<T>(Func<T>)

Wykonuje akcję przekazującą wynik lub wyjątki do elementu 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))

Parametry typu

T

Typ wyniku.

Parametry

action
Func<T>

Akcja do wykonania.

Dotyczy