DependencyCatalog
Builds a MEF catalog from the application directory for a root assembly and assemblies that directly reference it.
Assembly discovery uses reflection-only loading, which is unsupported on .NET Core and can throw PlatformNotSupportedException.
Definition
Namespace:Telerik.WinForms.Documents.UI.Extensibility
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DependencyCatalog : ComposablePartCatalog, IEnumerable, IDisposable
Inheritance: objectComposablePartCatalogDependencyCatalog
Implements:
Inherited Members
Constructors
Scans the application directory and includes the root assembly and its direct dependents when their file paths pass the supplied filter.
Scans the application directory using DefaultFileNameFilter(string) and includes the root assembly and its direct dependents.
public DependencyCatalog(string assemblyName)
The simple name of the root assembly to include.
Properties
Gets or sets the predicate applied to file paths during the constructor's directory scan. Changing this property after construction does not rebuild the catalog.
public Func<string, bool> FileFilter { get; set; }
Gets the part definitions from the assemblies included in the aggregate catalog.
public override IQueryable<ComposablePartDefinition> Parts { get; }
Overrides:
Gets the simple name used to select the root assembly and its direct dependents, subject to the file filter.
public string RootDependencyAssemblyName { get; }