C# Класс FakeThat.Engine.Interceptor

Наследование: Castle.DynamicProxy.IInterceptor
Показать файл Открыть проект

Открытые методы

Метод Описание
ExpectSetter ( Delegate setterStub, CallHistoryBase callHistory ) : void
Intercept ( Castle invocation ) : void
Interceptor ( bool acceptUnstubbedCalls ) : System
RegisterOperation ( MethodInfo method, Delegate instead, CallHistoryBase stubbedOperation ) : void

Register instead to be executed when method is called. Uses MethodInfo.ToString(), which uniquely identifies any possible signature.

UnexpectSetter ( ) : void

Приватные методы

Метод Описание
GetDefault ( Type type ) : object

Описание методов

ExpectSetter() публичный Метод

public ExpectSetter ( Delegate setterStub, CallHistoryBase callHistory ) : void
setterStub System.Delegate
callHistory FakeThat.Calls.CallHistoryBase
Результат void

Intercept() публичный Метод

public Intercept ( Castle invocation ) : void
invocation Castle
Результат void

Interceptor() публичный Метод

public Interceptor ( bool acceptUnstubbedCalls ) : System
acceptUnstubbedCalls bool
Результат System

RegisterOperation() публичный Метод

Register instead to be executed when method is called. Uses MethodInfo.ToString(), which uniquely identifies any possible signature.
public RegisterOperation ( MethodInfo method, Delegate instead, CallHistoryBase stubbedOperation ) : void
method System.Reflection.MethodInfo
instead System.Delegate
stubbedOperation FakeThat.Calls.CallHistoryBase
Результат void

UnexpectSetter() публичный Метод

public UnexpectSetter ( ) : void
Результат void