Table of Contents

Method Create

Namespace
Ploch.CommandLine.Spectre.FluentValidation
Assembly
Ploch.CommandLine.Spectre.FluentValidation.dll

Create(Action<AssemblyListBuilder>)

Creates a new instance of CommandLineFluentValidationServicesBundle using an assembly list builder.

public static CommandLineFluentValidationServicesBundle Create(Action<AssemblyListBuilder> validatorAssembliesBuilderAction)

Parameters

validatorAssembliesBuilderAction Action<AssemblyListBuilder>

An action to configure the assembly list builder for specifying validator assemblies.

Returns

CommandLineFluentValidationServicesBundle

A new instance of CommandLineFluentValidationServicesBundle with the configured validator assemblies.