C# Class NSubstitute.Routing.Handlers.ReturnAutoValue

Inheritance: ICallHandler
Show file Open project: nsubstitute/NSubstitute

Public Methods

Method Description
Handle ( ICall call ) : NSubstitute.Core.RouteAction
ReturnAutoValue ( AutoValueBehaviour autoValueBehaviour, IEnumerable autoValueProviders, ICallResults callResults, ICallSpecificationFactory callSpecificationFactory ) : System

Private Methods

Method Description
ReturnValueUsingProvider ( ICall call, Type type ) : RouteAction>.Func

Method Details

Handle() public method

public Handle ( ICall call ) : NSubstitute.Core.RouteAction
call ICall
return NSubstitute.Core.RouteAction

ReturnAutoValue() public method

public ReturnAutoValue ( AutoValueBehaviour autoValueBehaviour, IEnumerable autoValueProviders, ICallResults callResults, ICallSpecificationFactory callSpecificationFactory ) : System
autoValueBehaviour AutoValueBehaviour
autoValueProviders IEnumerable
callResults ICallResults
callSpecificationFactory ICallSpecificationFactory
return System