예제 #1
0
파일: Path.cs 프로젝트: lulzzz/tellma
 /// <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>());
예제 #2
0
파일: Path.cs 프로젝트: lulzzz/tellma
 public Path(QueryInfo baseQuery, IEnumerable <string> steps)
 {
     QueryInfo = baseQuery ?? throw new ArgumentNullException(nameof(baseQuery));
     _steps    = steps ?? new List <string>();
 }