C# Class NSubstitute.Core.CallResults

Inheritance: ICallResults
ファイルを表示 Open project: nsubstitute/NSubstitute Class Usage Examples

Public Methods

Method Description
CallResults ( ICallInfoFactory callInfoFactory ) : System.Collections.Concurrent
Clear ( ) : void
GetResult ( ICall call ) : object
HasResultFor ( ICall call ) : bool
SetResult ( ICallSpecification callSpecification, IReturn result ) : void

Private Methods

Method Description
ReturnsVoidFrom ( ICall call ) : bool

Method Details

CallResults() public method

public CallResults ( ICallInfoFactory callInfoFactory ) : System.Collections.Concurrent
callInfoFactory ICallInfoFactory
return System.Collections.Concurrent

Clear() public method

public Clear ( ) : void
return void

GetResult() public method

public GetResult ( ICall call ) : object
call ICall
return object

HasResultFor() public method

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

SetResult() public method

public SetResult ( ICallSpecification callSpecification, IReturn result ) : void
callSpecification ICallSpecification
result IReturn
return void