C# Class NSubstitute.Routing.RouteFactory

Inheritance: IRouteFactory
Mostrar archivo Open project: nsubstitute/NSubstitute Class Usage Examples

Public Methods

Method Description
CallQuery ( ISubstituteState state ) : IRoute
CheckReceivedCalls ( ISubstituteState state, NSubstitute.Core.MatchArgs matchArgs, Quantity requiredQuantity ) : IRoute
DoNotCallBase ( ISubstituteState state, NSubstitute.Core.MatchArgs matchArgs ) : IRoute
DoWhenCalled ( ISubstituteState state, Action doAction, NSubstitute.Core.MatchArgs matchArgs ) : IRoute
RaiseEvent ( ISubstituteState state, object[]>.Func getEventArguments ) : IRoute
RecordCallSpecification ( ISubstituteState state ) : IRoute
RecordReplay ( ISubstituteState state ) : IRoute

Private Methods

Method Description
ReturnDefaultForReturnTypeHandler ( ) : NSubstitute.Routing.Handlers.ReturnDefaultForReturnTypeHandler

Method Details

CallQuery() public method

public CallQuery ( ISubstituteState state ) : IRoute
state ISubstituteState
return IRoute

CheckReceivedCalls() public method

public CheckReceivedCalls ( ISubstituteState state, NSubstitute.Core.MatchArgs matchArgs, Quantity requiredQuantity ) : IRoute
state ISubstituteState
matchArgs NSubstitute.Core.MatchArgs
requiredQuantity Quantity
return IRoute

DoNotCallBase() public method

public DoNotCallBase ( ISubstituteState state, NSubstitute.Core.MatchArgs matchArgs ) : IRoute
state ISubstituteState
matchArgs NSubstitute.Core.MatchArgs
return IRoute

DoWhenCalled() public method

public DoWhenCalled ( ISubstituteState state, Action doAction, NSubstitute.Core.MatchArgs matchArgs ) : IRoute
state ISubstituteState
doAction Action
matchArgs NSubstitute.Core.MatchArgs
return IRoute

RaiseEvent() public method

public RaiseEvent ( ISubstituteState state, object[]>.Func getEventArguments ) : IRoute
state ISubstituteState
getEventArguments object[]>.Func
return IRoute

RecordCallSpecification() public method

public RecordCallSpecification ( ISubstituteState state ) : IRoute
state ISubstituteState
return IRoute

RecordReplay() public method

public RecordReplay ( ISubstituteState state ) : IRoute
state ISubstituteState
return IRoute