C# Class NSubstitute.Routing.AutoValues.AutoSubstituteProvider

Inheritance: IAutoValueProvider
Afficher le fichier Open project: nsubstitute/NSubstitute

Méthodes publiques

Méthode Description
AutoSubstituteProvider ( ISubstituteFactory substituteFactory ) : System
CanProvideValueFor ( Type type ) : bool
GetValue ( Type type ) : object

Private Methods

Méthode 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 méthode

public AutoSubstituteProvider ( ISubstituteFactory substituteFactory ) : System
substituteFactory ISubstituteFactory
Résultat System

CanProvideValueFor() public méthode

public CanProvideValueFor ( Type type ) : bool
type System.Type
Résultat bool

GetValue() public méthode

public GetValue ( Type type ) : object
type System.Type
Résultat object