C# Class NSubstitute.Core.CallActions.CallAction

Show file Open project: nsubstitute/NSubstitute

Public Methods

Method Description
CallAction ( ICallSpecification callSpecification, Action action ) : System
Invoke ( CallInfo callInfo ) : void
IsFor ( ICallSpecification spec ) : bool
IsSatisfiedBy ( ICall call ) : bool
UpdateCallSpecification ( ICallSpecification spec ) : void

Method Details

CallAction() public method

public CallAction ( ICallSpecification callSpecification, Action action ) : System
callSpecification ICallSpecification
action Action
return System

Invoke() public method

public Invoke ( CallInfo callInfo ) : void
callInfo CallInfo
return void

IsFor() public method

public IsFor ( ICallSpecification spec ) : bool
spec ICallSpecification
return bool

IsSatisfiedBy() public method

public IsSatisfiedBy ( ICall call ) : bool
call ICall
return bool

UpdateCallSpecification() public method

public UpdateCallSpecification ( ICallSpecification spec ) : void
spec ICallSpecification
return void