C# Class NSubstitute.Core.ResultsForType

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

Public Methods

Method Description
Clear ( ) : void
GetResult ( ICall call ) : object
HasResultFor ( ICall call ) : bool
ResultsForType ( ICallInfoFactory callInfoFactory ) : System
SetResult ( Type type, IReturn resultToReturn ) : void

Private Methods

Method Description
ReturnsVoid ( ICall call ) : bool

Method Details

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

ResultsForType() public method

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

SetResult() public method

public SetResult ( Type type, IReturn resultToReturn ) : void
type System.Type
resultToReturn IReturn
return void