OperationExecutor.OperationBase.Execute 方法

定义

重载

Execute(Action)

执行将异常传递给 的操作 IOperationResultHandler

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

执行将结果或异常传递给 的操作 IOperationResultHandler

Execute<T>(Func<T>)

执行将结果或异常传递给 的操作 IOperationResultHandler

Execute(Action)

Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs

执行将异常传递给 的操作 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)

参数

action
Action

要执行的操作。

适用于

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

Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs

执行将结果或异常传递给 的操作 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)))

类型参数

T

结果的类型。

参数

action
Func<IEnumerable<T>>

要执行的操作。

适用于

Execute<T>(Func<T>)

Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs
Source:
OperationExecutor.cs

执行将结果或异常传递给 的操作 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))

类型参数

T

结果类型。

参数

action
Func<T>

要执行的操作。

适用于