PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Correlation Namespace / Legacy­Http­Correlation­Protocol Class / Legacy­Http­Correlation­Protocol Constructor / Legacy­Http­Correlation­Protocol Constructor (Predicate(Correlation­Request))

LegacyHttpCorrelationProtocol Constructor (Predicate<CorrelationRequest>)

Initializes a new LegacyHttpCorrelationProtocol and specifies a predicate that filters trusted requests.

Namespace:  PostSharp.Patterns.Diagnostics.Correlation
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
public LegacyHttpCorrelationProtocol(
	Predicate<CorrelationRequest> isTrustedRequestPredicate
)

Parameters

isTrustedRequestPredicate
Type: System.Predicate<CorrelationRequest>
A predicate that returns true when a request is trusted.
See Also