Show / Hide Table of Contents

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
object
ComposablePartCatalog
SafeDirectoryCatalog
Implements
IEnumerable<ComposablePartDefinition>
IEnumerable
IDisposable
Inherited Members
ComposablePartCatalog.GetExports(ImportDefinition)
ComposablePartCatalog.Dispose()
ComposablePartCatalog.Dispose(bool)
ComposablePartCatalog.GetEnumerator()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Overrides
ComposablePartCatalog.Parts

Implements

IEnumerable<T>
IEnumerable
IDisposable

Extension Methods

Extensions.Yield<T>(T)
Extensions.ToChunks<T>(IEnumerable<T>, int)
In this article
Back to top Generated by DocFX