private void OnApplicationStateRequested(ApplicationStateRequestedMessage message)
        {
            bool noCriteria  = Criteria == null;
            var  filterState = new PersistentFiltersApplicationState
            {
                BeginDate = noCriteria ? null : Criteria.BeginDate,
                EndDate   = noCriteria ? null : Criteria.EndDate,
            };

            message.PersistThisModel(filterState);
        }
示例#2
0
 private void OnApplicationStateRequested(ApplicationStateRequestedMessage message)
 {
     message.PersistThisModel(this.chartsService.PreparePersistentStateData());
 }
示例#3
0
        private void OnApplicationStateRequested(ApplicationStateRequestedMessage message)
        {
            StatementApplicationState statementMetadata = this.transactionService.PreparePersistentStateData();

            message.PersistThisModel(statementMetadata);
        }
        private void OnApplicationStateRequested(ApplicationStateRequestedMessage message)
        {
            bool noCriteria = Criteria == null;
            var filterState = new PersistentFiltersApplicationState
            {
                BeginDate = noCriteria ? null : Criteria.BeginDate,
                EndDate = noCriteria ? null : Criteria.EndDate,
            };

            message.PersistThisModel(filterState);
        }
 private void OnApplicationStateRequested(ApplicationStateRequestedMessage message)
 {
     message.PersistThisModel(this.chartsService.PreparePersistentStateData());
 }