public ClaimProblem(ClaimProblemType problemType, ProblemSeverity severity, DateTime?problemTime = null, string extraInfo = null) { ProblemType = problemType; Severity = severity; ProblemTime = problemTime; ExtraInfo = extraInfo; }
public FieldRelatedProblem(ClaimProblemType problemType, ProblemSeverity severity, [NotNull] ProjectField field) : base(problemType, severity, null, field.FieldName) { if (field == null) { throw new ArgumentNullException(nameof(field)); } Field = field; }
private static ClaimProblem FieldProblem(ClaimProblemType problemType, ProblemSeverity severity, FieldWithValue fieldWithValue) { return(new FieldRelatedProblem(problemType, severity, fieldWithValue.Field)); }