Beispiel #1
0
 /// <summary>
 /// Returns a new empty <see cref="Path"/> (containing 0 steps) from the given query
 /// </summary>
 public static Path Empty(QueryInfo baseQuery) => new Path(baseQuery, new List <string>());
Beispiel #2
0
 public Path(QueryInfo baseQuery, IEnumerable <string> steps)
 {
     QueryInfo = baseQuery ?? throw new ArgumentNullException(nameof(baseQuery));
     _steps    = steps ?? new List <string>();
 }