C# Class Orchard.Environment.HostComponentsConfigModule

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

Méthodes publiques

Свойство Type Description
_config IEnumerable>.IDictionary

Méthodes publiques

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

Méthodes protégées

Méthode Description
AttachToComponentRegistration ( IComponentRegistry componentRegistry, IComponentRegistration registration ) : void

Private Methods

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

Method Details

AttachToComponentRegistration() protected méthode

protected AttachToComponentRegistration ( IComponentRegistry componentRegistry, IComponentRegistration registration ) : void
componentRegistry IComponentRegistry
registration IComponentRegistration
Résultat void

ChangeToCompatibleType() public static méthode

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

HostComponentsConfigModule() public méthode

public HostComponentsConfigModule ( ) : System
Résultat System

HostComponentsConfigModule() public méthode

public HostComponentsConfigModule ( string fileName ) : System
fileName string
Résultat System

Property Details

_config public_oe property

public IDictionary> _config
Résultat IEnumerable>.IDictionary