Exemple #1
0
 private static EvaluationLocation CreateEmptyLocation()
 {
     return(new EvaluationLocation(
                EvaluationIdProvider.GetNextId(),
                null,
                default(EvaluationPass),
                null,
                null,
                null,
                null,
                null,
                default(EvaluationLocationKind)));
 }
 /// <summary>
 /// Constructs a generic evaluation location based on a (possibly null) parent Id.
 /// </summary>
 /// <remarks>
 /// A unique Id gets assigned automatically
 /// Used by serialization/deserialization purposes
 /// </remarks>
 public EvaluationLocation(long?parentId, EvaluationPass evaluationPass, string evaluationPassDescription, string file, int?line, string elementName, string elementDescription, EvaluationLocationKind kind)
     : this(EvaluationIdProvider.GetNextId(), parentId, evaluationPass, evaluationPassDescription, file, line, elementName, elementDescription, kind)
 {
 }