C# Class Castle.Core.DependencyModel

Afficher le fichier Open project: castleproject/Windsor Class Usage Examples

Protected Properties

Свойство Type Description
initialized bool
parameterModel ParameterModel
reference string

Méthodes publiques

Méthode Description
DependencyModel ( String dependencyKey, Type targetType, bool isOptional ) : System

Initializes a new instance of the DependencyModel class.

DependencyModel ( string dependencyKey, Type targetType, bool isOptional, bool hasDefaultValue, object defaultValue ) : System
Equals ( object obj ) : bool
GetHashCode ( ) : int
Init ( ParameterModelCollection parameters ) : void
ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

Private Methods

Méthode Description
GetParameterModelByType ( Type type, ParameterModelCollection parameters ) : ParameterModel
ObtainParameterModelByName ( ParameterModelCollection parameters ) : ParameterModel
ObtainParameterModelByType ( ParameterModelCollection parameters ) : ParameterModel

Method Details

DependencyModel() public méthode

Initializes a new instance of the DependencyModel class.
public DependencyModel ( String dependencyKey, Type targetType, bool isOptional ) : System
dependencyKey String The dependency key.
targetType System.Type Type of the target.
isOptional bool if set to true [is optional].
Résultat System

DependencyModel() public méthode

public DependencyModel ( string dependencyKey, Type targetType, bool isOptional, bool hasDefaultValue, object defaultValue ) : System
dependencyKey string
targetType System.Type
isOptional bool
hasDefaultValue bool
defaultValue object
Résultat System

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Init() public méthode

public Init ( ParameterModelCollection parameters ) : void
parameters ParameterModelCollection
Résultat void

ToString() public méthode

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
Résultat string

Property Details

initialized protected_oe property

protected bool initialized
Résultat bool

parameterModel protected_oe property

protected ParameterModel,Castle.Core parameterModel
Résultat ParameterModel

reference protected_oe property

protected string reference
Résultat string