C# 클래스 Castle.MicroKernel.ModelBuilder.Inspectors.ComponentProxyInspector

상속: IContributeComponentModelConstruction
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
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