Class SafeDirectoryCatalog
Represents the abstract base class for composable part catalogs, which collect and return System.ComponentModel.Composition.Primitives.ComposablePartDefinition objects. If one of the assemblies in the specified directory fails to load subsequent files will continue to be loaded.
Inheritance
System.Object
SafeDirectoryCatalog
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class SafeDirectoryCatalog : ComposablePartCatalog
Constructors
SafeDirectoryCatalog(String)
Initializes a new instance of the SafeDirectoryCatalog class.
Declaration
public SafeDirectoryCatalog(string directory)
Parameters
Type | Name | Description |
---|---|---|
System.String | directory | The directory from which Addins will be loaded. |
Properties
Parts
Gets the part definitions that are contained in the catalog.
Declaration
public override IQueryable<ComposablePartDefinition> Parts { get; }
Property Value
Type | Description |
---|---|
IQueryable<ComposablePartDefinition> | The System.ComponentModel.Composition.Primitives.ComposablePartDefinition contained in the System.ComponentModel.Composition.Primitives.ComposablePartCatalog. |