Table of Contents

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

string

ModuleType

Gets the full type with assembly name.

string ModuleType { get; }

Property Value

string

Properties

Gets the properties.

ICollection<ConfigurationProperty> Properties { get; }

Property Value

ICollection<ConfigurationProperty>

SubModuleConfigurations

Gets module configurations for the sub modules.

ICollection<IModuleConfiguration> SubModuleConfigurations { get; }

Property Value

ICollection<IModuleConfiguration>

Methods

ApplyToModule(ILisrtModule, IStringConverter)

Apply the properties to a module and those sub modules.

bool ApplyToModule(ILisrtModule module, IStringConverter converter)

Parameters

module ILisrtModule

Target module.

converter IStringConverter

Converter that converts a string to object.

Returns

bool

True if all properties could be found, otherwise false.