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); }
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); }