コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
ファイル: DocumentTracker.cs プロジェクト: waffle-iron/YPILIS
 public DocumentTracker(YellowstonePathology.Business.Mongo.Server mongoServer)
 {
     this.m_MongoServer = mongoServer;
 }