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