Table of Contents

Property TypeEvaluator

Namespace
Mediarion
Assembly
Mediarion.Extensions.DependencyInjection.dll

TypeEvaluator

Gets or sets which types the scan is allowed to register. Everything, by default.

public Func<Type, bool> TypeEvaluator { get; set; }

Property Value

Func<Type, bool>

Remarks

Returning false for a type leaves it out as though it were not in the assembly. What it is for is an assembly that holds more than one application's handlers, or a test that wants one handler and not its neighbour.