System.ComponentModel.Composition Contains helper methods for using the MEF attributed programming model with composition. Creates a part from the specified value and adds it to the specified batch. The batch to add to. The value to add. The type of the new part. The new part. Creates a part from the specified value and adds it to the specified batch with the specified contract name. The batch to add to. The contract name of the export. The value to add. The type of the new part. The new part. Creates a composable part from the specified attributed object, and adds it to the specified composition batch. The batch to add to. The object to add. The new part. Creates a part from the specified value and composes it in the specified composition container. The composition container to perform composition in. The value to compose. The type of the new part. Creates a part from the specified object under the specified contract name and composes it in the specified composition container. The composition container to perform composition in. The contract name to export the part under. The value to compose. The type of the new part. Creates composable parts from an array of attributed objects and composes them in the specified composition container. The composition container to perform composition in. An array of attributed objects to compose. Creates a composable part from the specified attributed object, using the specified part definition. The definition of the new part. The attributed object. The created part. Creates a composable part from the specified attributed object. The attributed object. The created part. Creates a composable part from the specified attributed object, using the specified reflection context. The attributed object. The reflection context for the part. The created part. is . Creates a part definition with the specified type and origin. The type of the definition. The origin of the definition. The new part definition. Creates a part definition with the specified type and origin. The type of the definition. The origin of the definition. A value indicating whether or not the new definition should be discoverable. The new part definition. Returns a value that indicates whether the specified part contains an export that matches the specified contract type. The part to search. The contract type. if contains an export definition that matches ; otherwise, . Returns a value that indicates whether the specified part contains an export that matches the specified contract type. The part to search. The contract type. if contains an export definition of type ; otherwise, . Gets a canonical contract name for the specified type. The type to use. A contract name created from the specified type. Gets a metadata view object from a dictionary of loose metadata. A collection of loose metadata. The type of the metadata view object to get. A metadata view containing the specified metadata. Gets the unique identifier for the specified method. The method to examine. The unique identifier for the method. Gets the unique identifier for the specified type. The type to examine. The unique identifier for the type. Returns a value that indicates whether the specified part contains an import that matches the specified contract type. The part to search. The contract type. if contains an import definition that matches ; otherwise, . Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality. The part to search. The contract type. The import cardinality. if contains an import definition that matches and ; otherwise, . Returns a value that indicates whether the specified part contains an import that matches the specified contract type. The part to search. The contract type. if contains an import definition of type ; otherwise, . Returns a value that indicates whether the specified part contains an import that matches the specified contract type and import cardinality. The part to search. The import cardinality. The contract type. if contains an import definition of type that has the specified import cardinality; otherwise, . Composes the specified part by using the specified composition service, with recomposition disabled. The composition service to use. The part to compose. The composed part. Composes the specified part by using the specified composition service, with recomposition disabled and using the specified reflection context. The composition service to use. The part to compose. The reflection context for the part. The composed part. is . When applied to a object, enables an object to discover custom objects. Initializes a new instance of the class with the specified type. The type of the reflection context. Creates an instance of the custom object. An instance of the custom reflection context. An exception that indicates whether a part has been rejected during composition. Initializes a new instance of the class with a system-supplied message that describes the error. Initializes a new instance of the class with a list of composition errors. A collection of errors that occurred during composition. Initializes a new instance of the class with a specified message that describes the error. The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception. Gets or sets the message associated with the component rejection. The message associated with the component rejection. The exception that is thrown when the underlying exported value or metadata of a or object cannot be cast to T or TMetadataView, respectively. Initializes a new instance of the class with a system-supplied message that describes the error. Initializes a new instance of the class with serialized data. The object that holds the serialized object data. The contextual information about the source or destination. Initializes a new instance of the class with a specified message that describes the error. The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception. Represents an error that occurred during composition. Initializes a new instance of the class with the specified error message. A message that describes the or to set the property to an empty string (""). Initializes a new instance of the class with the specified error message and the composition element that is the cause of the composition error. A message that describes the or to set the property to an empty string (""). The composition element that is the cause of the or to set the property to . Initializes a new instance of the class with the specified error message, and the composition element and exception that are the cause of the composition error. A message that describes the or to set the property to an empty string (""). The composition element that is the cause of the or to set the property to . The that is the underlying cause of the or to set the property to . Initializes a new instance of the class with the specified error message and the exception that is the cause of the composition error. A message that describes the or to set the property to an empty string (""). The that is the underlying cause of the or to set the property to . Gets a description of the composition error. A message that describes the . Gets the composition element that is the cause of the error. The composition element that is the cause of the . The default is . Gets the exception that is the underlying cause of the composition error. The exception that is the underlying cause of the . The default is . Returns a string representation of the composition error. A string that contains the property. Represents the exception that is thrown when one or more errors occur during composition in a object. Initializes a new instance of the class. Initializes a new instance of the class with the specified collection of composition errors. A collection of objects that represent problems during composition. Initializes a new instance of the class with the specified error message. A message that describes the or to set the property to its default value. Initializes a new instance of the class with the specified error message and the exception that is the cause of this exception. A message that describes the or to set the property to its default value. The exception that is the underlying cause of the or to set the property to . Gets or sets a collection of objects that describe the errors associated with the . A collection of objects that describe the errors associated with the . Gets a message that describes the exception. A message that describes the . Gets a collection that contains the initial sources of this exception. A collection that contains the initial sources of this exception. Specifies when and how a part will be instantiated. Specifies that the will use the most appropriate for the part given the current context. This is the default . By default, will use , unless the or importer requests . Specifies that a new non-shared instance of the associated will be created by the for every requestor. Specifies that a single shared instance of the associated will be created by the and shared by all requestors. Specifies that a type, property, field, or method provides a particular export. Initializes a new instance of the class, exporting the type or member marked with this attribute under the default contract name. Initializes a new instance of the class, exporting the type or member marked with this attribute under the specified contract name. The contract name that is used to export the type or member marked with this attribute, or or an empty string ("") to use the default contract name. Initializes a new instance of the class, exporting the specified type under the specified contract name. The contract name that is used to export the type or member marked with this attribute, or or an empty string ("") to use the default contract name. The type to export. Initializes a new instance of the class, exporting the type or member marked with this attribute under a contract name derived from the specified type. A type from which to derive the contract name that is used to export the type or member marked with this attribute, or to use the default contract name. Gets the contract name that is used to export the type or member marked with this attribute. The contract name that is used to export the type or member marked with this attribute. The default value is an empty string (""). Gets the contract type that is exported by the member that this attribute is attached to. The type of export that is be provided. The default value is , which means that the type will be obtained by looking at the type on the member that this export is attached to. A factory that creates new instances of a part that provides the specified export. The type of the export. Initializes a new instance of the class. A function that returns the exported value and an that releases it. Creates an instance of the factory's export type. A valid instance of the factory's exported type. A factory that creates new instances of a part that provides the specified export, with attached metadata. The type of the created part. The type of the created part's metadata. Initializes a new instance of the class. A function that returns the exported value and an that releases it. The metadata to attach to the created parts. Gets the metadata to be attached to the created parts. A metadata object that will be attached to the created parts. Holds an exported value created by an object and a reference to a method to release that object. The type of the exported value. Initializes a new instance of the class. The exported value. A reference to a method to release the object. Releases all resources used by the current instance of the class, including its associated export. Gets the exported value of a object. The exported value. Specifies metadata for a type, property, field, or method marked with the . Initializes a new instance of the with the specified name and metadata value. A string that contains the name of the metadata value, or to set the property to an empty string (""). An object that contains the metadata value. This can be . Gets or sets a value that indicates whether this item is marked with this attribute more than once. if the item is marked more than once; otherwise, . Gets the name of the metadata value. A string that contains the name of the metadata value. Gets the metadata value. An object that contains the metadata value. A catalog that combines the elements of objects. Initializes a new instance of the class. Initializes a new instance of the class with the specified catalogs. A collection of objects to add to the or to create an empty . contains an element that is . Initializes a new instance of the class with the specified catalogs. A array of objects to add to the . is . contains an element that is . Gets the underlying catalogs of the object. A collection of objects that underlie the object. The object has been disposed of. Occurs when the contents of the object have changed. Occurs when the contents of the object are changing. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets the export definitions that match the constraint expressed by the specified definition. The conditions of the objects to be returned. A collection of containing the objects and their associated objects for objects that match the constraint specified by . The object has been disposed of. is . Raises the event. A object that contains the event data. Raises the event. A object that contains the event data. Retrieves exports provided by a collection of objects. Initializes a new instance of the class. The prioritized list of export providers. The providers are consulted in the order in which they are supplied. One or more elements of are . Initializes a new instance of the class. The prioritized list of export providers. Releases all resources used by the current instance of the class. Releases the unmanaged resources used by the class and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Gets all the exports that match the conditions of the specified import. The conditions of the objects to be returned. The transactional container for the composition. A collection that contains all the exports that match the specified condition. Gets a collection that contains the providers that the object aggregates. A collection of the objects that the aggregates. The object has been disposed of. Discovers attributed parts in the dynamic link library (DLL) and EXE files in an application's directory and path. Initializes a new instance of the class. Initializes a new instance of the class by using the specified source for parts. The element used by diagnostics to identify the source for parts. Initializes a new instance of the class by using the specified reflection context. The reflection context. Initializes a new instance of the class by using the specified reflection context and source for parts. The reflection context. The element used by diagnostics to identify the source for parts. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the collection. An enumerator that can be used to iterate through the collection. Gets the export definitions that match the constraint expressed by the specified import definition. The conditions of the objects to be returned. A collection of objects that contain the objects and their associated objects that match the specified constraint. The object has been disposed of. is . Gets the display name of the application catalog. A string that contains a human-readable display name of the object. Gets the composition element from which the application catalog originated. Always . Retrieves a string representation of the application catalog. A string representation of the catalog. Discovers attributed parts in a managed code assembly. Initializes a new instance of the class with the specified assembly. The assembly that contains the attributed objects to add to the object. is . -or- was loaded in the reflection-only context. Initializes a new instance of the class with the specified assembly. The assembly that contains the attributed objects to add to the object. The element used by diagnostics to identify the sources of parts. or is . -or- was loaded in the reflection-only context. Initializes a new instance of the class with the specified assembly and reflection context. The assembly that contains the attributed objects to add to the object. The context used by the catalog to interpret types. or is . -or- was loaded in the reflection-only context. Initializes a new instance of the class with the specified assembly and reflection context. The assembly that contains the attributed objects to add to the object. The context used by the catalog to interpret types. The element used by diagnostics to identify the sources of parts. , , or is . -or- was loaded in the reflection-only context. Initializes a new instance of the class with the specified code base. A string that specifies the code base of the assembly (that is, the path to the assembly file) that contains the attributed objects to add to the object. is not a valid assembly. -or- Version 2.0 or earlier of the common language runtime is currently loaded and was compiled with a later version. The caller does not have path discovery permission. could not be loaded. -or- specified a directory. is . is not found. is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . The specified path, file name, or both exceed the system-defined maximum length. Initializes a new instance of the class with the specified code base. A string that specifies the code base of the assembly (that is, the path to the assembly file) that contains the attributed objects to add to the object. The element used by diagnostics to identify the sources of parts. is not a valid assembly. -or- Version 2.0 or later of the common language runtime is currently loaded and was compiled with a later version. The caller does not have path discovery permission. could not be loaded. -or- specified a directory. or is . is not found. is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . The specified path, file name, or both exceed the system-defined maximum length. Initializes a new instance of the class with the specified code base and reflection context. A string that specifies the code base of the assembly (that is, the path to the assembly file) that contains the attributed objects to add to the object. The context used by the catalog to interpret types. is not a valid assembly. -or- Version 2.0 or later of the common language runtime is currently loaded and was compiled with a later version. The caller does not have path discovery permission. could not be loaded. -or- specified a directory. or is . is not found. is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . The specified path, file name, or both exceed the system-defined maximum length. Initializes a new instance of the class with the specified code base and reflection context. A string that specifies the code base of the assembly (that is, the path to the assembly file) that contains the attributed objects to add to the object. The context used by the catalog to interpret types. The element used by diagnostics to identify the sources of parts. is not a valid assembly. -or- Version 2.0 or later of the common language runtime is currently loaded and was compiled with a later version. The caller does not have path discovery permission. could not be loaded. -or- specified a directory. , or is . is not found. is a zero-length string, contains only white space, or contains one or more invalid characters as defined by . The specified path, file name, or both exceed the system-defined maximum length. Gets the assembly whose attributed types are contained in the assembly catalog. The assembly whose attributed objects are contained in the . Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets a collection of exports that match the conditions specified by the import definition. Conditions that specify which exports to match. A collection of exports that match the conditions specified by . Gets the display name of the object. A string that represents the type and assembly of this object. Gets the composition element that this element originated from. Always . Gets a string representation of the assembly catalog. A representation of the assembly catalog. Represents a single composition operation for transactional composition. Initializes a new instance of the class. Initializes a new instance of the class with the specified parent . The parent of this composition operation. Adds an action to be executed when the overall composition operation completes successfully. The action to be executed. Adds an action to be executed if the overall composition operation fails. The action to be executed. Marks this composition operation as complete. Releases all resources used by the current instance of the class, and mark this composition operation as failed. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Saves a key-value pair in the transaction to track tentative state. The key to save. The value to save. Gets a value saved by the method. The key to retrieve from. The retrieved value. The type of the value to be retrieved. if the value was successfully retrieved; otherwise, . Gets a value saved by the method, with the option of not searching parent transactions. The key to retrieve from. to exclude parent transactions; otherwise, . The retrieved value. The type of the value to be retrieved. if the value was successfully retrieved; otherwise, . Retrieves exports from a catalog. Initializes a new instance of the class with the specified catalog. The catalog that the uses to produce objects. is . Initializes a new instance of the class with the specified catalog and optional thread-safe mode. The catalog that the uses to produce objects. if this object must be thread-safe; otherwise, . is . Initializes a new instance of the class with the specified catalog and composition options. The catalog that the uses to produce objects. Options that determine the behavior of this provider. is . Gets the catalog that is used to provide exports. The catalog that the uses to produce objects. The has been disposed of. Releases all resources used by the current instance of the class. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns all exports that match the conditions of the specified import. The conditions of the objects to be returned. The composition transaction to use, or to disable transactional composition. A collection that contains all the exports that match the specified condition. Gets or sets the export provider that provides access to additional exports. The export provider that provides the access to additional objects. The default is . The has been disposed of. is . This property has already been set. -or- The methods on the object have already been accessed. Provides extension methods for constructing composition services. Creates a new composition service by using the specified catalog as a source for exports. The catalog that will provide exports. A new composition service. Provides data for the event. Initializes a new instance of the class with the specified changes. The part definitions that were added to the catalog. The part definitions that were removed from the catalog. The composition transaction to use, or to disable transactional composition. Gets a collection of definitions added to the in this change. A collection of definitions added to the catalog. Gets the composition transaction for this change. The composition transaction for this change. Gets a collection of definitions removed from the in this change. A collection of definitions removed from the catalog in this change. Retrieves exports from a part. Initializes a new instance of the class. Initializes a new instance of the class, optionally in thread-safe mode. if the object must be thread-safe; otherwise, . Initializes a new instance of the class with the specified composition options. Options that specify the behavior of this provider. Executes composition on the specified batch. The batch to execute composition on. The container is already in the process of composing. Releases all resources used by the current instance of the class. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Gets a collection of all exports in this provider that match the conditions of the specified import. The that defines the conditions of the to get. The composition transaction to use, or to disable transactional composition. A collection of all exports in this provider that match the specified conditions. Gets or sets the export provider that provides access to additional objects. A provider that provides the access to objects. The default is . The has been disposed of. is . This property has already been set. -or- The methods on the have already been accessed. Represents a set of objects which will be added or removed from the container in a single transactional composition. Initializes a new instance of the class. Initializes a new instance of the class with the specified parts for addition and removal. A collection of objects to add. A collection of objects to remove. is . -or- is . Adds the specified export to the object. The export to add to the object. The part added. is . Adds the specified part to the object. The part to add. is . Gets the collection of objects to be added. A collection of parts to be added. Gets the collection of objects to be removed. A collection of parts to be removed. Puts the specified part on the list of parts to remove. The part to be removed. is . Contains static metadata keys used by the composition system. Specifies the metadata key created by the composition system to mark a part with a unique identifier. Specifies the metadata key created by the composition system to mark a generic contract. Specifies the metadata key created by the composition system to mark generic parameters. Specifies the metadata key created by the composition system to mark an import source. Specifies the metadata key created by the composition system to mark an method. Specifies the metadata key created by the composition system to mark a part with a creation policy. Manages the composition of parts. Initializes a new instance of the class. Initializes a new instance of the class with the specified export providers and options. An object that specifies the behavior of this container. An array of objects that provide the access to objects, or to set to an empty . contains an element that is . Initializes a new instance of the class with the specified export providers. An array of objects that provide the access to objects, or to set to an empty . contains an element that is . Initializes a new instance of the class with the specified catalog, thread-safe mode, and export providers. A catalog that provides objects to the . if this object must be thread-safe; otherwise, . An array of objects that provide the access to objects, or to set the property to an empty . One or more elements of are . Initializes a new instance of the class with the specified catalog, options, and export providers. A catalog that provides objects to the . An object that specifies options that affect the behavior of the container. An array of objects that provide the access to objects, or to set to an empty . contains an element that is . Initializes a new instance of the class with the specified catalog and export providers. A catalog that provides objects to the . An array of objects that provide the access to objects, or to set to an empty . contains an element that is . Gets the that provides the container access to objects. The catalog that provides the access to exports produced from objects. The default is . The object has been disposed of. Adds or removes the parts in the specified from the container and executes composition. Changes to the to include during the composition. Releases all resources used by the current instance of the class. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns a collection of all exports that match the conditions in the specified object. The object that defines the conditions of the objects to get. The composition transaction to use, or to disable transactional composition. A collection of all the objects in this object that match the conditions specified by . Gets the export providers that provide the container access to additional objects. A collection of objects that provide the access to additional objects. The default is an empty . The has been disposed of. Releases the specified object from the . The that needs to be released. is . Removes the specified export from composition and releases its resources if possible. An indirect reference to the export to remove. The type of the export. Releases a set of objects from the . A collection of objects to be released. is . contains an element that is . Removes a collection of exports from composition and releases their resources if possible. A collection of indirect references to the exports to be removed. The type of the exports. Removes a collection of exports from composition and releases their resources if possible. A collection of indirect references to the exports to be removed and their metadata. The type of the exports. The type of the exports' metadata view. Satisfies the imports of the specified object without registering it for recomposition. The part to satisfy the imports of. The object has been disposed of. is . An error occurred during composition. will contain a collection of the errors that occurred. Defines options for export providers. No options are defined. Silent rejection is disabled, so all rejections will result in errors. This provider is an export composition service. This provider should be thread-safe. Represents a node in a tree of scoped catalogs, reflecting an underlying catalog and its child scopes. Initializes a new instance of the class. Initializes a new instance of the class with the specified underlying catalog and children. The underlying catalog for this catalog. A collection of the child scopes of this catalog. Initializes a new instance of the class with the specified underlying catalog, children, and public surface. The underlying catalog for this catalog. A collection of the child scopes of this catalog. The public surface for this catalog. Occurs when the underlying catalog has changed, if that catalog supports notifications. Occurs when the underlying catalog is changing, if that catalog supports notifications. Gets the child scopes of this catalog. A collection of the child scopes of this catalog. Called by the and methods to release the managed and unmanaged resources used by the current instance of the class. to release managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets a collection of exports that match the conditions specified by the import definition. Conditions that specify which exports to match. A collection of exports that match the specified conditions. Raises the event. Contains data for the event. Raises the event. Contains data for the event. Gets a collection of parts visible to the parent scope of this catalog. A collection of parts visible to the parent scope of this catalog. Provides methods to satisfy imports on an existing part instance. Releases all resources used by the current instance of the class. Composes the specified part, with recomposition and validation disabled. The part to compose. Discovers attributed parts in the assemblies in a specified directory. Initializes a new instance of the class by using objects based on all the DLL files in the specified directory path. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The specified is invalid (for example, it is on an unmapped drive). is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects based on all the DLL files in the specified directory path with the specified source for parts. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The element used by diagnostics to identify the source for parts. The specified is invalid (for example, it is on an unmapped drive). is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects based on all the DLL files in the specified directory path, in the specified reflection context. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The context used to create parts. The specified is invalid (for example, it is on an unmapped drive). is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects based on all the DLL files in the specified directory path, in the specified reflection context. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The context used to create parts. The element used by diagnostics to identify the source for parts. The specified is invalid (for example, it is on an unmapped drive). is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects that match a specified search pattern in the specified directory path. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The search string. The format of the string should be the same as specified for the method. The specified is invalid (for example, it is on an unmapped drive). or is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. -or- does not contain a valid pattern. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects based on the specified search pattern in the specified directory path with the specified source for parts. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The search string. The format of the string should be the same as specified for the method. The element used by diagnostics to identify the source for parts. The specified is invalid (for example, it is on an unmapped drive). or is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. -or- does not contain a valid pattern. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects based on the specified search pattern in the specified directory path, using the specified reflection context. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The search string. The format of the string should be the same as specified for the method. The context used to create parts. The specified is invalid (for example, it is on an unmapped drive). or is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. -or- does not contain a valid pattern. The specified , file name, or both exceed the system-defined maximum length. Initializes a new instance of the class by using objects based on the specified search pattern in the specified directory path, using the specified reflection context. The path to the directory to scan for assemblies to add to the catalog. The path must be absolute or relative to . The search string. The format of the string should be the same as specified for the method. The context used to create parts. The element used by diagnostics to identify the source for parts. The specified is invalid (for example, it is on an unmapped drive). or is . The caller does not have the required permission. is a zero-length string, contains only white space, or contains one or more implementation-specific invalid characters. -or- does not contain a valid pattern. The specified , file name, or both exceed the system-defined maximum length. Occurs when the contents of the catalog has changed. Occurs when the catalog is changing. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Gets the translated absolute path observed by the object. The translated absolute path observed by the catalog. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets the export definitions that match the constraint expressed by the specified import definition. The conditions of the objects to be returned. A collection of objects that contain the objects and their associated objects that match the constraint specified by . The object has been disposed. is . Gets the collection of files currently loaded in the catalog. A collection of files currently loaded in the catalog. Raises the event. An object that contains the event data. Raises the event. An object that contains the event data. Gets the path observed by the object. The path observed by the catalog. Refreshes the objects with the latest files in the directory that match the search pattern. Gets the search pattern that is passed into the constructor of the object. The search pattern the catalog uses to find files. The default is *.dll, which returns all DLL files. Gets the display name of the directory catalog. A string that contains a human-readable display name of the directory catalog. Gets the composition element from which the directory catalog originated. Always . Gets a string representation of the directory catalog. A string representation of the catalog. Retrieves exports which match a specified object. Initializes a new instance of the class. Occurs when the exports in the change. Occurs when the provided exports are changing. Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown. The type parameter of the object to return. The contract name is also derived from this type parameter. The export with the contract name derived from the specified type parameter. There are zero objects with the contract name derived from in the object. -or- There is more than one object with the contract name derived from in the object. The object has been disposed of. Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown. The contract name of the object to return, or or an empty string ("") to use the default contract name. The type parameter of the object to return. The export with the specified contract name. There are zero objects with the contract name derived from in the object. -or- There is more than one object with the contract name derived from in the object. The object has been disposed of. Returns the export with the contract name derived from the specified type parameter. If there is not exactly one matching export, an exception is thrown. The type parameter of the object to return. The contract name is also derived from this type parameter. The type of the metadata view of the object to return. System.Lazy`2 There are zero objects with the contract name derived from in the object. -or- There is more than one object with the contract name derived from in the object. The object has been disposed of. is not a valid metadata view type. Returns the export with the specified contract name. If there is not exactly one matching export, an exception is thrown. The contract name of the object to return, or or an empty string ("") to use the default contract name. The type parameter of the object to return. The type of the metadata view of the object to return. The export with the specified contract name. There are zero objects with the contract name derived from in the object. -or- There is more than one object with the contract name derived from in the object. The object has been disposed of. is not a valid metadata view type. Returns the exported object with the contract name derived from the specified type parameter. If there is not exactly one matching exported object, an exception is thrown. The type of the exported object to return. The contract name is also derived from this type parameter. The exported object with the contract name derived from the specified type parameter. There are zero exported objects with the contract name derived from in the . -or- There is more than one exported object with the contract name derived from in the . The object has been disposed of. The underlying exported object cannot be cast to . An error occurred during composition. will contain a collection of errors that occurred. Returns the exported object with the specified contract name. If there is not exactly one matching exported object, an exception is thrown. The contract name of the exported object to return, or or an empty string ("") to use the default contract name. The type of the exported object to return. The exported object with the specified contract name. There are zero exported objects with the contract name derived from in the . -or- There is more than one exported object with the contract name derived from in the . The object has been disposed of. The underlying exported object cannot be cast to . An error occurred during composition. will contain a collection of errors that occurred. Gets the exported object with the contract name derived from the specified type parameter or the default value for the specified type, or throws an exception if there is more than one matching exported object. The type of the exported object to return. The contract name is also derived from this type parameter. The exported object with the contract name derived from , if found; otherwise, the default value for . There is more than one exported object with the contract name derived from in the . The object has been disposed of. The underlying exported object cannot be cast to . An error occurred during composition. will contain a collection of errors that occurred. Gets the exported object with the specified contract name or the default value for the specified type, or throws an exception if there is more than one matching exported object. The contract name of the exported object to return, or or an empty string ("") to use the default contract name. The type of the exported object to return. The exported object with the specified contract name, if found; otherwise, the default value for . There is more than one exported object with the specified contract name in the . The object has been disposed of. The underlying exported object cannot be cast to . An error occurred during composition. will contain a collection of errors that occurred. Gets all the exported objects with the contract name derived from the specified type parameter. The type of the exported object to return. The contract name is also derived from this type parameter. The exported objects with the contract name derived from the specified type parameter, if found; otherwise, an empty object. The object has been disposed of. One or more of the underlying exported objects cannot be cast to . An error occurred during composition. will contain a collection of errors that occurred. Gets all the exported objects with the specified contract name. The contract name of the exported objects to return; or or an empty string ("") to use the default contract name. The type of the exported object to return. The exported objects with the specified contract name, if found; otherwise, an empty object. The object has been disposed of. One or more of the underlying exported values cannot be cast to . An error occurred during composition. will contain a collection of errors that occurred. Gets all exports that match the conditions of the specified import definition. The object that defines the conditions of the objects to get. A collection of all the objects matching the condition specified by . is and there are zero objects that match the conditions of the specified . -or- is or and there is more than one object that matches the conditions of the specified . is . Gets all exports that match the conditions of the specified import definition and composition. The object that defines the conditions of the objects to get. The transactional container for the composition. A collection of all the objects matching the condition specified by and . is and there are zero objects that match the conditions of the specified . -or- is or and there is more than one object that matches the conditions of the specified . is . -or- is . Gets all the exports with the specified contract name. The type parameter of the objects to return. The type of the metadata view of the objects to return. The contract name of the object to return, or or an empty string ("") to use the default contract name. A collection of all the objects for the contract matching . The object has been disposed of. is . is not a valid metadata view type. Gets all the exports with the contract name derived from the specified type parameter. The type parameter of the objects to return. The contract name is also derived from this type parameter. The objects with the contract name derived from , if found; otherwise, an empty object. The object has been disposed of. Gets all the exports with the specified contract name. The contract name of the objects to return, or or an empty string ("") to use the default contract name. The type parameter of the objects to return. The objects with the specified contract name, if found; otherwise, an empty object. The object has been disposed of. Gets all the exports with the contract name derived from the specified type parameter. The type parameter of the objects to return. The contract name is also derived from this type parameter. The type of the metadata view of the objects to return. The objects with the contract name derived from , if found; otherwise, an empty object. The object has been disposed of. is not a valid metadata view type. Gets all the exports with the specified contract name. The contract name of the objects to return, or or an empty string ("") to use the default contract name. The type parameter of the objects to return. The contract name is also derived from this type parameter. The type of the metadata view of the objects to return. The objects with the specified contract name if found; otherwise, an empty object. The object has been disposed of. is not a valid metadata view type. Gets all the exports that match the constraint defined by the specified definition. The object that defines the conditions of the objects to return. The transactional container for the composition. A collection that contains all the exports that match the specified condition. Raises the event. An that contains the event data. Raises the event. An that contains the event data. Gets all the exports that match the conditions of the specified import. The object that defines the conditions of the objects to get. The transactional container for the composition. When this method returns, contains a collection of objects that match the conditions defined by , if found; otherwise, an empty object. This parameter is passed uninitialized. if is or and there are zero objects that match the conditions of the specified ; if is or and there is exactly one that matches the conditions of the specified ; otherwise, . is . Provides data for the and event. Initializes a new instance of the class. The events that were added. The events that were removed. The composition transaction that contains the change. Gets the exports that were added in this change. A collection of the exports that were added. Gets the composition transaction of the change, if any. A reference to the composition transaction associated with the change, or if no transaction is being used. Gets the contract names that were altered in the change. A collection of the altered contract names. Gets the exports that were removed in the change. A collection of the removed exports. Represents a catalog after a filter function is applied to it. Initializes a new instance of the class with the specified underlying catalog and filter. The underlying catalog. The function to filter parts. Occurs when the underlying catalog has changed. Occurs when the underlying catalog is changing. Gets a catalog that contains parts that are present in the underlying catalog but that were filtered out by the filter function. A catalog that contains the complement of this catalog. Called by the and methods to release the managed and unmanaged resources used by the current instance of the class. to release managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets the exported parts from this catalog that match the specified import. The import to match. A collection of matching parts. Gets a new object that contains all the parts from this catalog and all their dependencies. The new catalog. Gets a new object that contains all the parts from this catalog and all dependencies that can be reached through imports that match the specified filter. The filter for imports. The new catalog. Gets a new object that contains all the parts from this catalog and all their dependents. The new catalog. Gets a new object that contains all the parts from this catalog and all dependents that can be reached through imports that match the specified filter. The filter for imports. The new catalog. Raises the event. Provides data for the event. Raises the event. Provides data for the event. Performs composition for containers. Initializes a new instance of the class. The that provides the access to objects. Initializes a new instance of the class, optionally in thread-safe mode. The that provides the access to objects. if thread safety is required; otherwise, . Initializes a new instance of the class with the specified options. The that provides the access to objects. An object that specifies options that affect the behavior of the engine. Releases all resources used by the current instance of the class. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Previews all the required imports for the specified part to make sure that they can be satisfied, without actually setting them. The part to preview the imports of. The composition transaction to use, or for no composition transaction. Releases all the exports used to satisfy the imports of the specified part. The part to release the imports of. The composition transaction to use, or for no composition transaction. Satisfies the imports of the specified part. The part to satisfy the imports of. Satisfies the imports of the specified part without registering them for recomposition. The part to satisfy the imports of. Provides notifications when a changes. Occurs when a has changed. Occurs when a is changing. Defines static convenience methods for scoping. Gets a value that indicates whether the specified part contains metadata that has the specified key and value. The part to search. The metadata key. The metadata value. The type of the metadata value. if contains metadata that has the specified key, value type, and value; otherwise, . Gets a value that indicates whether the specified part contains metadata that has the specified key. The part to search. The metadata key. if contains metadata that has the specified key; otherwise, . Gets a value that indicates whether the specified part exports the specified contract. The part to search. The name of the contract. if exports the specified contract; otherwise, . Filters the specified catalog with the specified filter function. The catalog to filter. The filter function. A new catalog filtered by using the specified filter. Determines whether the specified part imports the specified contract. The part to search. The name of the contract. if imports the specified contract; otherwise, . Determines whether the specified part imports the specified contract with the specified cardinality. The part to search. The name of the contract. The cardinality of the contract. if imports a contract that has the specified name and cardinality; otherwise, . Discovers attributed parts from a collection of types. Initializes a new instance of the class with the specified types. A collection of attributed objects to add to the object. is . contains an element that is . -or- contains an element that was loaded in the reflection-only context. Initializes a new instance of the class with the specified types and source for parts. A collection of attributed objects to add to the object. An element used by diagnostics to identify the source for parts. is . contains an element that is . -or- contains an element that was loaded in the reflection-only context. Initializes a new instance of the class with the specified types in the specified reflection context. A collection of attributed objects to add to the object. The context used to interpret the types. is . contains an element that is . -or- contains an element that was loaded in the reflection-only context. Initializes a new instance of the class with the specified types in the specified reflection context and source for parts. A collection of attributed objects to add to the object. The context used to interpret the types. An element used by diagnostics to identify the source for parts. is . contains an element that is . -or- contains an element that was loaded in the reflection-only context. Initializes a new instance of the class with the specified types. An array of attributed objects to add to the object. is . contains an element that is . -or- contains an element that was loaded in the reflection-only context. Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets the display name of the type catalog. A string containing a human-readable display name of the . Gets the composition element from which the type catalog originated. Always . Returns a string representation of the type catalog. A string representation of the type catalog. Provides methods to satisfy imports on an existing part instance. Composes the specified part, with recomposition and validation disabled. The part to compose. Specifies that a property, field, or parameter value should be provided by the .object Initializes a new instance of the class, importing the export with the default contract name. Initializes a new instance of the class, importing the export with the specified contract name. The contract name of the export to import, or or an empty string ("") to use the default contract name. Initializes a new instance of the class, importing the export with the specified contract name and type. The contract name of the export to import, or or an empty string ("") to use the default contract name. The type of the export to import. Initializes a new instance of the class, importing the export with the contract name derived from the specified type. The type to derive the contract name of the export from, or to use the default contract name. Gets or sets a value that indicates whether the property, field, or parameter will be set to its type's default value when an export with the contract name is not present in the container. if the property, field, or parameter will be set to its type's default value when there is no export with the in the ; otherwise, . The default is . Gets or sets a value that indicates whether the property or field will be recomposed when exports with a matching contract have changed in the container. if the property or field allows recomposition when exports with a matching are added or removed from the ; otherwise, . The default is . Gets the contract name of the export to import. The contract name of the export to import. The default is an empty string (""). Gets the type of the export to import. The type of the export to import. Gets or sets a value that indicates that the importer requires a specific for the exports used to satisfy this import. One of the following values: , if the importer does not require a specific . This is the default. to require that all used exports be shared by all parts in the container. to require that all used exports be non-shared in a container. In this case, each part receives their own instance. Gets or sets a value that specifies the scopes from which this import may be satisfied. A value that specifies the scopes from which this import may be satisfied. The exception that is thrown when the cardinality of an import is not compatible with the cardinality of the matching exports. Initializes a new instance of the class with a system-supplied message that describes the error. Initializes a new instance of the class with serialized data. An object that holds the serialized object data about the . An object that contains contextual information about the source or destination. is . is missing a required value. contains a value that cannot be cast to the correct type. Initializes a new instance of the class with a specified message that describes the error. A message that describes the , or to set the property to its default value. Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The exception that is the cause of the current exception. If the parameter is not , the current exception is raised in a block that handles the inner exception. Specifies which constructor should be used when creating a part. Initializes a new instance of the class. Specifies that a property, field, or parameter should be populated with all matching exports by the object. Initializes a new instance of the class, importing the set of exports with the default contract name. Initializes a new instance of the class, importing the set of exports with the specified contract name. The contract name of the exports to import, or or an empty string ("") to use the default contract name. Initializes a new instance of the class, importing the set of exports with the specified contract name and contract type. The contract name of the exports to import, or or an empty string ("") to use the default contract name. The type of the export to import. Initializes a new instance of the class, importing the set of exports with the contract name derived from the specified type. The type to derive the contract name of the exports to import, or to use the default contract name. Gets or sets a value indicating whether the decorated property or field will be recomposed when exports that provide the matching contract change. if the property or field allows for recomposition when exports that provide the same are added or removed from the ; otherwise, . The default value is . Gets the contract name of the exports to import. The contract name of the exports to import. The default value is an empty string (""). Gets the contract type of the export to import. The type of the export that this import is expecting. The default value is , which means that the type will be obtained by looking at the type on the member that this import is attached to. If the type is , the import will match any exported type. Gets or sets a value that indicates that the importer requires a specific for the exports used to satisfy this import. One of the following values: , if the importer does not require a specific . This is the default. to require that all used exports be shared by all parts in the container. to require that all used exports be non-shared in a container. In this case, each part receives their own instance. Gets or sets a value that specifies the scopes from which this import may be satisfied. A value that specifies the scopes from which this import may be satisfied. Specifies values that indicate how the MEF composition engine searches for imports. Imports may be satisfied from the current scope or any ancestor scope. Imports may be satisfied only from the current scope. Imports may be satisfied only from an ancestor scope. Specifies that a type provides a particular export, and that subclasses of that type will also provide that export. Initializes a new instance of the class. Initializes a new instance of the class with the specified contract name. The name of the contract. Initializes a new instance of the class with the specified contract name and type. The name of the contract. The type of the contract. Initializes a new instance of the class with the specified contract type. The type of the contract. Notifies a part when its imports have been satisfied. Called when a part's imports have been satisfied and it is safe to use. Specifies that a custom attribute's properties provide metadata for exports applied to the same type, property, field, or method. Initializes a new instance of the class. Specifies the type used to implement a metadata view. Initializes a new instance of the class. The type of the metadata view. Gets the type of the metadata view. The type of the metadata view. Specifies the for a part. Initializes a new instance of the class with the specified creation policy. The creation policy to use. Gets or sets a value that indicates the creation policy of the attributed part. One of the values that indicates the creation policy of the attributed part. The default is . Specifies metadata for a part. Initializes a new instance of the class with the specified name and metadata value. A string that contains the name of the metadata value or to use an empty string (""). An object that contains the metadata value. This can be . Gets the name of the metadata value. A string that contains the name of the metadata value. Gets the metadata value. An object that contains the metadata value. Specifies that this type's exports won't be included in a . Initializes a new instance of the class. Defines the abstract base class for composable parts, which import objects and produce exported objects. Initializes a new instance of the class. Called when all the imports of the part have been set, and exports can be retrieved. Gets a collection of the objects that describe the exported objects provided by the part. A collection of objects that describe the exported objects provided by the . The object has been disposed of. Gets the exported object described by the specified object. One of the objects from the property that describes the exported object to return. The exported object described by . The object has been disposed of. is . An error occurred getting the exported object described by the . did not originate from the property on the . One or more prerequisite imports, indicated by , have not been set. Gets a collection of the objects that describe the imported objects required by the part. A collection of objects that describe the imported objects required by the . The object has been disposed of. Gets the metadata of the object. The metadata of the object. The default is an empty, read-only object. The object has been disposed of. Sets the import described by the specified object to be satisfied by the specified exports. One of the objects from the property that specifies the import to be set. A collection of objects of which to set the import described by . The object has been disposed of. is . -or- is . An error occurred setting the import described by the object. did not originate from the property on the . -or- contains an element that is . -or- is empty and is . -or- contains more than one element and is or . has been previously called and is . Represents the abstract base class for composable part catalogs, which collect and return objects. Initializes a new instance of the class. Releases all resources used by the . Releases the unmanaged resources used by the and optionally releases the managed resources. to release both managed and unmanaged resources; to release only unmanaged resources. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Gets a list of export definitions that match the constraint defined by the specified object. The conditions of the objects to be returned. A collection of containing the objects and their associated objects for objects that match the constraint specified by . The object has been disposed of. is . Gets the part definitions that are contained in the catalog. The contained in the . The object has been disposed of. Returns an enumerator that iterates through the catalog. An enumerator that can be used to iterate through the catalog. Defines an abstract base class for composable part definitions, which describe and enable the creation of objects. Initializes a new instance of the class. Creates a new instance of a part that the describes. The created part. Gets a collection of objects that describe the objects exported by the part defined by this object. A collection of objects that describe the exported objects provided by objects created by the . Gets a collection of objects that describe the imports required by the part defined by this object. A collection of objects that describe the imports required by objects created by the . Gets a collection of the metadata for this object. A collection that contains the metadata for the . The default is an empty, read-only object. The exception that is thrown when an error occurs when calling methods on a object. Initializes a new instance of the class. Initializes a new instance of the class with the specified serialization data. An object that holds the serialized object data for the . An object that contains contextual information about the source or destination. is . is missing a required value. contains a value that cannot be cast to the correct type. Initializes a new instance of the class with the specified error message. A message that describes the , or to set the property to its default value. Initializes a new instance of the class with the specified error message and the composition element that is the cause of the exception. A message that describes the , or to set the property to its default value. The composition element that is the cause of the , or to set the property to . Initializes a new instance of the class with the specified error message, and the composition element and exception that are the cause of this exception. A message that describes the , or to set the property to its default value. The composition element that is the cause of the , or to set the property to . The exception that is the underlying cause of the , or to set the property to . Initializes a new instance of the class with the specified error message and the exception that is the cause of this exception. A message that describes the , or to set the property to its default value. The exception that is the underlying cause of the , or to set the property to . Gets the composition element that is the cause of the exception. The compositional element that is the cause of the . The default is . Gets the serialization data for the exception. After calling the method, contains serialized object data about the . After calling the method, contains contextual information about the source or destination. is . Represents an import that is required by a object and that can specify both a contract name and metadata. Initializes a new instance of the class. Initializes a new instance of the class with the specified contract name, required type identity, required metadata, cardinality, and creation policy, and indicates whether the import definition is recomposable or a prerequisite. The contract name of the object required by the import definition. The type identity of the export type expected. Use the method to generate a type identity for a given type. If no specific type is required, use . A collection of key/value pairs that contain the metadata names and types required by the import definition; or to set the property to an empty collection. One of the enumeration values that indicates the cardinality of the objects required by the import definition. to specify that the import definition can be satisfied multiple times throughout the lifetime of a ; otherwise, . to specify that the import definition is required to be satisfied before a can start producing exported objects; otherwise, . A value that indicates that the importer requires a specific creation policy for the exports used to satisfy this import. If no specific creation policy is needed, the default is . is . is an empty string (""). -or- contains an element that is . -or- is not one of the values. Initializes a new instance of the class with the specified contract name, required type identity, required and optional metadata, cardinality, and creation policy, and indicates whether the import definition is recomposable or a prerequisite. The contract name of the object required by the import definition. The type identity of the export type expected. Use the method to generate a type identity for a given type. If no specific type is required, use . A collection of key/value pairs that contain the metadata names and types required by the import definition; or to set the property to an empty collection. One of the enumeration values that indicates the cardinality of the objects required by the import definition. to specify that the import definition can be satisfied multiple times throughout the lifetime of a ; otherwise, . to specify that the import definition is required to be satisfied before a can start producing exported objects; otherwise, . A value that indicates that the importer requires a specific creation policy for the exports used to satisfy this import. If no specific creation policy is needed, the default is . The metadata associated with this import. is . is an empty string (""). -or- contains an element that is . -or- is not one of the values. Gets an expression that defines conditions that must be matched to satisfy the import described by this import definition. An expression that contains a object that defines the conditions that must be matched for the to be satisfied by an . Returns a value indicating whether the constraint represented by this object is satisfied by the export represented by the given export definition. The export definition to test. if the constraint is satisfied; otherwise, . Gets or sets a value that indicates that the importer requires a specific for the exports used to satisfy this import. One of the following values: , if the importer does not require a specific . to require that all exports used should be shared by all importers in the container. to require that all exports used should be non-shared in the container. In this case, each importer receives a separate instance. Gets the metadata names of the export required by the import definition. A collection of objects that contain the metadata names of the objects required by the . The default is an empty collection. Gets the expected type of the export that matches this . A string that is generated by calling the method on the type that this import expects. If the value is , this import does not expect a particular type. Returns the string representation of this object. The string representation of this object. Represents an export, which is a type that consists of a delay-created exported object and the metadata that describes that object. Initializes a new instance of the class. Initializes a new instance of the class with the specified export definition and exported object getter. An object that describes the contract that the object satisfies. A method that is called to create the exported object of the . This delays the creation of the object until the property is called. is . -or- is . Initializes a new instance of the class with the specified contract name, metadata, and exported value getter. The contract name of the object. The metadata of the object or to set the property to an empty, read-only object. A method that is called to create the exported object of the . This delays the creation of the object until the method is called. is . -or- is . is an empty string (""). Initializes a new instance of the class with the specified contract name and exported value getter. The contract name of the object. A method that is called to create the exported object of the . This delays the creation of the object until the method is called. is . -or- is . is an empty string (""). Gets the definition that describes the contract that the export satisfies. A definition that describes the contract that the object satisfies. This property was not overridden by a derived class. Returns the exported object the export provides. The exported object the export provides. The method was not overridden by a derived class. An error occurred during composition. will contain a collection of errors that occurred. Gets the metadata for the export. The metadata of the . The property was not overridden by a derived class. Provides the object this export represents. The object this export represents. Describes the contract that a particular object satisfies. Initializes a new instance of the class. Initializes a new instance of the class with the specified contract name and metadata. The contract name of the object. The metadata of the or to set the property to an empty, read-only object. is . is an empty string (""). Gets the contract name. The contract name of the object. The property was not overridden by a derived class. Gets the contract metadata. The metadata of the . The default is an empty, read-only object. Returns a string representation of the export definition. A string representation of the export definition. Represents a function exported by a . Initializes a new instance of the class. Initializes a new instance of the class for the specified part and method. The part exporting the method. The method to be exported. Gets a delegate of the specified type. The type of the delegate to return. A delegate of the specified type, or if no such delegate can be created. Represents an element that participates in composition. Gets the display name of the composition element. The human-readable display name of the . Gets the composition element from which the current composition element originated. The composition element from which the current originated, or if the is the root composition element. Indicates the cardinality of the objects required by an . Exactly one object is required by the . Zero or more objects are required by the . Zero or one objects are required by the . Represents an import that is required by a object. Initializes a new instance of the class. Initializes a new instance of the class with the specified constraint, contract name, and cardinality, and indicates whether the import definition is recomposable or a prerequisite. An expression that contains a object that defines the conditions an must match to satisfy the import definition. The contract name. One of the enumeration values that indicates the cardinality of the objects required by the import definition. to specify that the import definition can be satisfied multiple times throughout the lifetime of a object; otherwise, . to specify that the import definition must be satisfied before a can start producing exported objects; otherwise, . is . is not one of the values of . Initializes a new instance of the class with the specified constraint, contract name, cardinality, and metadata, and indicates whether the import definition is recomposable or a prerequisite. An expression that contains a object that defines the conditions an must match to satisfy the import definition. The contract name. One of the enumeration values that indicates the cardinality of the objects required by the import definition. to specify that the import definition can be satisfied multiple times throughout the lifetime of a object; otherwise, . to specify that the import definition must be satisfied before a can start producing exported objects; otherwise, . The metadata associated with the import. Gets the cardinality of the exports required by the import definition. One of the enumeration values that indicates the cardinality of the objects required by the . The default is . Gets an expression that defines conditions that the import must satisfy to match the import definition. An expression that contains a object that defines the conditions an must satisfy to match the . The property was not overridden by a derived class. Gets the name of the contract. The contract name. Gets a value that indicates whether the export represented by the specified definition satisfies the constraints of this import definition. The export definition to test. if the constraints are satisfied; otherwise, . Gets a value that indicates whether the import definition must be satisfied before a part can start producing exported objects. if the must be satisfied before a object can start producing exported objects; otherwise, . The default is . Gets a value that indicates whether the import definition can be satisfied multiple times. if the can be satisfied multiple times throughout the lifetime of a object; otherwise, . The default is . Gets the metadata associated with this import. A collection that contains the metadata associated with this import. Returns a string representation of the import definition. A string representation of the import definition. Represents a object that does not load assemblies or create objects until requested. Initializes a new instance of the class, representing the specified member. The member to represent. Initializes a new instance of the class for a member of the specified type with the specified accessors. The type of the represented member. A function whose return value is a collection of the accessors for the represented member. Initializes a new instance of the class for a member of the specified type with the specified accessors. The type of the represented member. An array of the accessors for the represented member. One or more of the objects in are not valid accessors for this member. Indicates whether this instance and a specified object are equal. Another object to compare to. if and this instance are the same type and represent the same value; otherwise, . Gets an array of the accessors for the represented member. An array of the accessors for the represented member. One or more of the accessors in this object are invalid. Returns the hash code for this instance. A 32-bit signed integer that is the hash code for this instance. Gets the type of the represented member. The type of the represented member. Determines whether the two specified objects are equal. The first object to test. The second object to test. if the objects are equal; otherwise, . Determines whether the two specified objects are not equal. The first object to test. The second object to test. if the objects are equal; otherwise, . Provides extension methods to create and retrieve reflection-based parts. Creates an export definition from the specified member, with the specified contract name, metadata, and origin. The member to export. The contract name to use for the export. The metadata for the export. The object that the export originates from. An export definition created from the specified parameters. Creates an import definition for the specified member by using the specified contract name, type identity, import and contract metadata, cardinality, recomposition policy, and creation policy. The member to import into. The contract name to use for the import. The required type identity for the import. The required metadata for the import. The cardinality of the import. to indicate that the import is recomposable; otherwise, . to indicate that the import is a prerequisite; otherwise, . One of the enumeration values that specifies the import's creation policy. The contract metadata. to indicate that the import represents an ; otherwise, . The object to import into. An import definition created from the specified parameters. Creates an import definition for the specified member by using the specified contract name, type identity, import and contract metadata, cardinality, recomposition policy, and creation policy. The member to import into. The contract name to use for the import. The required type identity for the import. The required metadata for the import. The cardinality of the import. to indicate that the import is recomposable; otherwise, . One of the enumeration values that specifies the import's creation policy. The contract metadata. to indicate that the import represents an ; otherwise, . The object to import into. An import definition created from the specified parameters. Creates an import definition for the specified member by using the specified contract name, type identity, import metadata, cardinality, recomposition policy, and creation policy. The member to import into. The contract name to use for the import. The required type identity for the import. The required metadata for the import. The cardinality of the import. to indicate that the import is recomposable; otherwise, . One of the enumeration values that specifies the import's creation policy. The object to import into. An import definition created from the specified parameters. Creates an import definition for the specified parameter by using the specified contract name, type identity, import and contract metadata, cardinality, and creation policy. The parameter to import. The contract name to use for the import. The required type identity for the import. The required metadata for the import. The cardinality of the import. One of the enumeration values that specifies the import's creation policy. The contract metadata to indicate that the import represents an ; otherwise, . The object to import into. An import definition created from the specified parameters. Creates an import definition for the specified parameter by using the specified contract name, type identity, import metadata, cardinality, and creation policy. The parameter to import. The contract name to use for the import. The required type identity for the import. The required metadata for the import. The cardinality of the import. One of the enumeration values that specifies the import's creation policy. The object to import into. An import definition created from the specified parameters. Creates a part definition with the specified part type, imports, exports, metadata, and origin. The type of the part. if the part requires disposal; otherwise, . A collection of the part's imports. A collection of the part's exports. The part's metadata. The part's origin. A part definition created from the specified parameters. Returns a representation of an import definition as an export factory product. The import definition to represent. The representation of the import definition. Gets the exporting member from a specified export definition. The export definition to examine. The member specified in the export definition. is . Gets the importing member from a specified import definition. The import definition to examine. The member specified in the import definition. is . Gets the importing parameter from a specified import definition. The import definition to examine. The parameter specified in the import definition. is . Gets the type of a part from a specified part definition. The part definition to examine. The type of the defined part. is . Determines whether the specified part requires disposal. The part to examine. if the part requires disposal; otherwise, . is . Indicates whether a specified import definition represents an export factory ( or object). The import definition to check. if the specified import definition represents an export factory; otherwise, . Determines whether an import definition represents a member or a parameter. The import definition to examine. if the import definition represents a parameter; otherwise, . is . Indicates whether a generic part definition can be specialized with the provided parameters. The part definition. A collection of types to specify the generic parameters. When this method returns, contains the specialized part definition. This parameter is treated as uninitialized. if the specialization succeeds; otherwise, . Provides a lazy indirect reference to an object and its associated metadata for use by the Managed Extensibility Framework. The type of the object referenced. The type of the metadata. Initializes a new instance of the class with the specified metadata. The metadata associated with the referenced object. Initializes a new instance of the class with the specified metadata and thread safety value. The metadata associated with the referenced object. Indicates whether the object that is created will be thread-safe. Initializes a new instance of the class with the specified metadata and thread synchronization mode. The metadata associated with the referenced object. The thread synchronization mode. Initializes a new instance of the class with the specified metadata that uses the specified function to get the referenced object. A function that returns the referenced object. The metadata associated with the referenced object. Initializes a new instance of the class with the specified metadata and thread safety value that uses the specified function to get the referenced object. A function that returns the referenced object. The metadata associated with the referenced object. Indicates whether the object that is created will be thread-safe. Initializes a new instance of the class with the specified metadata and thread synchronization mode that uses the specified function to get the referenced object. A function that returns the referenced object The metadata associated with the referenced object. The thread synchronization mode Gets the metadata associated with the referenced object. The metadata associated with the referenced object.