C# Class StructureMap.Graph.Constructor

Afficher le fichier Open project: visit/structuremap Class Usage Examples

Méthodes publiques

Méthode Description
CanBeAutoFilled ( ) : bool
Constructor ( Type pluggedType ) : System
Constructor ( Type pluggedType, ConstructorInfo ctor ) : System
FindArgumentType ( string name ) : Type
FindFirstConstructorArgumentOfType ( Type type ) : string
GetConstructor ( Type pluggedType ) : ConstructorInfo

Returns the System.Reflection.ConstructorInfo for the PluggedType. Uses either the "greediest" constructor with the most arguments or the constructor function marked with the [DefaultConstructor]

GetGreediestConstructor ( Type TPluggedType ) : ConstructorInfo
HasArguments ( ) : bool
HasConstructors ( Type pluggedType ) : bool
IsValid ( ) : bool
UseConstructor ( Expression expression ) : void
Visit ( IArgumentVisitor visitor ) : void

Private Methods

Méthode Description
visitParameter ( ParameterInfo info, Type parameterType, IArgumentVisitor visitor ) : void

Method Details

CanBeAutoFilled() public méthode

public CanBeAutoFilled ( ) : bool
Résultat bool

Constructor() public méthode

public Constructor ( Type pluggedType ) : System
pluggedType System.Type
Résultat System

Constructor() public méthode

public Constructor ( Type pluggedType, ConstructorInfo ctor ) : System
pluggedType System.Type
ctor System.Reflection.ConstructorInfo
Résultat System

FindArgumentType() public méthode

public FindArgumentType ( string name ) : Type
name string
Résultat System.Type

FindFirstConstructorArgumentOfType() public méthode

public FindFirstConstructorArgumentOfType ( Type type ) : string
type System.Type
Résultat string

GetConstructor() public static méthode

Returns the System.Reflection.ConstructorInfo for the PluggedType. Uses either the "greediest" constructor with the most arguments or the constructor function marked with the [DefaultConstructor]
public static GetConstructor ( Type pluggedType ) : ConstructorInfo
pluggedType System.Type
Résultat System.Reflection.ConstructorInfo

GetGreediestConstructor() public static méthode

public static GetGreediestConstructor ( Type TPluggedType ) : ConstructorInfo
TPluggedType System.Type
Résultat System.Reflection.ConstructorInfo

HasArguments() public méthode

public HasArguments ( ) : bool
Résultat bool

HasConstructors() public static méthode

public static HasConstructors ( Type pluggedType ) : bool
pluggedType System.Type
Résultat bool

IsValid() public méthode

public IsValid ( ) : bool
Résultat bool

UseConstructor() public méthode

public UseConstructor ( Expression expression ) : void
expression System.Linq.Expressions.Expression
Résultat void

Visit() public méthode

public Visit ( IArgumentVisitor visitor ) : void
visitor IArgumentVisitor
Résultat void