ConventionScannerBase Class

Summary

Base class for various scanners Implements the IConventionScanner
graph BT Type-->Base0["Object"] Type-.->Interface0["IConventionScanner"] click Interface0 "/api/Rocket.Surgery.Conventions.Scanners/IConventionScanner" Type["ConventionScannerBase"] class Type type-node Derived0["SimpleConventionScanner"]-->Type click Derived0 "/api/Rocket.Surgery.Conventions.Scanners/SimpleConventionScanner" Derived1["AggregateConventionScanner"]-->Type click Derived1 "/api/Rocket.Surgery.Conventions.Scanners/AggregateConventionScanner"

Syntax

public abstract class ConventionScannerBase : IConventionScanner

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
ConventionScannerBase(IAssemblyCandidateFinder, IServiceProvider, ILogger) Default constructor for the scanner

Methods

Name Value Summary
AppendConvention(IConvention[]) IConventionScanner
Adds a set of conventions to the scanner
AppendConvention(IEnumerable<IConvention>) IConventionScanner
Adds a set of conventions to the scanner
AppendConvention(IEnumerable<Type>) IConventionScanner
Adds a set of conventions to the scanner
AppendConvention(Type[]) IConventionScanner
Adds a set of conventions to the scanner
AppendConvention<T>() IConventionScanner
Adds a set of conventions to the scanner
AppendDelegate(Delegate[]) IConventionScanner
Addes a set of delegates to the scanner
AppendDelegate(IEnumerable<Delegate>) IConventionScanner
Adds a set of delegates to the scanner
BuildProvider() IConventionProvider
Creates a provider that returns a set of conventions.
ExceptConvention(Assembly[]) IConventionScanner
Adds an exception to the scanner to exclude a specific type
ExceptConvention(IEnumerable<Assembly>) IConventionScanner
Adds an exception to the scanner to exclude a specific type
ExceptConvention(IEnumerable<Type>) IConventionScanner
Adds an exception to the scanner to exclude a specific type
ExceptConvention(Type[]) IConventionScanner
Adds an exception to the scanner to exclude a specific type
GetAssemblyConventions() IEnumerable<IConvention>
Gets all the assemblies by convention.
PrependConvention(IConvention[]) IConventionScanner
Adds a set of conventions to the scanner
PrependConvention(IEnumerable<IConvention>) IConventionScanner
Adds a set of conventions to the scanner
PrependConvention(IEnumerable<Type>) IConventionScanner
Adds a set of conventions to the scanner
PrependConvention(Type[]) IConventionScanner
Adds a set of conventions to the scanner
PrependConvention<T>() IConventionScanner
Adds a set of conventions to the scanner
PrependDelegate(Delegate[]) IConventionScanner
Addes a set of delegates to the scanner
PrependDelegate(IEnumerable<Delegate>) IConventionScanner
Adds a set of delegates to the scanner

Extension Methods

See Also