Esempio n. 1
0
        /// <summary>
        /// Plays the specified dialog in demo mode.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        public static void Play <T>() where T : IManagedDialog
        {
            var dialogs = new ManagedDialogs();

            dialogs.Add <T>();
            new UIShell().DemoPlay(dialogs);
        }
Esempio n. 2
0
        /// <summary>
        /// Plays the specified dialog in demo mode.
        /// </summary>
        /// <param name="dialog">The dialog.</param>
        public static void Play(Type dialog)
        {
            var dialogs = new ManagedDialogs();

            dialogs.Add(dialog);
            new UIShell().DemoPlay(dialogs);
        }
Esempio n. 3
0
        /// <summary>
        /// Plays the specified dialog set.
        /// </summary>
        /// <param name="demoProperties">The demo properties.</param>
        /// <param name="dialogSet">The dialog set.</param>
        public static void Play(string demoProperties, params Type[] dialogSet)
        {
            var dialogs = new ManagedDialogs();

            dialogSet.ForEach(dialog => dialogs.Add(dialog));
            new UIShell().DemoPlay(dialogs, demoProperties);
        }