public void Dispose()
{
if (_subscription != null && _eventAggregator != null)
{
_eventAggregator.GetEvent<WebRequestEndEvent>().Unsubscribe(_subscription);
}
_subscription = null;
//I think it's best not to dispose the outer IDependencyResolver here, we have Dispose(true) to force anyway
}