C# Class NSubstitute.Core.CallActions

Inheritance: ICallActions
Show file Open project: nsubstitute/NSubstitute Class Usage Examples

Public Methods

Method Description
Add ( ICallSpecification callSpecification ) : void
Add ( ICallSpecification callSpecification, Action action ) : void
CallActions ( ICallInfoFactory callInfoFactory ) : System
Clear ( ) : void
InvokeMatchingActions ( ICall call ) : void
MoveActionsForSpecToNewSpec ( ICallSpecification oldCallSpecification, ICallSpecification newCallSpecification ) : void

Method Details

Add() public method

public Add ( ICallSpecification callSpecification ) : void
callSpecification ICallSpecification
return void

Add() public method

public Add ( ICallSpecification callSpecification, Action action ) : void
callSpecification ICallSpecification
action Action
return void

CallActions() public method

public CallActions ( ICallInfoFactory callInfoFactory ) : System
callInfoFactory ICallInfoFactory
return System

Clear() public method

public Clear ( ) : void
return void

InvokeMatchingActions() public method

public InvokeMatchingActions ( ICall call ) : void
call ICall
return void

MoveActionsForSpecToNewSpec() public method

public MoveActionsForSpecToNewSpec ( ICallSpecification oldCallSpecification, ICallSpecification newCallSpecification ) : void
oldCallSpecification ICallSpecification
newCallSpecification ICallSpecification
return void