public SidStarRouteParser( SectorElementCollection sectorElements, IEventLogger errorLog, SidStarType type ) { this.sectorElements = sectorElements; this.errorLog = errorLog; this.Type = type; }
public SidStarRoute( SidStarType type, string identifier, RouteSegment initialSegment, List <RouteSegment> segments, Definition definition, Docblock docblock, Comment inlineComment ) : base(definition, docblock, inlineComment) { Type = type; Identifier = identifier; InitialSegment = initialSegment; Segments = segments; }
public static SidStarRoute Make( SidStarType type = SidStarType.SID, List <RouteSegment> segments = null, Definition definition = null ) { return(new Faker <SidStarRoute>() .CustomInstantiator( _ => new SidStarRoute( type, "SID STAR ROUTE", RouteSegmentFactory.MakeDoublePoint(), segments ?? new List <RouteSegment>() { RouteSegmentFactory.MakeDoublePoint(), RouteSegmentFactory.MakePointCoordinate(), RouteSegmentFactory.MakeCoordinatePoint() }, definition ?? DefinitionFactory.Make(), DocblockFactory.Make(), CommentFactory.Make() ) )); }