public ImageGallery( GlobalConfig globalConfig, UserSessionsManager userSessionsManager ) { _globalConfigHolder = globalConfig; _userSessionsManager = userSessionsManager; GalleryWidthPixels = globalConfig.GalleryWidthPixels; GalleryHeightPixels = globalConfig.GalleryHeightPixels; GalleryScrollBarPixels = globalConfig.GalleryScrollBarWidthPixels; ImageWidthPixels = globalConfig.ImageDimensionsPixels; NumberOfPicturesInRow = globalConfig.NumberOfColumns; NumberOfRows = globalConfig.NumberOfRows; }
public ImagePresentation( GlobalConfig globalConfig, UserSessionsManager userSessionsManager, LoadedImageLabelsWrapper imageLabelsWrapper, LoadedHistogramsWrapper histogramsWrapper, LabelSorterService labelSorterService, HistogramSorterService histogramSorterService ) { _globalConfig = globalConfig; _userSessionsManager = userSessionsManager; _imageLabelsWrapper = imageLabelsWrapper; _histogramsWrapper = histogramsWrapper; _labelSorterService = labelSorterService; _histogramSorterService = histogramSorterService; }
public SummaryPage( UserSessionsManager userSessionsManager ) { _userSessionsManager = userSessionsManager; }