C# Класс Castle.Facilities.Synchronize.SynchronizeInterceptor

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

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

Метод Описание
Intercept ( IInvocation invocation ) : void

Intercepts the invocation and applies any necessary synchronization.

SetInterceptedComponentModel ( ComponentModel target ) : void

Sets the intercepted ComponentModel.

SynchronizeInterceptor ( IKernel kernel, SynchronizeMetaInfoStore metaStore ) : System

Initializes a new instance of the SynchronizeInterceptor class.

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

Метод Описание
InvokeInSynchronizationContext ( IInvocation invocation ) : bool

Continues the invocation in a synchronization context if necessary.

InvokeSafely ( IInvocation invocation ) : void

Used by the safe synchronization delegate.

InvokeUsingSynchronizationTarget ( IInvocation invocation ) : bool

Continues the invocation using the targets implicit synchronization if necessary.

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

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

Intercepts the invocation and applies any necessary synchronization.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation The invocation.
Результат void

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

Sets the intercepted ComponentModel.
public SetInterceptedComponentModel ( ComponentModel target ) : void
target Castle.Core.ComponentModel The targets ComponentModel.
Результат void

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

Initializes a new instance of the SynchronizeInterceptor class.
public SynchronizeInterceptor ( IKernel kernel, SynchronizeMetaInfoStore metaStore ) : System
kernel IKernel The kernel.
metaStore SynchronizeMetaInfoStore The meta store.
Результат System