ComponentDependencyAttribute Class
Indicates that the property or constructor/method parameter is a reference to a component that lives in the parent WorkItems Items collection.
Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Parameter)> _
Public NotInheritable Class ComponentDependencyAttribute
Inherits OptionalDependencyAttribute
'Usage
Dim instance As ComponentDependencyAttribute
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter)]
public sealed class ComponentDependencyAttribute : OptionalDependencyAttribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Parameter)]
public ref class ComponentDependencyAttribute sealed : public OptionalDependencyAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter) */
public final class ComponentDependencyAttribute extends OptionalDependencyAttribute
AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Parameter)
public final class ComponentDependencyAttribute extends OptionalDependencyAttribute
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Practices.ObjectBuilder.ParameterAttribute
Microsoft.Practices.CompositeUI.OptionalDependencyAttribute
Microsoft.Practices.CompositeUI.ComponentDependencyAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
ComponentDependencyAttribute Members
Microsoft.Practices.CompositeUI Namespace