Пример #1
0
        public static void SendAsync(MvvmViewModel vm)
        {
            MvvmCommand <T> cmd = (new T()) as MvvmCommand <T>;

            cmd.m_vm = vm;

            Debuger.LogVerbose("{0} Begin--------------", typeof(T).Name);
            PumpAsyncCommand(cmd);
        }
Пример #2
0
        public static void Send(MvvmViewModel vm)
        {
            MvvmCommand <T> cmd = (new T()) as MvvmCommand <T>;

            cmd.m_vm = vm;

            Debuger.LogVerbose("{0} Begin--------------", typeof(T).Name);
            cmd.Execute();
            Debuger.LogVerbose("{0} End----------------", typeof(T).Name);
        }