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

Obtain synchronization configuration based on the component configuration check for the attributes if not available.
Наследование: Castle.MicroKernel.ModelBuilder.Inspectors.MethodMetaInspector
Показать файл Открыть проект

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

Метод Описание
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.

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

Метод Описание
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.

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

Метод Описание
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.

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

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

Obtains the name of the node.
protected ObtainNodeName ( ) : String
Результат String

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

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.
Результат void

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

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.
Результат void

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

Initializes a new instance of the SynchronizeComponentInspector class.
public SynchronizeComponentInspector ( SynchronizeMetaInfoStore metaStore ) : System
metaStore SynchronizeMetaInfoStore
Результат System