コード例 #1
0
        /// <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;
            }
        }
コード例 #2
0
 /// <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);
 }