C# Class Orchard.Environment.HostComponentsConfigModule

Alter components instantiations by setting property values defined in a configuration file
Inheritance: Autofac.Module
Show file Open project: ucdavis/Orchard

Public Properties

Property Type Description
_config IEnumerable>.IDictionary

Public Methods

Method Description
ChangeToCompatibleType ( string value, Type destinationType, object &result ) : bool
HostComponentsConfigModule ( ) : System
HostComponentsConfigModule ( string fileName ) : System

Protected Methods

Method Description
AttachToComponentRegistration ( IComponentRegistry componentRegistry, IComponentRegistration registration ) : void

Private Methods

Method Description
Attr ( System.Xml.Linq.XElement component, System.Xml.Linq.XName name ) : string
BuildPropertiesInjectors ( Type componentType, IEnumerable properties ) : object>>.IEnumerable

Method Details

AttachToComponentRegistration() protected method

protected AttachToComponentRegistration ( IComponentRegistry componentRegistry, IComponentRegistration registration ) : void
componentRegistry IComponentRegistry
registration IComponentRegistration
return void

ChangeToCompatibleType() public static method

public static ChangeToCompatibleType ( string value, Type destinationType, object &result ) : bool
value string
destinationType System.Type
result object
return bool

HostComponentsConfigModule() public method

public HostComponentsConfigModule ( ) : System
return System

HostComponentsConfigModule() public method

public HostComponentsConfigModule ( string fileName ) : System
fileName string
return System

Property Details

_config public property

public IDictionary> _config
return IEnumerable>.IDictionary