function deprecateEvent(outbound, inbound, oldEventName, newEventName, canonicalOutboundName, canonicalInboundName) {
        // Mark deprecated so EventDispatcher.on() will emit warnings
        EventDispatcher.markDeprecated(outbound, oldEventName, canonicalInboundName);

        // create an event handler for the new event to listen for
        inbound.on(newEventName, function () {
            // Dispatch the event in case anyone is still listening
            EventDispatcher.triggerWithArray(outbound, oldEventName, Array.prototype.slice.call(arguments, 1));
        });
    }
Show a deprecation warning if there are listeners for the event

```
   DeprecationWarning.deprecateEvent(exports,
                                     MainViewManager,
                                     "workingSetAdd",
                                     "workingSetAdd",
                                     "DocumentManager.workingSetAdd",
                                     "MainViewManager.workingSetAdd");
```

@param {Object} outbound - the object with the old event to dispatch
@param {Object} inbound - the object with the new event to map to the old event
@param {string} oldEventName - the name of the old event
@param {string} newEventName - the name of the new event
@param {string=} canonicalOutboundName - the canonical name of the old event
@param {string=} canonicalInboundName - the canonical name of the new event