public override void ReleaseFrom(IEventPublisher eventPublisher) { base.ReleaseFrom(eventPublisher); _formulaPresenterCache.ReleaseFrom(eventPublisher); if (_formulaPresenter != null) { _formulaPresenter.ReleaseFrom(eventPublisher); } }
public override void ReleaseFrom(IEventPublisher eventPublisher) { base.ReleaseFrom(eventPublisher); _formulaPresenterCache.Each(p => p.StatusChanged -= formulaPresenterChanged); _formulaPresenterCache.ReleaseFrom(eventPublisher); }
public override void ReleaseFrom(IEventPublisher eventPublisher) { base.ReleaseFrom(eventPublisher); _formulaPresenterCache.ReleaseFrom(eventPublisher); _formulaPresenter?.ReleaseFrom(eventPublisher); }