Exemplo n.º 1
0
        private void AddSyncJobHistory(SyncJobViewModel syncJobViewModel)
        {
            SyncJobPanelViewModel syncJobPanel = new SyncJobPanelViewModel(this.relationship)
            {
                SyncJobViewModel = syncJobViewModel
            };

            int index = this.FindIndex(syncJobPanel);

            this.Children.Insert(index, new SyncJobNodeViewModel(this, syncJobPanel));
            this.RaisePropertyChanged(nameof(this.Children));
        }
 public SyncJobMessage(SyncJobViewModel syncJob)
 {
     SyncJob = syncJob;
 }