C# Class Castle.Facilities.Synchronize.SynchronizeComponentInspector

Obtain synchronization configuration based on the component configuration check for the attributes if not available.
Inheritance: Castle.MicroKernel.ModelBuilder.Inspectors.MethodMetaInspector
Afficher le fichier Open project: castleproject/Windsor

Méthodes publiques

Méthode Description
ProcessModel ( IKernel kernel, ComponentModel model ) : void

Checks for synchronization configuration information or attributes and applies them if valid.

SynchronizeComponentInspector ( SynchronizeMetaInfoStore metaStore ) : System

Initializes a new instance of the SynchronizeComponentInspector class.

Méthodes protégées

Méthode Description
ObtainNodeName ( ) : String

Obtains the name of the node.

ProcessMeta ( ComponentModel model, IList methods, MethodMetaModel metaModel ) : void

Processes the meta information available on the component configuration.

Private Methods

Méthode Description
ApplySynchronization ( ComponentModel model, IKernel kernel ) : void

Applies the synchronization support to the model.

CheckFromAttributes ( ComponentModel model ) : void

Obtains synchronization information from the attributes.

CheckFromConfiguration ( ComponentModel model ) : bool

Obtains synchronization information from the configuration.

HasImplicitSynchronization ( ComponentModel model ) : bool

Determines whether the model has implicit synchronization.

ValidateSynchronization ( ComponentModel model ) : bool

Validates the synchronization to be applied.

Method Details

ObtainNodeName() protected méthode

Obtains the name of the node.
protected ObtainNodeName ( ) : String
Résultat String

ProcessMeta() protected méthode

Processes the meta information available on the component configuration.
protected ProcessMeta ( ComponentModel model, IList methods, MethodMetaModel metaModel ) : void
model Castle.Core.ComponentModel The model.
methods IList The methods.
metaModel Castle.Core.MethodMetaModel The meta model.
Résultat void

ProcessModel() public méthode

Checks for synchronization configuration information or attributes and applies them if valid.
public ProcessModel ( IKernel kernel, ComponentModel model ) : void
kernel IKernel The kernel.
model Castle.Core.ComponentModel The model.
Résultat void

SynchronizeComponentInspector() public méthode

Initializes a new instance of the SynchronizeComponentInspector class.
public SynchronizeComponentInspector ( SynchronizeMetaInfoStore metaStore ) : System
metaStore SynchronizeMetaInfoStore
Résultat System