C# Class Castle.Facilities.Synchronize.SynchronizeInterceptor

Inheritance: IInterceptor, IOnBehalfAware
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

SetInterceptedComponentModel() public méthode

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

SynchronizeInterceptor() public méthode

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