C# Class Moq.Interceptor

Implements the actual interception and method invocation for all mocks.
Inheritance: ICallInterceptor
Afficher le fichier Open project: moq/moq4 Class Usage Examples

Private Properties

Свойство Type Description
ClearCalls void
Intercept void
InterceptionStrategies IEnumerable
Verify void
VerifyAll void
VerifyOrThrow void

Méthodes publiques

Méthode Description
AddCall ( IProxyCall call, SetupKind kind ) : void
Interceptor ( MockBehavior behavior, Type targetType, Mock mock ) : System

Private Methods

Méthode Description
ClearCalls ( ) : void
Intercept ( ICallContext invocation ) : void
InterceptionStrategies ( ) : IEnumerable
Verify ( ) : void
VerifyAll ( ) : void
VerifyOrThrow ( bool>.Func match ) : void

Method Details

AddCall() public méthode

public AddCall ( IProxyCall call, SetupKind kind ) : void
call IProxyCall
kind SetupKind
Résultat void

Interceptor() public méthode

public Interceptor ( MockBehavior behavior, Type targetType, Mock mock ) : System
behavior MockBehavior
targetType System.Type
mock Mock
Résultat System