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.
Inherited Members
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class SafeDirectoryCatalog : ComposablePartCatalog, IEnumerable<ComposablePartDefinition>, IEnumerable, IDisposable
Constructors
SafeDirectoryCatalog(string)
Initializes a new instance of the SafeDirectoryCatalog class.
Declaration
public SafeDirectoryCatalog(string directory)
Parameters
Type | Name | Description |
---|---|---|
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 ComposablePartDefinition contained in the ComposablePartCatalog. |