Ejemplo n.º 1
0
        /// <summary>
        /// Registers a new undo command.
        /// </summary>
        /// <param name="command">Command to register</param>
        public void RegisterCommand(UndoableCommand command)
        {
            if (command == null)
            {
                return;
            }

            Internal_RegisterCommand(mCachedPtr, command.GetCachedPtr());
        }
Ejemplo n.º 2
0
 private static extern void Internal_CreateInstance(UndoableCommand instance);
Ejemplo n.º 3
0
 private static extern void Internal_CreateInstance(UndoableCommand instance);
Ejemplo n.º 4
0
        /// <summary>
        /// Registers a new undo command.
        /// </summary>
        /// <param name="command">Command to register</param>
        public void RegisterCommand(UndoableCommand command)
        {
            if (command == null)
                return;

            Internal_RegisterCommand(mCachedPtr, command.GetCachedPtr());
        }