public override void InitializeComponent(ICore core) { this.ImageLoader = ComponentRegistry.Instance.GetComponent<ImageLoader>(); this.SignalEmitter = core.Components.SignalEmitter; this.SignalEmitter.Signal += this.OnSignal; this.Configuration = core.Components.Configuration; this.Configuration.GetElement<SelectionConfigurationElement>( WindowsUserInterfaceConfiguration.SECTION, LibraryBrowserBehaviourConfiguration.LIBRARY_BROWSER_TILE_IMAGE ).ConnectValue(option => this.ImageMode = LibraryBrowserBehaviourConfiguration.GetLibraryImage(option)); base.InitializeComponent(core); }
public IEnumerable <ConfigurationSection> GetConfigurationSections() { return(LibraryBrowserBehaviourConfiguration.GetConfigurationSections()); }