Esempio n. 1
0
        void ReprRicteNaacAuswert(IVonBerictNaacGbsRepr SictRepr)
        {
            var Auswert = this.Auswert;

            var MengeMissionInDataGridRepr = DataGridMengeMission.MengeMissionRepr;

            if (Auswert != ReprAuswertLezte)
            {
                MengeMissionInDataGridRepr.Clear();
            }

            ReprAuswertLezte = Auswert;

            if (null == SictRepr)
            {
                MengeMissionInDataGridRepr.Clear();
            }
            else
            {
                SictRepr.PropagiireNaacMengeMissionRepr(Auswert, MengeMissionInDataGridRepr);
            }

            foreach (var MissionInDataGridRepr in MengeMissionInDataGridRepr)
            {
                MissionInDataGridRepr.RaisePropertyChanged();
            }
        }
Esempio n. 2
0
        void GbsEveOnlineMengeMissionAktualisiire(IVonBerictNaacGbsRepr SictRepr)
        {
            KeyValuePair <Int64, SictWertMitZait <SictMissionZuusctand> >[] MengeMission = null;

            var VonOptimatMeldungZuusctandLezte = this.VonOptimatMeldungZuusctandLezte;

            if (null != VonOptimatMeldungZuusctandLezte)
            {
                MengeMission =
                    VonOptimatMeldungZuusctandLezte.MengeMission
                    .SelectNullable((Mission) => new        KeyValuePair <Int64, SictWertMitZait <SictMissionZuusctand> >(
                                        Mission.Ident, new      SictWertMitZait <SictMissionZuusctand>(Mission.SictungFrühesteZaitMili ?? -1, Mission)))
                    .ToArrayNullable();
            }

            var GbsSctoierelementHaupt = this.GbsSctoierelementHaupt;

            if (null == GbsSctoierelementHaupt)
            {
                return;
            }

            var DataGridMengeMission = GbsSctoierelementHaupt.DataGridMengeMission;

            if (null == DataGridMengeMission)
            {
                return;
            }

            var MengeMissionInDataGridRepr = DataGridMengeMission.MengeMissionRepr;

            if (null == SictRepr)
            {
                MengeMissionInDataGridRepr.Clear();
            }
            else
            {
                SictVonBerictNaacGbsRepr.PropagiireNaacMengeMissionRepr(MengeMission, MengeMissionInDataGridRepr, false);
            }

            foreach (var MissionInDataGridRepr in MengeMissionInDataGridRepr)
            {
                MissionInDataGridRepr.RaisePropertyChanged();
            }
        }