Show / Hide Table of Contents

Class BuilderAssemblyScanner

A service, intended only for use during dependency injection configuration, which provides assembly-scanning logic for validation message provider types.

Inheritance
System.Object
BuilderAssemblyScanner
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.Bootstrap
Assembly: CSF.Validation.dll
Syntax
public static class BuilderAssemblyScanner

Methods

| Improve this Doc View Source

GetValidatorBuilderTypesFromAssemblies(IEnumerable<Assembly>)

Gets a collection of types which are exported by any of the specified searchAssemblies and which meet the criteria to be a validator builder.

Declaration
public static IEnumerable<Type> GetValidatorBuilderTypesFromAssemblies(IEnumerable<Assembly> searchAssemblies)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> searchAssemblies

The assemblies to search.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Type>

A collection of validator builder types.

Remarks

Validator builder classes are concrete (non-abstract) classes which derive from IBuildsValidator<TValidated>, for any validated type.

Exceptions
Type Condition
System.ArgumentNullException

If searchAssemblies is null.

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