CompositionDependency Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a dependency that a part must have in order to fulfill an ExportDescriptorPromise. This class is used by the composition engine during initialization to determine whether the composition can be made, and if not, what error to provide.
public ref class CompositionDependency
public class CompositionDependency
type CompositionDependency = class
Public Class CompositionDependency
- Inheritance
-
CompositionDependency
Properties
Contract |
Gets the contract required by the dependency. |
IsPrerequisite |
Gets a value indicating whether the dependency is a prerequisite that must be satisfied before any exports can be retrieved from the dependent part. |
Site |
Gets a marker used to identify the dependency among those on the dependent part. |
Target |
Gets the export descriptor promise that the dependecy is on. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
Missing(CompositionContract, Object) |
Constructs a placeholder for a missing dependency. |
Oversupplied(CompositionContract, IEnumerable<ExportDescriptorPromise>, Object) |
Constructs a placeholder for a dependency that has too many supplied values. |
Satisfied(CompositionContract, ExportDescriptorPromise, Boolean, Object) |
Constructs a dependency on the specified target. |
ToString() |
Returns the string representation of this CompositionDependency object. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru