Show / Hide Table of Contents

Interface IPostOpAction<TModel, TUser>

An action that is run after the operation occurs

Namespace: Seltzr.Actions
Assembly: Seltzr.dll
Syntax
C#
public interface IPostOpAction<TModel, in TUser>
    where TModel : class where TUser : class
Type Parameters
TModel

The type of model that has been operated on

TUser

The type of authenticated user

Methods

| Improve this Doc View Source

RunAsync(IApiContext<TModel, TUser>, IEnumerable<TModel>)

Runs this post-operation action

C#
Task RunAsync(IApiContext<TModel, TUser> context, IEnumerable<TModel> dataset)
Parameters
contextIApiContext<TModel, TUser>

The current API context

datasetIEnumerable<TModel>

The data that resulted from the operation

Returns

Task

When the action is complete

  • Improve this Doc
  • View Source
Back to top Generated by DocFX