C# Класс Castle.MicroKernel.ModelBuilder.Inspectors.ComponentProxyInspector

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

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

Метод Описание
ComponentProxyInspector ( IConversionManager converter ) : System
ProcessModel ( IKernel kernel, ComponentModel model ) : void

Searches for proxy behavior in the configuration and, if unsuccessful look for the ComponentProxyBehaviorAttribute attribute in the implementation type.

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

Метод Описание
ReadProxyBehavior ( IKernel kernel, ComponentModel model ) : void

Reads the proxy behavior associated with the component configuration/type and applies it to the model.

ReadProxyBehaviorFromType ( Type implementation ) : ComponentProxyBehaviorAttribute

Returns a ComponentProxyBehaviorAttribute instance if the type uses the attribute. Otherwise returns null.

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

Метод Описание
ApplyProxyBehavior ( ComponentProxyBehaviorAttribute behavior, ComponentModel model ) : void
EnsureComponentRegisteredWithInterface ( ComponentModel model ) : void
ReadProxyBehaviorFromConfig ( ComponentModel model, ComponentProxyBehaviorAttribute behavior ) : void

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

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

public ComponentProxyInspector ( IConversionManager converter ) : System
converter IConversionManager
Результат System

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

Searches for proxy behavior in the configuration and, if unsuccessful look for the ComponentProxyBehaviorAttribute attribute in the implementation type.
public ProcessModel ( IKernel kernel, ComponentModel model ) : void
kernel IKernel
model Castle.Core.ComponentModel
Результат void

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

Reads the proxy behavior associated with the component configuration/type and applies it to the model.
/// If the conversion fails ///
protected ReadProxyBehavior ( IKernel kernel, ComponentModel model ) : void
kernel IKernel
model Castle.Core.ComponentModel
Результат void

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

Returns a ComponentProxyBehaviorAttribute instance if the type uses the attribute. Otherwise returns null.
protected ReadProxyBehaviorFromType ( Type implementation ) : ComponentProxyBehaviorAttribute
implementation System.Type
Результат Castle.Core.ComponentProxyBehaviorAttribute