Skip to content

IncludePatternValidator

class in JsonApiToolkit.Validation

Validates include patterns in AllowedIncludesAttribute at startup.

public class IncludePatternValidator

Constructors

IncludePatternValidator(logger: ILogger)

Properties

Order : int

Gets the order in which the provider should be executed.

Methods

OnProvidersExecuting(context: ApplicationModelProviderContext)

: void

Validates include patterns when providers are executing.

Parameters - context

OnProvidersExecuted(context: ApplicationModelProviderContext)

: void

Called after providers have executed.

Parameters - context