C# Class Castle.Windsor.Configuration.Interpreters.AbstractInterpreter

Provides common methods for those who wants to implement IConfigurationInterpreter
Inheritance: IConfigurationInterpreter
Exibir arquivo Open project: nats/castle-1.0.3-mono

Protected Properties

Property Type Description
BootstrapNodeName string
ComponentNodeName string
ComponentsNodeName string
ContainerNodeName string
ContainersNodeName string
FacilitiesNodeName string
FacilityNodeName string
IncludeNodeName string
PropertiesNodeName string

Public Methods

Method Description
AbstractInterpreter ( ) : System
AbstractInterpreter ( IResource source ) : System
AbstractInterpreter ( string filename ) : System
ProcessResource ( IResource resource, IConfigurationStore store ) : void

Should obtain the contents from the resource, interpret it and populate the IConfigurationStore accordingly.

Protected Methods

Method Description
AddBootstrapComponentConfig ( string id, IConfiguration component, IConfigurationStore store ) : void
AddChildContainerConfig ( string name, IConfiguration childContainer, IConfigurationStore store ) : void
AddComponentConfig ( IConfiguration component, IConfigurationStore store ) : void
AddComponentConfig ( string id, IConfiguration component, IConfigurationStore store ) : void
AddFacilityConfig ( IConfiguration facility, IConfigurationStore store ) : void
AddFacilityConfig ( string id, IConfiguration facility, IConfigurationStore store ) : void
PopResource ( ) : void
ProcessInclude ( string uri, IConfigurationStore store ) : void
PushResource ( IResource resource ) : void

Private Methods

Method Description
AssertValidId ( string id ) : void

Method Details

AbstractInterpreter() public method

public AbstractInterpreter ( ) : System
return System

AbstractInterpreter() public method

public AbstractInterpreter ( IResource source ) : System
source IResource
return System

AbstractInterpreter() public method

public AbstractInterpreter ( string filename ) : System
filename string
return System

AddBootstrapComponentConfig() protected method

protected AddBootstrapComponentConfig ( string id, IConfiguration component, IConfigurationStore store ) : void
id string
component IConfiguration
store IConfigurationStore
return void

AddChildContainerConfig() protected method

protected AddChildContainerConfig ( string name, IConfiguration childContainer, IConfigurationStore store ) : void
name string
childContainer IConfiguration
store IConfigurationStore
return void

AddComponentConfig() protected method

protected AddComponentConfig ( IConfiguration component, IConfigurationStore store ) : void
component IConfiguration
store IConfigurationStore
return void

AddComponentConfig() protected method

protected AddComponentConfig ( string id, IConfiguration component, IConfigurationStore store ) : void
id string
component IConfiguration
store IConfigurationStore
return void

AddFacilityConfig() protected method

protected AddFacilityConfig ( IConfiguration facility, IConfigurationStore store ) : void
facility IConfiguration
store IConfigurationStore
return void

AddFacilityConfig() protected method

protected AddFacilityConfig ( string id, IConfiguration facility, IConfigurationStore store ) : void
id string
facility IConfiguration
store IConfigurationStore
return void

PopResource() protected method

protected PopResource ( ) : void
return void

ProcessInclude() protected method

protected ProcessInclude ( string uri, IConfigurationStore store ) : void
uri string
store IConfigurationStore
return void

ProcessResource() public abstract method

Should obtain the contents from the resource, interpret it and populate the IConfigurationStore accordingly.
public abstract ProcessResource ( IResource resource, IConfigurationStore store ) : void
resource IResource
store IConfigurationStore
return void

PushResource() protected method

protected PushResource ( IResource resource ) : void
resource IResource
return void

Property Details

BootstrapNodeName protected_oe static_oe property

protected static string BootstrapNodeName
return string

ComponentNodeName protected_oe static_oe property

protected static string ComponentNodeName
return string

ComponentsNodeName protected_oe static_oe property

protected static string ComponentsNodeName
return string

ContainerNodeName protected_oe static_oe property

protected static string ContainerNodeName
return string

ContainersNodeName protected_oe static_oe property

protected static string ContainersNodeName
return string

FacilitiesNodeName protected_oe static_oe property

protected static string FacilitiesNodeName
return string

FacilityNodeName protected_oe static_oe property

protected static string FacilityNodeName
return string

IncludeNodeName protected_oe static_oe property

protected static string IncludeNodeName
return string

PropertiesNodeName protected_oe static_oe property

protected static string PropertiesNodeName
return string