C# Class Spring.Objects.Factory.Config.DependencyDescriptor

Descriptor for a specific dependency that is about to be injected. Wraps a constructor parameter, a method parameter or a field, allowing unified access to their metadata.
Afficher le fichier Open project: spring-projects/spring-net Class Usage Examples

Méthodes publiques

Méthode Description
DependencyDescriptor ( FieldInfo field, bool required ) : System

Create a new descriptor for a field. Considers the dependency as 'eager'. field to wrap whether the dependency is required

DependencyDescriptor ( FieldInfo field, bool required, bool eager ) : System

Create a new descriptor for a field. field to wrap whether the dependency is required whether this dependency is 'eager' in the sense of eagerly resolving potential target beans for type matching

DependencyDescriptor ( Spring.Core.MethodParameter methodParameter, bool required ) : System

Initializes a new instance of the DependencyDescriptor class for a method or constructor parameter. Considers the dependency as 'eager'

DependencyDescriptor ( Spring.Core.MethodParameter methodParameter, bool required, bool eager ) : System

Initializes a new instance of the DependencyDescriptor class for a method or a constructor parameter.

DependencyDescriptor ( PropertyInfo property, bool required ) : System

Create a new descriptor for a property. Considers the dependency as 'eager'. property to wrap required whether the dependency is required

DependencyDescriptor ( PropertyInfo property, bool required, bool eager ) : System

Create a new descriptor for a property. property to wrap whether the dependency is required whether this dependency is 'eager' in the sense of eagerly resolving potential target beans for type matching

Method Details

DependencyDescriptor() public méthode

Create a new descriptor for a field. Considers the dependency as 'eager'. field to wrap whether the dependency is required
public DependencyDescriptor ( FieldInfo field, bool required ) : System
field System.Reflection.FieldInfo
required bool
Résultat System

DependencyDescriptor() public méthode

Create a new descriptor for a field. field to wrap whether the dependency is required whether this dependency is 'eager' in the sense of eagerly resolving potential target beans for type matching
public DependencyDescriptor ( FieldInfo field, bool required, bool eager ) : System
field System.Reflection.FieldInfo
required bool
eager bool
Résultat System

DependencyDescriptor() public méthode

Initializes a new instance of the DependencyDescriptor class for a method or constructor parameter. Considers the dependency as 'eager'
public DependencyDescriptor ( Spring.Core.MethodParameter methodParameter, bool required ) : System
methodParameter Spring.Core.MethodParameter The MethodParameter to wrap.
required bool if set to true if the dependency is required.
Résultat System

DependencyDescriptor() public méthode

Initializes a new instance of the DependencyDescriptor class for a method or a constructor parameter.
public DependencyDescriptor ( Spring.Core.MethodParameter methodParameter, bool required, bool eager ) : System
methodParameter Spring.Core.MethodParameter The MethodParameter to wrap.
required bool if set to true the dependency is required.
eager bool if set to true the dependency is 'eager' in the sense of /// eagerly resolving potential target objects for type matching.
Résultat System

DependencyDescriptor() public méthode

Create a new descriptor for a property. Considers the dependency as 'eager'. property to wrap required whether the dependency is required
public DependencyDescriptor ( PropertyInfo property, bool required ) : System
property System.Reflection.PropertyInfo
required bool
Résultat System

DependencyDescriptor() public méthode

Create a new descriptor for a property. property to wrap whether the dependency is required whether this dependency is 'eager' in the sense of eagerly resolving potential target beans for type matching
public DependencyDescriptor ( PropertyInfo property, bool required, bool eager ) : System
property System.Reflection.PropertyInfo
required bool
eager bool
Résultat System