public MongoMigrationWindow() { this.m_SQLTransferServer = new Business.Mongo.TestServer(Business.Mongo.TestServer.SQLTransferDatabasename); this.m_TransferCollection = YellowstonePathology.Business.Mongo.Gateway.GetTransferCollection(); this.m_DocumentCollectionTracker = new Business.Mongo.DocumentCollectionTracker(this.m_TransferCollection, this.m_SQLTransferServer); this.m_StatusMessage = "Idle"; InitializeComponent(); this.DataContext = this; }
public DocumentCollectionTracker(YellowstonePathology.Business.ReportDistribution.Model.ReportDistributionLogEntryCollection collection, YellowstonePathology.Business.Mongo.Server mongoServer) { this.m_MongoServer = mongoServer; this.m_DocumentTrackerList = new List<DocumentTracker>(); foreach (INotifyPropertyChanged o in collection) { DocumentTracker documentTracker = new DocumentTracker(this.m_MongoServer); documentTracker.Register(o); this.m_DocumentTrackerList.Add(documentTracker); } collection.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(CollectionChanged); }
public DocumentCollectionTracker(YellowstonePathology.Business.ReportDistribution.Model.ReportDistributionLogEntryCollection collection, YellowstonePathology.Business.Mongo.Server mongoServer) { this.m_MongoServer = mongoServer; this.m_DocumentTrackerList = new List <DocumentTracker>(); foreach (INotifyPropertyChanged o in collection) { DocumentTracker documentTracker = new DocumentTracker(this.m_MongoServer); documentTracker.Register(o); this.m_DocumentTrackerList.Add(documentTracker); } collection.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(CollectionChanged); }
public DocumentTracker(YellowstonePathology.Business.Mongo.Server mongoServer) { this.m_MongoServer = mongoServer; }