Interface IModuleConfiguration
- Namespace
- Loehnert.Lisrt.Modules.Configuration
- Assembly
- Loehnert.Lisrt.Modules.dll
Interface for a module configuration.
public interface IModuleConfiguration
- Extension Methods
Properties
ModuleName
Gets the full name.
string ModuleName { get; }
Property Value
ModuleType
Gets the full type with assembly name.
string ModuleType { get; }
Property Value
Properties
Gets the properties.
ICollection<ConfigurationProperty> Properties { get; }
Property Value
SubModuleConfigurations
Gets module configurations for the sub modules.
ICollection<IModuleConfiguration> SubModuleConfigurations { get; }
Property Value
Methods
ApplyToModule(ILisrtModule, IStringConverter)
Apply the properties to a module and those sub modules.
bool ApplyToModule(ILisrtModule module, IStringConverter converter)
Parameters
module
ILisrtModuleTarget module.
converter
IStringConverterConverter that converts a string to object.
Returns
- bool
True if all properties could be found, otherwise false.