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