private void ChangeRegionContext(object regionContext) { IEntityRegionContext entityRegionContext = regionContext as IEntityRegionContext; EntityId = entityRegionContext == null ? (long?)null : entityRegionContext.EntityId; RefreshPageData(); }
private void SetMultiPageBottomRegionContext(IEntityRegionContext pageRegionContext, long context) { pageRegionContext.EntityId = context; if (EventAggregator.GetEvent <ChangeMultiPageBottomRegionContextEvent>() != null) { EventAggregator.GetEvent <ChangeMultiPageBottomRegionContextEvent>().Publish(pageRegionContext); } }