C# Class Castle.Facilities.Synchronize.SynchronizeInterceptor

Inheritance: IInterceptor, IOnBehalfAware
Mostrar archivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

Intercept() public method

Intercepts the invocation and applies any necessary synchronization.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation The invocation.
return void

SetInterceptedComponentModel() public method

Sets the intercepted ComponentModel.
public SetInterceptedComponentModel ( ComponentModel target ) : void
target Castle.Core.ComponentModel The targets ComponentModel.
return void

SynchronizeInterceptor() public method

Initializes a new instance of the SynchronizeInterceptor class.
public SynchronizeInterceptor ( IKernel kernel, SynchronizeMetaInfoStore metaStore ) : System
kernel IKernel The kernel.
metaStore SynchronizeMetaInfoStore The meta store.
return System