C# Класс AspectSharp.Core.Dispatcher.DefaultInvocationDispatcher

Наследование: IInvocationDispatcher, IDeserializationCallback
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DefaultInvocationDispatcher ( AspectSharp.Lang.AST.AspectDefinition aspect ) : System
Init ( AspectEngine engine ) : void
Intercept ( Castle invocation ) : void
OnDeserialization ( object sender ) : void

Защищенные методы

Метод Описание
CreateInterceptor ( InterceptorDefinitionCollection advices ) : IMethodInterceptor[]
ObtainAdvices ( PointCutDefinition pointcuts ) : IMethodInterceptor[]
ObtainFromCache ( MethodInfo method ) : IMethodInterceptor[]
ObtainInterceptorInstance ( Type adviceType ) : IMethodInterceptor
RegisterInCache ( MethodInfo method, IMethodInterceptor interceptors ) : void

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

Метод Описание
InitializeInterceptor ( IMethodInterceptor interceptor ) : void
ObtainAdvicesForMethod ( MethodInfo method, object instance, object arguments ) : IMethodInterceptor[]

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

CreateInterceptor() защищенный Метод

protected CreateInterceptor ( InterceptorDefinitionCollection advices ) : IMethodInterceptor[]
advices AspectSharp.Lang.AST.InterceptorDefinitionCollection
Результат IMethodInterceptor[]

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

public DefaultInvocationDispatcher ( AspectSharp.Lang.AST.AspectDefinition aspect ) : System
aspect AspectSharp.Lang.AST.AspectDefinition
Результат System

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

public Init ( AspectEngine engine ) : void
engine AspectEngine
Результат void

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

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

ObtainAdvices() защищенный Метод

protected ObtainAdvices ( PointCutDefinition pointcuts ) : IMethodInterceptor[]
pointcuts AspectSharp.Lang.AST.PointCutDefinition
Результат IMethodInterceptor[]

ObtainFromCache() защищенный Метод

protected ObtainFromCache ( MethodInfo method ) : IMethodInterceptor[]
method System.Reflection.MethodInfo
Результат IMethodInterceptor[]

ObtainInterceptorInstance() защищенный Метод

protected ObtainInterceptorInstance ( Type adviceType ) : IMethodInterceptor
adviceType System.Type
Результат IMethodInterceptor

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

public OnDeserialization ( object sender ) : void
sender object
Результат void

RegisterInCache() защищенный Метод

protected RegisterInCache ( MethodInfo method, IMethodInterceptor interceptors ) : void
method System.Reflection.MethodInfo
interceptors IMethodInterceptor
Результат void