This documentation is archived and is not being maintained.

DirectoryCatalog Methods

The DirectoryCatalog type exposes the following members.

Public method Dispose() Releases all resources used by the ComposablePartCatalog. (Inherited from ComposablePartCatalog.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the DirectoryCatalog and optionally releases the managed resources. (Overrides ComposablePartCatalog.Dispose(Boolean).)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetExports Gets the export definitions that match the constraint expressed by the specified definition. (Overrides ComposablePartCatalog.GetExports(ImportDefinition).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnChanged Raises the Changed event.
Protected method OnChanging Raises the Changing event.
Public method Refresh Refreshes the ComposablePartDefinition objects with the latest files in the directory that match the search pattern.
Public method ToString Gets a string representation of the directory catalog. (Overrides Object.ToString().)