Rhino. Mocks. MethodRecorders. MethodRecorderBaseRhino.Mocks.MethodRecorders.MethodRecorderBase |
recordedActions| protected IList recordedActions |
recorderToCall| protected IMethodRecorder recorderToCall |
replayerToCall| protected IMethodRecorder replayerToCall |
parentRecorder| protected IMethodRecorder parentRecorder |
replayersToIgnoreForThisCall| private IList replayersToIgnoreForThisCall |
repeatableMethods| private ProxyMethodExpectationsDictionary repeatableMethods |
recursionDepth| private int recursionDepth |
MethodRecorderBase| public MethodRecorderBase() |
MethodRecorderBase| public MethodRecorderBase( | IMethodRecorder | parentRecorder | ) |
|
Record| public void Record( | object | proxy, | | MethodInfo | method, | | IExpectation | expectation | ) |
|
GetRecordedExpectation| public IExpectation GetRecordedExpectation( | IInvocation | invocation, | | object | proxy, | | MethodInfo | method, | | object[] | args | ) |
|
GetAllExpectationsForProxyAndMethod| public abstract ExpectationsList GetAllExpectationsForProxyAndMethod( | | | object | proxy, | | | MethodInfo | method | | ) |
|
GetAllExpectationsForProxy| public ExpectationsList GetAllExpectationsForProxy( | object | proxy | ) |
|
ReplaceExpectation| public void ReplaceExpectation( | object | proxy, | | MethodInfo | method, | | IExpectation | oldExpectation, | | IExpectation | newExpectation | ) |
|
TryReplaceRepeatableExpectation| private bool TryReplaceRepeatableExpectation( | MethodInfo | method, | | IExpectation | newExpectation, | | IExpectation | oldExpectation, | | object | proxy | ) |
|
RemoveAllRepeatableExpectationsForProxy| public void RemoveAllRepeatableExpectationsForProxy( | object | proxy | ) |
|
HasExpectations| public bool HasExpectations { get } |
AddToRepeatableMethods| public void AddToRepeatableMethods( | object | proxy, | | MethodInfo | method, | | IExpectation | expectation | ) |
|
RemoveExpectation| public void RemoveExpectation( | IExpectation | expectation | ) |
|
AddRecorder| public void AddRecorder( | IMethodRecorder | recorder | ) |
|
MoveToPreviousRecorder| public bool MoveToPreviousRecorder() |
MoveToParentReplayer| public void MoveToParentReplayer() |
GetRecordedExpectationOrNull| public IExpectation GetRecordedExpectationOrNull( | object | proxy, | | MethodInfo | method, | | object[] | args | ) |
|
ClearReplayerToCall| public void ClearReplayerToCall( | IMethodRecorder | childReplayer | ) |
|
UnexpectedMethodCall| public abstract ExpectationViolationException UnexpectedMethodCall( | | | IInvocation | invocation, | | | object | proxy, | | | MethodInfo | method, | | | object[] | args | | ) |
|
GetExpectedCallsMessage| public abstract string GetExpectedCallsMessage() |
DoGetRecordedExpectationOrNull| protected abstract IExpectation DoGetRecordedExpectationOrNull( | | | object | proxy, | | | MethodInfo | method, | | | object[] | args | | ) |
|
DoRecord| protected abstract void DoRecord( | object | proxy, | | MethodInfo | method, | | IExpectation | expectation | ) |
|
DoGetRecordedExpectation| protected abstract IExpectation DoGetRecordedExpectation( | | | IInvocation | invocation, | | | object | proxy, | | | MethodInfo | method, | | | object[] | args | | ) |
|
DoGetAllExpectationsForProxy| protected abstract ExpectationsList DoGetAllExpectationsForProxy( | object | proxy | ) |
|
DoReplaceExpectation| protected abstract void DoReplaceExpectation( | object | proxy, | | MethodInfo | method, | | IExpectation | oldExpectation, | | IExpectation | newExpectation | ) |
|
DoHasExpectations| protected abstract bool DoHasExpectations { get } |
DoRemoveExpectation| protected abstract void DoRemoveExpectation( | IExpectation | expectation | ) |
|
DoAddRecorder| protected abstract void DoAddRecorder( | IMethodRecorder | recorder | ) |
|
ShouldConsiderThisReplayer| protected bool ShouldConsiderThisReplayer( | IMethodRecorder | replayer | ) |
|
GetRepeatableExpectation| public IExpectation GetRepeatableExpectation( | object | proxy, | | MethodInfo | method, | | object[] | args | ) |
|
ExpectationNotOnList| private void ExpectationNotOnList( | ExpectationsList | list, | | IExpectation | expectation | ) |
|
|