public KMLImporter( IGeoConfig config, IJ4JLogger?logger = null ) : base(config, logger) { Type = GeoExtensions.GetTargetType <ImporterAttribute>(GetType()) !.Type; }
public DistanceProcessor( IGeoConfig config, IJ4JLogger?logger ) : base(config, ProcessorType.Distance, logger) { Type = GeoExtensions.GetTargetType <RouteProcessorAttribute>(GetType()) !.Type; }
protected FileHandler( IGeoConfig config, IJ4JLogger?logger ) { Configuration = config; Logger = logger; Logger?.SetLoggedType(GetType()); }
protected RouteProcessor( IGeoConfig config, ProcessorType processorType, IJ4JLogger?logger) { Configuration = config.ProcessorInfo !; Processor = config.ProcessorType; ProcessorType = processorType; ReportingInterval = ProcessorType.MaxPointsPerRequest() == int.MaxValue ? 500 : ProcessorType.MaxPointsPerRequest() * 5; Logger = logger; Logger?.SetLoggedType(GetType()); }