delegate

A type that holds a reference to a method, so a method can be stored in a variable and called later.

In more detail

Func<T, bool> and Action<T> are built-in delegate types, and lambdas are converted to them. Middleware's next parameter is a delegate for the rest of the pipeline.

Related terms

Taught in

References