public ArtccParser( ArtccType artccType, SectorElementCollection elements, IEventLogger eventLogger ) { this.artccType = artccType; this.elements = elements; this.eventLogger = eventLogger; }
private static ArtccSegment GetArtcc(ArtccType type, string startPointIdentifier, string endPointIdentifier) { return(new( "test", type, new Point(startPointIdentifier), new Point(endPointIdentifier), DefinitionFactory.Make(), DocblockFactory.Make(), CommentFactory.Make() )); }
public static ArtccSegment Make(ArtccType type = ArtccType.REGULAR, string identifier = null) { return(new Faker <ArtccSegment>() .CustomInstantiator( _ => new ArtccSegment( identifier ?? "EGTT", type, PointFactory.Make(), PointFactory.Make(), DefinitionFactory.Make(), DocblockFactory.Make(), CommentFactory.Make() ) )); }
public ArtccSegment( string identifier, ArtccType type, Point startPoint, Point endPoint, Definition definition, Docblock docblock, Comment inlineComment ) : base(definition, docblock, inlineComment) { Identifier = identifier; Type = type; StartPoint = startPoint; EndPoint = endPoint; }