C# 클래스 StructureMap.Graph.Constructor

파일 보기 프로젝트 열기: visit/structuremap 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
visitParameter ( ParameterInfo info, Type parameterType, IArgumentVisitor visitor ) : void

메소드 상세

CanBeAutoFilled() 공개 메소드

public CanBeAutoFilled ( ) : bool
리턴 bool

Constructor() 공개 메소드

public Constructor ( Type pluggedType ) : System
pluggedType System.Type
리턴 System

Constructor() 공개 메소드

public Constructor ( Type pluggedType, ConstructorInfo ctor ) : System
pluggedType System.Type
ctor System.Reflection.ConstructorInfo
리턴 System

FindArgumentType() 공개 메소드

public FindArgumentType ( string name ) : Type
name string
리턴 System.Type

FindFirstConstructorArgumentOfType() 공개 메소드

public FindFirstConstructorArgumentOfType ( Type type ) : string
type System.Type
리턴 string

GetConstructor() 공개 정적인 메소드

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
리턴 System.Reflection.ConstructorInfo

GetGreediestConstructor() 공개 정적인 메소드

public static GetGreediestConstructor ( Type TPluggedType ) : ConstructorInfo
TPluggedType System.Type
리턴 System.Reflection.ConstructorInfo

HasArguments() 공개 메소드

public HasArguments ( ) : bool
리턴 bool

HasConstructors() 공개 정적인 메소드

public static HasConstructors ( Type pluggedType ) : bool
pluggedType System.Type
리턴 bool

IsValid() 공개 메소드

public IsValid ( ) : bool
리턴 bool

UseConstructor() 공개 메소드

public UseConstructor ( Expression expression ) : void
expression System.Linq.Expressions.Expression
리턴 void

Visit() 공개 메소드

public Visit ( IArgumentVisitor visitor ) : void
visitor IArgumentVisitor
리턴 void