/// <summary> /// Populates the Ultraviolet configuration from the application settings. /// </summary> partial void PopulateConfigurationFromSettings(UltravioletConfiguration configuration) { if (this.settings?.Window != null) { configuration.InitialWindowPosition = this.settings.Window.WindowedPosition; } }
/// <summary> /// Populates the specified Ultraviolet configuration with the application's initial values. /// </summary> /// <param name="configuration">The <see cref="UltravioletConfiguration"/> to populate.</param> protected void PopulateConfiguration(UltravioletConfiguration configuration) { Contract.Require(configuration, nameof(configuration)); if (this.settings?.Window != null) { configuration.InitialWindowPosition = this.settings.Window.WindowedPosition; } }
/// <summary> /// Populates the specified Ultraviolet configuration with the application's initial values. /// </summary> /// <param name="configuration">The <see cref="UltravioletConfiguration"/> to populate.</param> protected void PopulateConfiguration(UltravioletConfiguration configuration) { Contract.Require(configuration, nameof(configuration)); }
/// <summary> /// Populates the Ultraviolet configuration from the application settings. /// </summary> partial void PopulateConfigurationFromSettings(UltravioletConfiguration configuration);