public static void UpdLastUsed( IViCommand c, Object a) { _lastusedcommand = c; _lastusedargument = a; if ( !c.GetType().IsDefined(typeof(MovementAttribute), false)){ LastUsedCommandForDot = c; LastUsedArgumentForDot = a; } }
public static void ResetCommand() { _lastusedargument=null; _lastusedcommand=null; }