/// <summary> /// Initializes a new instance of the <see cref="UltravioletUI"/> class. /// </summary> /// <param name="uv">The Ultraviolet context.</param> /// <param name="configuration">The Ultraviolet Framework configuration settings for the current context.</param> public UltravioletUI(UltravioletContext uv, UltravioletConfiguration configuration) : base(uv) { screenStacks = new UIScreenStackCollection(uv); if (uv.Platform != UltravioletPlatform.Android && uv.Platform != UltravioletPlatform.iOS) { WatchingViewFilesForChanges = configuration.WatchViewFilesForChanges; } }
/// <summary> /// Initializes a new instance of the <see cref="UltravioletUI"/> class. /// </summary> /// <param name="uv">The Ultraviolet context.</param> /// <param name="configuration">The Ultraviolet Framework configuration settings for the current context.</param> public UltravioletUI(UltravioletContext uv, UltravioletConfiguration configuration) : base(uv) { screenStacks = new UIScreenStackCollection(uv); }