C# 클래스 Moq.Interceptor

Implements the actual interception and method invocation for all mocks.
상속: ICallInterceptor
파일 보기 프로젝트 열기: moq/moq4 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClearCalls void
Intercept void
InterceptionStrategies IEnumerable
Verify void
VerifyAll void
VerifyOrThrow void

공개 메소드들

메소드 설명
AddCall ( IProxyCall call, SetupKind kind ) : void
Interceptor ( MockBehavior behavior, Type targetType, Mock mock ) : System

비공개 메소드들

메소드 설명
ClearCalls ( ) : void
Intercept ( ICallContext invocation ) : void
InterceptionStrategies ( ) : IEnumerable
Verify ( ) : void
VerifyAll ( ) : void
VerifyOrThrow ( bool>.Func match ) : void

메소드 상세

AddCall() 공개 메소드

public AddCall ( IProxyCall call, SetupKind kind ) : void
call IProxyCall
kind SetupKind
리턴 void

Interceptor() 공개 메소드

public Interceptor ( MockBehavior behavior, Type targetType, Mock mock ) : System
behavior MockBehavior
targetType System.Type
mock Mock
리턴 System