Table of Contents

Namespace PatternKit.Structural.Proxy

Classes

Proxy<TIn, TOut>

Fluent, allocation-light proxy that controls access to a subject and intercepts method invocations. Build once, then call Execute(in TIn) to invoke the subject through the proxy pipeline.

Proxy<TIn, TOut>.Builder

Fluent builder for Proxy<TIn, TOut>.

Delegates

Proxy<TIn, TOut>.AccessValidator

Delegate for validating access before allowing the subject to execute.

Proxy<TIn, TOut>.Interceptor

Delegate for intercepting calls and controlling access to the subject.

Proxy<TIn, TOut>.Subject

Delegate representing the real subject operation.

Proxy<TIn, TOut>.SubjectFactory

Delegate for lazy initialization of the real subject.