Table of Contents

ReferencedAssemblyFilter Property

Definition

ReferencedAssemblyFilter

Gets or sets a predicate used to filter which referenced assemblies are included during assembly context resolution.

public Func<AssemblyName, bool> ReferencedAssemblyFilter { get; set; }

Property Value

Func<AssemblyName, bool>

A Func<T, TResult> that receives an AssemblyName and returns true if the assembly should be included; otherwise, false.

Remarks

This filter is only applied when IncludeReferencedAssemblies is true. The default predicate excludes any assembly whose FullName starts with System or Microsoft, limiting resolution to application-level dependencies.