コード例 #1
0
        internal static RepairSteps CreateInstance()
        {
            RepairSteps repairSteps = new RepairSteps();

            repairSteps.Initialize(NullOpRumInfo.CreateInstance(), new Dictionary <ExDateTime, RumInfo>());
            return(repairSteps);
        }
コード例 #2
0
 internal static MeetingComparisonResult CreateInstance(UserObject attendee, MeetingData meeting)
 {
     return(new MeetingComparisonResult
     {
         CheckResultList = new List <ConsistencyCheckResult>(),
         RepairInfo = RepairSteps.CreateInstance(),
         AttendeePrimarySmtpAddress = ((attendee.ExchangePrincipal == null) ? attendee.EmailAddress : attendee.ExchangePrincipal.MailboxInfo.PrimarySmtpAddress.ToString()),
         Meeting = meeting
     });
 }
コード例 #3
0
 internal void Merge(RepairSteps stepsToMerge)
 {
     if (stepsToMerge == null)
     {
         throw new ArgumentNullException("stepsToMerge");
     }
     this.MasterRum = RumInfo.Merge(this.MasterRum, stepsToMerge.MasterRum);
     foreach (RumInfo rum in stepsToMerge.OccurrenceRums.Values)
     {
         this.AddOccurrenceRum(rum);
     }
 }
コード例 #4
0
 private void Initialize(ConsistencyCheckType checkType, string checkDescription, CheckStatusType status, List <Inconsistency> inconsistencies)
 {
     this.CheckDescription         = checkDescription;
     this.CheckType                = checkType;
     this.status                   = status;
     this.RepairInfo               = RepairSteps.CreateInstance();
     this.Inconsistencies          = inconsistencies;
     this.Severity                 = SeverityType.Information;
     this.timestamp                = DateTime.UtcNow;
     this.comparedRecurrenceBlobs  = false;
     this.recurrenceBlobComparison = false;
     this.meetingOverlap           = int.MinValue;
     this.responseStatus           = int.MinValue;
     this.replyTime                = DateTime.MinValue;
     this.fbStatus                 = int.MinValue;
     this.ShouldBeReported         = false;
 }