C# Class NSubstitute.Core.Call

Inheritance: ICall
显示文件 Open project: nsubstitute/NSubstitute Class Usage Examples

Public Methods

Method Description
AssignSequenceNumber ( long number ) : void
Call ( MethodInfo methodInfo, object arguments, object target, IList argumentSpecsForCall, Func baseMethod = null ) : System
Call ( MethodInfo methodInfo, object arguments, object target, IParameterInfo parameterInfos ) : System
GetArgumentSpecifications ( ) : IList
GetArguments ( ) : object[]
GetMethodInfo ( ) : MethodInfo
GetOriginalArguments ( ) : object[]
GetParameterInfos ( ) : IParameterInfo[]
GetReturnType ( ) : Type
GetSequenceNumber ( ) : long
Target ( ) : object
TryCallBase ( ) : Maybe

Private Methods

Method Description
EmptyList ( ) : IList
GetParameterInfosFrom ( MethodInfo methodInfo ) : IParameterInfo[]

Method Details

AssignSequenceNumber() public method

public AssignSequenceNumber ( long number ) : void
number long
return void

Call() public method

public Call ( MethodInfo methodInfo, object arguments, object target, IList argumentSpecsForCall, Func baseMethod = null ) : System
methodInfo System.Reflection.MethodInfo
arguments object
target object
argumentSpecsForCall IList
baseMethod Func
return System

Call() public method

public Call ( MethodInfo methodInfo, object arguments, object target, IParameterInfo parameterInfos ) : System
methodInfo System.Reflection.MethodInfo
arguments object
target object
parameterInfos IParameterInfo
return System

GetArgumentSpecifications() public method

public GetArgumentSpecifications ( ) : IList
return IList

GetArguments() public method

public GetArguments ( ) : object[]
return object[]

GetMethodInfo() public method

public GetMethodInfo ( ) : MethodInfo
return System.Reflection.MethodInfo

GetOriginalArguments() public method

public GetOriginalArguments ( ) : object[]
return object[]

GetParameterInfos() public method

public GetParameterInfos ( ) : IParameterInfo[]
return IParameterInfo[]

GetReturnType() public method

public GetReturnType ( ) : Type
return System.Type

GetSequenceNumber() public method

public GetSequenceNumber ( ) : long
return long

Target() public method

public Target ( ) : object
return object

TryCallBase() public method

public TryCallBase ( ) : Maybe
return Maybe