Exemple #1
0
 public LineControlService(
     Lazy <ILineViewModelService> lineViewModelService,
     IGeometryService geometryService)
 {
     this.lineViewModelService = lineViewModelService;
     this.geometryService      = geometryService;
 }
Exemple #2
0
 public CourseService(
     IGeometryService geometryService,
     IDataProvider dataProvider,
     IOptions <CourseOptions> options)
 {
     _geometryService = geometryService;
     _dataProvider    = dataProvider;
     _options         = options.Value;
 }
 public ConsoleApplication(
     ISvgService svgService,
     IGeometryService geometryService,
     IGCodeService gCodeService,
     ICommunicationService communicationService
     )
 {
     _svgService           = svgService;
     _geometryService      = geometryService;
     _gCodeService         = gCodeService;
     _communicationService = communicationService;
 }
Exemple #4
0
 public GeometryController(IGeometryService service)
 {
     _service = service ?? throw new ArgumentNullException(nameof(service));
 }
 private GeometryController GetGeometryController(IGeometryService service)
 {
     return(new GeometryController(service));
 }
 public void Setup()
 {
     _geometryService = new GeometryService();
 }
Exemple #7
0
 public MathController(IGeometryService geometryServiceq)
 {
     _geometryService = geometryServiceq;
 }