public override void InitializeComponent(ICore core) { core.Components.Configuration.GetElement <SelectionConfigurationElement>( FlacEncoderSettingsConfiguration.SECTION, FlacEncoderSettingsConfiguration.DEPTH_ELEMENT ).ConnectValue(option => this.Depth = FlacEncoderSettingsConfiguration.GetDepth(option)); core.Components.Configuration.GetElement <IntegerConfigurationElement>( FlacEncoderSettingsConfiguration.SECTION, FlacEncoderSettingsConfiguration.COMPRESSION_ELEMENT ).ConnectValue(value => this.Compression = value); base.InitializeComponent(core); }
public IEnumerable <ConfigurationSection> GetConfigurationSections() { return(FlacEncoderSettingsConfiguration.GetConfigurationSections(this)); }