internal ReplicationCheckOutcome(ReplicationCheck check) : base(new SimpleProviderPropertyBag())
 {
     this.Server           = check.ServerName;
     this.Check            = check.Title;
     this.CheckDescription = check.Description;
     this.Result           = new ReplicationCheckResult(ReplicationCheckResultEnum.Undefined);
 }
Пример #2
0
 internal ReplicationCheckOutputObject(ReplicationCheck check) : base(new SimpleProviderPropertyBag())
 {
     this.Server  = check.ServerName;
     this.Check   = check.Title;
     this.CheckId = check.CheckId;
     this.Result  = new ReplicationCheckResult(ReplicationCheckResultEnum.Undefined);
 }
Пример #3
0
 public ReplicationCheckResultInfo(ReplicationCheck check)
 {
     this.m_check           = check;
     this.m_WarningMessages = new List <MessageInfo>();
     this.m_FailedMessages  = new List <MessageInfo>();
     this.m_PassedMessages  = new List <MessageInfo>();
 }
 public void LogEvents()
 {
     for (int i = 0; i < this.m_JaggedArrayChecks.Length; i++)
     {
         foreach (IReplicationCheck replicationCheck in this.m_JaggedArrayChecks[i])
         {
             ReplicationCheck replicationCheck2 = (ReplicationCheck)replicationCheck;
             if (replicationCheck2.HasRun)
             {
                 replicationCheck2.LogEvents();
             }
         }
     }
 }
        public List <ReplicationCheckOutcome> GetAllOutcomes()
        {
            List <ReplicationCheckOutcome> list = new List <ReplicationCheckOutcome>();

            for (int i = 0; i < this.m_JaggedArrayChecks.Length; i++)
            {
                foreach (IReplicationCheck replicationCheck in this.m_JaggedArrayChecks[i])
                {
                    ReplicationCheck replicationCheck2 = (ReplicationCheck)replicationCheck;
                    if (replicationCheck2.HasRun)
                    {
                        list.Add(replicationCheck2.GetCheckOutcome());
                    }
                }
            }
            return(list);
        }
        public List <ReplicationCheckOutputObject> GetAllOutputObjects()
        {
            List <ReplicationCheckOutputObject> list = new List <ReplicationCheckOutputObject>();

            for (int i = 0; i < this.m_JaggedArrayChecks.Length; i++)
            {
                foreach (IReplicationCheck replicationCheck in this.m_JaggedArrayChecks[i])
                {
                    ReplicationCheck replicationCheck2 = (ReplicationCheck)replicationCheck;
                    if (replicationCheck2.HasRun)
                    {
                        List <ReplicationCheckOutputObject> checkOutputObjects = replicationCheck2.GetCheckOutputObjects();
                        list.AddRange(checkOutputObjects);
                    }
                }
            }
            return(list);
        }