C# Класс NSubstitute.Core.CallSpecification

Наследование: ICallSpecification
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CallFormatter IMethodInfoFormatter

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CallSpecification() публичный Метод

public CallSpecification ( MethodInfo methodInfo, IEnumerable argumentSpecifications ) : System
methodInfo System.Reflection.MethodInfo
argumentSpecifications IEnumerable
Результат System

CreateCopyThatMatchesAnyArguments() публичный Метод

public CreateCopyThatMatchesAnyArguments ( ) : ICallSpecification
Результат ICallSpecification

Format() публичный Метод

public Format ( ICall call ) : string
call ICall
Результат string

GetMethodInfo() публичный Метод

public GetMethodInfo ( ) : MethodInfo
Результат System.Reflection.MethodInfo

InvokePerArgumentActions() публичный Метод

public InvokePerArgumentActions ( CallInfo callInfo ) : void
callInfo CallInfo
Результат void

IsSatisfiedBy() публичный Метод

public IsSatisfiedBy ( ICall call ) : bool
call ICall
Результат bool

NonMatchingArguments() публичный Метод

public NonMatchingArguments ( ICall call ) : IEnumerable
call ICall
Результат IEnumerable

ReturnType() публичный Метод

public ReturnType ( ) : Type
Результат Type

ToString() публичный Метод

public ToString ( ) : string
Результат string

Описание свойств

CallFormatter публичное свойство

public IMethodInfoFormatter CallFormatter
Результат IMethodInfoFormatter