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; }
internal CheckStatusType?this[ConsistencyCheckType check] { get { if (!this.checkStatusTable.ContainsKey(check)) { return(null); } return(new CheckStatusType?(this.checkStatusTable[check])); } }
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; }
protected PrimaryConsistencyCheckResult(ConsistencyCheckType checkType, string checkDescription, bool terminateIfNotPassed) : base(checkType, checkDescription) { this.terminationOverride = false; this.terminateIfNotPassed = terminateIfNotPassed; }
internal static PrimaryConsistencyCheckResult CreateInstance(ConsistencyCheckType checkType, string checkDescription, bool terminateIfNotPassed) { return(new PrimaryConsistencyCheckResult(checkType, checkDescription, terminateIfNotPassed)); }
internal static ConsistencyCheckResult CreateInstance(ConsistencyCheckType checkType, string checkDescription) { return(new ConsistencyCheckResult(checkType, checkDescription)); }
protected ConsistencyCheckResult(ConsistencyCheckType checkType, string checkDescription) { this.Initialize(checkType, checkDescription, CheckStatusType.Passed, new List <Inconsistency>(0)); }
private MeetingExistenceConsistencyCheckResult(ConsistencyCheckType checkType, string checkDescription) : base(checkType, checkDescription, true) { this.ItemIsFound = false; }
internal new static MeetingExistenceConsistencyCheckResult CreateInstance(ConsistencyCheckType checkType, string checkDescription) { return(new MeetingExistenceConsistencyCheckResult(checkType, checkDescription)); }