Show / Hide Table of Contents

Interface IWrapsValidatorWithInstrumentationSupport

An object which wraps a validator instance with appropriate instrumentation behaviour.

Namespace: CSF.Validation
Assembly: CSF.Validation.dll
Syntax
public interface IWrapsValidatorWithInstrumentationSupport

Methods

| Improve this Doc View Source

WrapValidator(IValidator)

Wraps a non-generic validator with the appropriate behaviour.

Declaration
IValidator WrapValidator(IValidator validator)
Parameters
Type Name Description
IValidator validator

The validator instance to wrap.

Returns
Type Description
IValidator

A validator, with added instrumentation behaviour.

| Improve this Doc View Source

WrapValidator<TValidated>(IValidator<TValidated>)

Wraps a generic validator with the appropriate behaviour.

Declaration
IValidator<TValidated> WrapValidator<TValidated>(IValidator<TValidated> validator)
Parameters
Type Name Description
IValidator<TValidated> validator

The validator instance to wrap.

Returns
Type Description
IValidator<TValidated>

A validator, with added instrumentation behaviour.

Type Parameters
Name Description
TValidated

The validated type.

See Also

InstrumentRuleExecution
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX