public frmCreateXR(
            ITermsService termsService,
            IAliasesRepository aliasesRepository,
            IAmazonClient amazonClient,
            IRoentgenClient roentgenClient,
            IAliasesService aliasesService)
        {
            _termsService      = termsService;
            _aliasesRepository = aliasesRepository;
            _amazonClient      = amazonClient;
            _roentgenClient    = roentgenClient;
            _aliasesService    = aliasesService;
            InitializeComponent();

            var dgvType = dgvTerms.GetType();
            var pi      = dgvType.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic);

            pi?.SetValue(dgvTerms, true, null);
        }
Beispiel #2
0
        public frmCreateXR(
            ITermsService termsService,
            IAliasesRepository aliasesRepository,
            IAmazonClient amazonClient,
            IRoentgenClient roentgenClient,
            IAliasesService aliasesService,
            IDirectoryService directoryService,
            IParagraphsService paragraphsService,
            ILogger logger)
        {
            _termsService      = termsService;
            _aliasesRepository = aliasesRepository;
            _amazonClient      = amazonClient;
            _roentgenClient    = roentgenClient;
            _aliasesService    = aliasesService;
            _directoryService  = directoryService;
            _paragraphsService = paragraphsService;
            _logger            = logger;
            InitializeComponent();

            var pi = dgvTerms.GetType().GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic);

            pi?.SetValue(dgvTerms, true, null);
        }
Beispiel #3
0
 public XRayService(IAliasesService aliasesService, ILogger logger, ChaptersService chaptersService)
 {
     _aliasesService  = aliasesService;
     _logger          = logger;
     _chaptersService = chaptersService;
 }
Beispiel #4
0
 public AliasesRepository(ILogger logger, IAliasesService aliasesService, IDirectoryService directoryService)
 {
     _logger           = logger;
     _aliasesService   = aliasesService;
     _directoryService = directoryService;
 }
Beispiel #5
0
 public AliasesRepository(ILogger logger, IAliasesService aliasesService)
 {
     _logger         = logger;
     _aliasesService = aliasesService;
 }