Beispiel #1
0
 public RequestSpaceObjectImagesToFilesByXLSInteractor(IPresentier <SpaceObjectImagesSaveToFilesResponseDTO> presentier, IXLSRepository xlsRepository, IWebRepository webRepository, IValidator <XLSFileRequestDTO> validator)
 {
     _presentier    = presentier;
     _validator     = validator;
     _xlsRepository = xlsRepository;
     _webRepository = webRepository;
 }
Beispiel #2
0
        //====================================================
        public MainWindow()
        {
            InitializeComponent();
            Model      = new MyModel();
            Presentier = new MyPresentier(this, Model);
            SC         = SynchronizationContext.Current;

            this.DataContext = Presentier;

            //Spisok = Model.GetData();
            //Binding binding = new Binding();
            //binding.Source = Spisok;
            //MyGrid.SetBinding(DataGrid.ItemsSourceProperty, binding);

            //MyGrid.ItemsSource = Spisok;
            //MyGrid.DataContext = Spisok;

            //MyGrid.RowStyle.Triggers

            //MyGrid.DataContext = this;
        }
Beispiel #3
0
 public RequestMovieFromXLSInteractor(IPresentier <MovieInfoResponseDTO> presentier, IXLSRepository repository, IValidator <XLSFileRequestDTO> validator)
 {
     _presentier = presentier;
     _validator  = validator;
     _repository = repository;
 }
Beispiel #4
0
 public RequestSpaceObjectImageByNameInteractor(IPresentier <SpaceObjectImageResponseDTO> presentier, IWebRepository repository, IValidator <SpaceObjectNameRequestDTO> validator)
 {
     _presentier = presentier;
     _validator  = validator;
     _repository = repository;
 }
 public RequestMovieInfoByMovieNameInteractor(IPresentier <MovieInfoResponseDTO> presentier, IWebRepository repository, IValidator <FilmNameRequestDTO> validator)
 {
     _presentier = presentier;
     _validator  = validator;
     _repository = repository;
 }