C# 클래스 NSubstitute.Core.CallRouter

상속: ICallRouter
파일 보기 프로젝트 열기: nsubstitute/NSubstitute

공개 메소드들

메소드 설명
CallRouter ( ISubstituteState substituteState, ISubstitutionContext context, IRouteFactory routeFactory ) : System
Clear ( ClearOptions options ) : void
IsLastCallInfoPresent ( ) : bool
LastCallShouldReturn ( IReturn returnValue, NSubstitute.Core.MatchArgs matchArgs ) : NSubstitute.Core.ConfiguredCall
ReceivedCalls ( ) : IEnumerable
RegisterCustomCallHandlerFactory ( CallHandlerFactory factory ) : void
Route ( ICall call ) : object
SetReturnForType ( Type type, IReturn returnValue ) : void
SetRoute ( IRoute>.Func getRoute ) : void

비공개 메소드들

메소드 설명
IsSpecifyingACall ( ICall call ) : bool
UseDefaultRouteForNextCall ( ) : void
UseQueryRouteForNextCall ( ) : void
UseRecordCallSpecRouteForNextCall ( ) : void

메소드 상세

CallRouter() 공개 메소드

public CallRouter ( ISubstituteState substituteState, ISubstitutionContext context, IRouteFactory routeFactory ) : System
substituteState ISubstituteState
context ISubstitutionContext
routeFactory IRouteFactory
리턴 System

Clear() 공개 메소드

public Clear ( ClearOptions options ) : void
options ClearOptions
리턴 void

IsLastCallInfoPresent() 공개 메소드

public IsLastCallInfoPresent ( ) : bool
리턴 bool

LastCallShouldReturn() 공개 메소드

public LastCallShouldReturn ( IReturn returnValue, NSubstitute.Core.MatchArgs matchArgs ) : NSubstitute.Core.ConfiguredCall
returnValue IReturn
matchArgs NSubstitute.Core.MatchArgs
리턴 NSubstitute.Core.ConfiguredCall

ReceivedCalls() 공개 메소드

public ReceivedCalls ( ) : IEnumerable
리턴 IEnumerable

RegisterCustomCallHandlerFactory() 공개 메소드

public RegisterCustomCallHandlerFactory ( CallHandlerFactory factory ) : void
factory CallHandlerFactory
리턴 void

Route() 공개 메소드

public Route ( ICall call ) : object
call ICall
리턴 object

SetReturnForType() 공개 메소드

public SetReturnForType ( Type type, IReturn returnValue ) : void
type Type
returnValue IReturn
리턴 void

SetRoute() 공개 메소드

public SetRoute ( IRoute>.Func getRoute ) : void
getRoute IRoute>.Func
리턴 void