C# Class Castle.MicroKernel.ModelBuilder.Inspectors.MethodMetaInspector

Base for inspectors that want configuration associated with methods. For each child a MethodMetaModel is created and added to ComponentModel's methods collection
Implementors should override the ObtainNodeName return the name of the node to be inspected. For example: ]]>
Inheritance: IContributeComponentModelConstruction
Show file Open project: castleproject/Windsor

Public Methods

Method Description
ProcessModel ( IKernel kernel, ComponentModel model ) : void

Protected Methods

Method Description
IsValidMeta ( ComponentModel model, MethodMetaModel metaModel ) : bool
ObtainNodeName ( ) : String
ProcessMeta ( ComponentModel model, IList methods, MethodMetaModel metaModel ) : void

Private Methods

Method Description
AssertNameIsNotNull ( string name, ComponentModel model ) : void
ConvertSignature ( string signature ) : System.Type[]
EnsureHasReferenceToConverter ( IKernel kernel ) : void
GetMethods ( Type implementation, String name, String signature ) : IList

Method Details

IsValidMeta() protected method

protected IsValidMeta ( ComponentModel model, MethodMetaModel metaModel ) : bool
model Castle.Core.ComponentModel
metaModel Castle.Core.MethodMetaModel
return bool

ObtainNodeName() protected abstract method

protected abstract ObtainNodeName ( ) : String
return String

ProcessMeta() protected method

protected ProcessMeta ( ComponentModel model, IList methods, MethodMetaModel metaModel ) : void
model Castle.Core.ComponentModel
methods IList
metaModel Castle.Core.MethodMetaModel
return void

ProcessModel() public method

public ProcessModel ( IKernel kernel, ComponentModel model ) : void
kernel IKernel
model Castle.Core.ComponentModel
return void