Table of Contents

ExcludedAssemblies Property

Definition

ExcludedAssemblies

Gets or sets the collection of assemblies that are unconditionally excluded from the result of GetCurrentDomainAssemblies(Action<AssemblyContextOptions>).

public ICollection<Assembly> ExcludedAssemblies { get; set; }

Property Value

ICollection<Assembly>

A mutable ICollection<T> of Assembly instances that will never appear in the resolved output, regardless of the AssemblyFilter or ReferencedAssemblyFilter predicates.

Remarks

By default this collection contains the assembly that defines AssemblyContextOptions itself (i.e., Cuemon.Core), preventing internal infrastructure assemblies from leaking into consumer results. Add additional assemblies to this collection when callers must suppress specific entries from the resolved set.