Partager via


DependencyAttribute Class

Definition

public ref class DependencyAttribute sealed : Microsoft::Practices::ObjectBuilder::ParameterAttribute
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class DependencyAttribute : Microsoft.Practices.ObjectBuilder.ParameterAttribute
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type DependencyAttribute = class
    inherit ParameterAttribute
Public NotInheritable Class DependencyAttribute
Inherits ParameterAttribute
Inheritance
DependencyAttribute
Attributes

Constructors

DependencyAttribute()

Properties

CreateType
Name
NotPresentBehavior
SearchMode

Methods

CreateParameter(Type)

Applies to