C# Class NSubstitute.Routing.AutoValues.AutoSubstituteProvider

Inheritance: IAutoValueProvider
ファイルを表示 Open project: nsubstitute/NSubstitute

Public Methods

Method Description
AutoSubstituteProvider ( ISubstituteFactory substituteFactory ) : System
CanProvideValueFor ( Type type ) : bool
GetValue ( Type type ) : object

Private Methods

Method Description
HasParameterlessConstructor ( Type type ) : bool
IsCallableFromProxy ( MethodBase constructor ) : bool
IsOverridable ( MethodInfo methodInfo ) : bool
IsPureVirtualClassWithParameterlessConstructor ( Type type ) : bool
IsPureVirtualType ( Type type ) : bool
NotMethodFromObject ( MethodInfo methodInfo ) : bool
NotStaticMethod ( MethodInfo methodInfo ) : bool

Method Details

AutoSubstituteProvider() public method

public AutoSubstituteProvider ( ISubstituteFactory substituteFactory ) : System
substituteFactory ISubstituteFactory
return System

CanProvideValueFor() public method

public CanProvideValueFor ( Type type ) : bool
type System.Type
return bool

GetValue() public method

public GetValue ( Type type ) : object
type System.Type
return object