Skip to content

Class FluentValidationPolicy ​

Namespace: Momentum.ServiceDefaults.Messaging.Middlewares
Assembly: Momentum.ServiceDefaults.dll

csharp
[ExcludeFromCodeCoverage]
public class FluentValidationPolicy : IHandlerPolicy, IWolverinePolicy

Inheritance ​

object ← FluentValidationPolicy

Implements ​

IHandlerPolicy, IWolverinePolicy

Inherited Members ​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors ​

FluentValidationPolicy() ​

csharp
public FluentValidationPolicy()

Methods ​

Apply(IReadOnlyList<HandlerChain>, GenerationRules, IServiceContainer) ​

Called during bootstrapping to alter how the message handlers are configured

csharp
public void Apply(IReadOnlyList<HandlerChain> chains, GenerationRules rules, IServiceContainer container)

Parameters ​

chains IReadOnlyList<HandlerChain>

rules GenerationRules

container IServiceContainer

The application's underlying IoC Container