Ejemplo n.º 1
0
 protected virtual void Initialize(ConsistencyCheckType type, string description, SeverityType severity, CalendarValidationContext context, IEnumerable <ConsistencyCheckType> dependsOnCheckPassList)
 {
     this.Type                   = type;
     this.Description            = description;
     this.Severity               = severity;
     this.Context                = context;
     this.dependsOnCheckPassList = dependsOnCheckPassList;
 }
Ejemplo n.º 2
0
 internal CheckStatusType?this[ConsistencyCheckType check]
 {
     get
     {
         if (!this.checkStatusTable.ContainsKey(check))
         {
             return(null);
         }
         return(new CheckStatusType?(this.checkStatusTable[check]));
     }
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 protected PrimaryConsistencyCheckResult(ConsistencyCheckType checkType, string checkDescription, bool terminateIfNotPassed) : base(checkType, checkDescription)
 {
     this.terminationOverride  = false;
     this.terminateIfNotPassed = terminateIfNotPassed;
 }
Ejemplo n.º 5
0
 internal static PrimaryConsistencyCheckResult CreateInstance(ConsistencyCheckType checkType, string checkDescription, bool terminateIfNotPassed)
 {
     return(new PrimaryConsistencyCheckResult(checkType, checkDescription, terminateIfNotPassed));
 }
Ejemplo n.º 6
0
 internal static ConsistencyCheckResult CreateInstance(ConsistencyCheckType checkType, string checkDescription)
 {
     return(new ConsistencyCheckResult(checkType, checkDescription));
 }
Ejemplo n.º 7
0
 protected ConsistencyCheckResult(ConsistencyCheckType checkType, string checkDescription)
 {
     this.Initialize(checkType, checkDescription, CheckStatusType.Passed, new List <Inconsistency>(0));
 }
Ejemplo n.º 8
0
 private MeetingExistenceConsistencyCheckResult(ConsistencyCheckType checkType, string checkDescription) : base(checkType, checkDescription, true)
 {
     this.ItemIsFound = false;
 }
Ejemplo n.º 9
0
 internal new static MeetingExistenceConsistencyCheckResult CreateInstance(ConsistencyCheckType checkType, string checkDescription)
 {
     return(new MeetingExistenceConsistencyCheckResult(checkType, checkDescription));
 }