예제 #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());
        }
예제 #2
0
 private static extern void Internal_CreateInstance(UndoableCommand instance);
예제 #3
0
 private static extern void Internal_CreateInstance(UndoableCommand instance);
예제 #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());
        }