C# Class Revenj.Extensibility.Autofac.Core.Activators.Reflection.BindingFlagsConstructorFinder

Finds constructors based on their binding flags.
Inheritance: IConstructorFinder
Mostrar archivo Open project: ngs-doo/revenj

Public Methods

Method Description
BindingFlagsConstructorFinder ( BindingFlags bindingFlags ) : System

Create an instance matching constructors with the supplied binding flags.

FindConstructors ( Type targetType ) : System.Reflection.ConstructorInfo[]

Finds suitable constructors on the target type.

ToString ( ) : string

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

Method Details

BindingFlagsConstructorFinder() public method

Create an instance matching constructors with the supplied binding flags.
public BindingFlagsConstructorFinder ( BindingFlags bindingFlags ) : System
bindingFlags BindingFlags Binding flags to match.
return System

FindConstructors() public method

Finds suitable constructors on the target type.
public FindConstructors ( Type targetType ) : System.Reflection.ConstructorInfo[]
targetType System.Type Type to search for constructors.
return System.Reflection.ConstructorInfo[]

ToString() public method

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