Add a middleware to the stack.
A relative or absolute middleware to add to the stack.
The reference to this instance.
Adds middleware to the stack according to its step and priority.
An absolute middleware to add to the stack.
A reference to this instance.
Adds middleware to the stack relative to the anchoring middleware. If the anchoring middleware does not exist, the middleware will be ignored during the sorting process.
A relative middleware to add to the stack.
A reference to this instance.
ProtectedcacheAdds the middleware name to the local cache of middleware for quicker middleware validation.
A middleware name to cache to check for name uniqueness on the stack.
An option to make this method go "BOOM!"
An indicator that the name was successfully added to stack or that it already exists.
Creates the middleware and adds it to the stack according to its step and priority.
An absolute middleware function to add to the stack.
Optionaloptions: AbsoluteMiddlewareOptionsAdditional information to sort the absolute middleware in the correct position.
A reference to this instance.
Creates the middleware and adds it to the stack relative to the anchoring middleware.
A relative middleware function to add to the stack.
Additional information to sort the relative middleware in the correct position.
A reference to this instance.
Verifies the existence of a particular middleware in the stack.
A middleware name.
An indicator that the middleware has or has not been added to the stack.
Merge creates a new MiddlewareStack from the entries from this middleware stack and those given.
A middleware stack to merge into the current stack.
A new middleware stack with the current and supplied middleware sorted in it.
Remove deletes a middleware from the stack and cache.
The name of the middleware to remove.
The reference to this instance.
RemoveByRef deletes the middleware function(s) that have the same reference as the given function.
The middleware function to remove by reference.
The reference to this instance.
RemoveByTag deletes the middleware function(s) that have the given tag.
Indicates the middleware to remove by tag.
The reference to this instance.
Resolve enchains the middleware by binding the next and context parameters and exposing a handler to begin the call chain.
The last middleware to be called in the chain.
A context for sharing data between middleware calls such as a common logger.
The first middleware to be called on the middleware stack.
Provides a pluggable interface for manipulating this middleware stack instance. It should be used when performing multiple operations on a class instance in a transaction-like manner.
The reference to this instance.
Gives the number of entries of the stack.