C# Class NSubstitute.Core.CallSpecification

Inheritance: ICallSpecification
Afficher le fichier Open project: nsubstitute/NSubstitute Class Usage Examples

Méthodes publiques

Свойство Type Description
CallFormatter IMethodInfoFormatter

Méthodes publiques

Méthode Description
CallSpecification ( MethodInfo methodInfo, IEnumerable argumentSpecifications ) : System
CreateCopyThatMatchesAnyArguments ( ) : ICallSpecification
Format ( ICall call ) : string
GetMethodInfo ( ) : MethodInfo
InvokePerArgumentActions ( CallInfo callInfo ) : void
IsSatisfiedBy ( ICall call ) : bool
NonMatchingArguments ( ICall call ) : IEnumerable
ReturnType ( ) : Type
ToString ( ) : string

Private Methods

Méthode Description
AreComparable ( MethodInfo a, MethodInfo b ) : bool
AreEquivalentDefinitions ( MethodInfo a, MethodInfo b ) : bool
CanCompareGenericMethods ( MethodInfo a, MethodInfo b ) : bool
FormatArguments ( IEnumerable arguments ) : IEnumerable
HasDifferentNumberOfArguments ( ICall call ) : bool
ParameterTypes ( MethodInfo info ) : Type[]
TypesAreAllEquivalent ( Type aArgs, Type bArgs ) : bool

Method Details

CallSpecification() public méthode

public CallSpecification ( MethodInfo methodInfo, IEnumerable argumentSpecifications ) : System
methodInfo System.Reflection.MethodInfo
argumentSpecifications IEnumerable
Résultat System

CreateCopyThatMatchesAnyArguments() public méthode

public CreateCopyThatMatchesAnyArguments ( ) : ICallSpecification
Résultat ICallSpecification

Format() public méthode

public Format ( ICall call ) : string
call ICall
Résultat string

GetMethodInfo() public méthode

public GetMethodInfo ( ) : MethodInfo
Résultat System.Reflection.MethodInfo

InvokePerArgumentActions() public méthode

public InvokePerArgumentActions ( CallInfo callInfo ) : void
callInfo CallInfo
Résultat void

IsSatisfiedBy() public méthode

public IsSatisfiedBy ( ICall call ) : bool
call ICall
Résultat bool

NonMatchingArguments() public méthode

public NonMatchingArguments ( ICall call ) : IEnumerable
call ICall
Résultat IEnumerable

ReturnType() public méthode

public ReturnType ( ) : Type
Résultat Type

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

CallFormatter public_oe property

public IMethodInfoFormatter CallFormatter
Résultat IMethodInfoFormatter