C# Class NJsonApi.Serialization.JsonApiActionFilter

Inheritance: IActionFilter
Afficher le fichier Open project: jacek-gorgon/NJsonApi Class Usage Examples

Méthodes publiques

Méthode Description
ExecuteActionFilterAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken, Func continuation ) : Task
InternalActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : void
InternalActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken ) : void
JsonApiActionFilter ( JsonApiTransformer jsonApiTransformer, Configuration configuration ) : System

Private Methods

Méthode Description
GetRoutePrefix ( System.Web.Http.Controllers.HttpActionContext context ) : string
GetRoutePrefix ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : string
HandlePostRequests ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CompoundDocument transformed ) : void

Method Details

ExecuteActionFilterAsync() public méthode

public ExecuteActionFilterAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken, Func continuation ) : Task
actionContext System.Web.Http.Controllers.HttpActionContext
cancellationToken System.Threading.CancellationToken
continuation Func
Résultat Task

InternalActionExecuted() public méthode

public InternalActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
cancellationToken System.Threading.CancellationToken
Résultat void

InternalActionExecuting() public méthode

public InternalActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
cancellationToken System.Threading.CancellationToken
Résultat void

JsonApiActionFilter() public méthode

public JsonApiActionFilter ( JsonApiTransformer jsonApiTransformer, Configuration configuration ) : System
jsonApiTransformer JsonApiTransformer
configuration Configuration
Résultat System