Skip to main content

CrudEventsExecutor<T>

Assembly: ServiceStack.Server.dll
View Source
Declaration
public class CrudEventsExecutor<T> : object, ICrudEventsExecutor<T> where T : CrudEvent

Properties

ServiceExecutor

View Source
Declaration
public IServiceExecutor ServiceExecutor { get; set; }

TypeResolver

View Source
Declaration
public Func<string, Type> TypeResolver { get; set; }

ExecuteFilter

View Source
Declaration
public Func<object, IRequest, bool> ExecuteFilter { get; set; }

RequestFilters

View Source
Declaration
public List<Action<IRequest, IResponse, object>> RequestFilters { get; }

RequestFactory

(RequestDto, HttpMethod) => IRequest

View Source
Declaration
public Func<object, string, IRequest> RequestFactory { get; set; }

Deserializer

View Source
Declaration
public Func<string, Type, object> Deserializer { get; set; }

Methods

ExecuteAsync(T)

View Source
Declaration
public virtual async Task ExecuteAsync(T crudEvent)
Returns

Task

Parameters
TypeName
<T>crudEvent

Implements