public ExpandVerticesCommand2(ILoggerFactory loggerFactory, ISvgService svgService) { _logger = loggerFactory.CreateLogger(nameof(ExpandVerticesCommand2)); _svgService = svgService; CommandLineApplication command = ApplicationContext.CommandLineApplication .Command("expand-vertices2", config => { config.Description = "TODO"; config.OnExecute(() => Execute()); }); _inputPathArgument = command.Argument("<input-path>", "TODO"); _outputPathArgument = command.Argument("<output-path>", "TODO"); _distanceArgument = command.Argument("<distance>", "TODO"); _debugSvg = command.Option( "--debug-svg", "TODO", CommandOptionType.SingleValue); }
public ExpandVerticesCommand2(ILoggerFactory loggerFactory, ISvgService svgService) { _logger = loggerFactory.CreateLogger(nameof(ExpandVerticesCommand2)); _svgService = svgService; CommandLineApplication command = ApplicationContext.CommandLineApplication .Command("expand-vertices2", config => { config.Description = "Expand list of vertices; this version uses the GeometRi library to avoid issues with vertical lines that the expand-vertices command has."; config.OnExecute(() => Execute()); }); _inputPathArgument = command.Argument("<input-path>", "TODO"); _outputPathArgument = command.Argument("<output-path>", "TODO"); _distanceArgument = command.Argument("<distance>", "TODO"); _debugSvg = command.Option( "--debug-svg", "TODO", CommandOptionType.SingleValue); }
public ScalableVectorGraphicsController(IPdfService pdfService, ISvgService svgService) { _pdfService = pdfService; _svgService = svgService; }
public void Setup() { _svgService = new SvgService(); }
public Program(IParameterFactory parameterFactory, ISvgService svgService) { this.ParameterFactory = parameterFactory; this.SvgService = svgService; }