/// <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());
        }
 private static extern void Internal_CreateInstance(UndoableCommand instance);
 private static extern void Internal_CreateInstance(UndoableCommand instance);
Exemple #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());
        }