Ejemplo n.º 1
0
 public FormatValidationUriDelegate(
     IGetFilenameDelegate getValidationFilenameDelegate,
     IFormatDelegate <string, string> formatUriRemoveSessionDelegate)
 {
     this.getValidationFilenameDelegate  = getValidationFilenameDelegate;
     this.formatUriRemoveSessionDelegate = formatUriRemoveSessionDelegate;
 }
 public StatusReportViewModelDelegate(
     IFormatDelegate <long, string> formatBytesDelegate,
     IFormatDelegate <long, string> formatSecondsDelegate)
 {
     this.formatBytesDelegate   = formatBytesDelegate;
     this.formatSecondsDelegate = formatSecondsDelegate;
 }
Ejemplo n.º 3
0
        public GetDeserializedGameDetailsAsyncDelegate(
            IGetResourceAsyncDelegate getResourceAsyncDelegate,
            ISerializationController <string> serializationController,
            ILanguageController languageController,
            IFormatDelegate <string, string> formatDownloadLanguageDelegate,
            IConfirmDelegate <string> confirmStringContainsLanguageDownloadsDelegate,
            IItemizeDelegate <string, string> itemizeDownloadLanguagesDelegate,
            IItemizeDelegate <string, string> itemizeGameDetailsDownloadsDelegate,
            IReplaceMultipleDelegate <string> replaceMultipleStringsDelegate,
            IConvertDelegate <
                OperatingSystemsDownloads[][],
                OperatingSystemsDownloads[]> convert2DArrayToArrayDelegate,
            ICollectionController collectionController)
        {
            this.getResourceAsyncDelegate       = getResourceAsyncDelegate;
            this.serializationController        = serializationController;
            this.languageController             = languageController;
            this.formatDownloadLanguageDelegate = formatDownloadLanguageDelegate;

            this.confirmStringContainsLanguageDownloadsDelegate = confirmStringContainsLanguageDownloadsDelegate;
            this.itemizeDownloadLanguagesDelegate    = itemizeDownloadLanguagesDelegate;
            this.itemizeGameDetailsDownloadsDelegate = itemizeGameDetailsDownloadsDelegate;
            this.replaceMultipleStringsDelegate      = replaceMultipleStringsDelegate;
            this.convert2DArrayToArrayDelegate       = convert2DArrayToArrayDelegate;
            this.collectionController = collectionController;
        }
Ejemplo n.º 4
0
 public ConstrainExecutionAsyncDelegate(
     IStatusController statusController,
     IFormatDelegate <long, string> formatSecondsDelegate)
 {
     this.statusController      = statusController;
     this.formatSecondsDelegate = formatSecondsDelegate;
 }
Ejemplo n.º 5
0
 public StatusAppViewModelDelegate(
     IFormatDelegate <IStatus, Tuple <long, double> > formatRemainingTimeAtSpeedDelegate,
     IFormatDelegate <long, string> formatBytesDelegate,
     IFormatDelegate <long, string> formatSecondsDelegate)
 {
     this.formatRemainingTimeAtSpeedDelegate = formatRemainingTimeAtSpeedDelegate;
     this.formatBytesDelegate   = formatBytesDelegate;
     this.formatSecondsDelegate = formatSecondsDelegate;
 }
Ejemplo n.º 6
0
        public ConsoleInputOutputController(
            IFormatDelegate <IEnumerable <string>, IEnumerable <string> > formatTextToFitConsoleWindowDelegate,
            IConsoleController consoleController)
        {
            fragmentBuffer = new StringBuilder();

            this.formatTextToFitConsoleWindowDelegate = formatTextToFitConsoleWindowDelegate;
            this.consoleController = consoleController;
        }
Ejemplo n.º 7
0
 public GetProductCoreImagesDownloadSourcesAsyncDelegate(
     IItemizeAllAsyncDelegate <long> itemizeAllProductsAsyncDelegate,
     IDataController <T> dataController,
     IFormatDelegate <string, string> formatImagesUriDelegate,
     IGetImageUriDelegate <T> getImageUriDelegate,
     IStatusController statusController)
 {
     this.itemizeAllProductsAsyncDelegate = itemizeAllProductsAsyncDelegate;
     this.dataController          = dataController;
     this.formatImagesUriDelegate = formatImagesUriDelegate;
     this.getImageUriDelegate     = getImageUriDelegate;
     this.statusController        = statusController;
 }
 public GetScreenshotsDownloadSourcesAsyncDelegate(
     IDataController <ProductScreenshots> screenshotsDataController,
     IFormatDelegate <string, string> formatScreenshotsUriDelegate,
     IGetDirectoryDelegate screenshotsDirectoryDelegate,
     IFileController fileController,
     IStatusController statusController)
 {
     this.screenshotsDataController    = screenshotsDataController;
     this.formatScreenshotsUriDelegate = formatScreenshotsUriDelegate;
     this.screenshotsDirectoryDelegate = screenshotsDirectoryDelegate;
     this.fileController   = fileController;
     this.statusController = statusController;
 }
Ejemplo n.º 9
0
 public DownloadManualUrlFileAsyncDelegate(
     INetworkController networkController,
     IFormatDelegate <string, string> formatUriRemoveSessionDelegate,
     IRoutingController routingController,
     IDownloadFromResponseAsyncDelegate downloadFromResponseAsyncDelegate,
     IDownloadProductFileAsyncDelegate downloadValidationFileAsyncDelegate,
     IStatusController statusController)
 {
     this.networkController = networkController;
     this.formatUriRemoveSessionDelegate = formatUriRemoveSessionDelegate;
     this.routingController = routingController;
     this.downloadFromResponseAsyncDelegate   = downloadFromResponseAsyncDelegate;
     this.downloadValidationFileAsyncDelegate = downloadValidationFileAsyncDelegate;
     this.statusController = statusController;
 }
 public DownloadValidationFileAsyncDelegate(
     IFormatDelegate <string, string> formatUriRemoveSessionDelegate,
     IConfirmDelegate <string> confirmValidationExpectedDelegate,
     IFormatDelegate <string, string> formatValidationFileDelegate,
     IGetDirectoryDelegate validationDirectoryDelegate,
     IFormatDelegate <string, string> formatValidationUriDelegate,
     IFileController fileController,
     IDownloadFromUriAsyncDelegate downloadFromUriAsyncDelegate,
     IStatusController statusController)
 {
     this.formatUriRemoveSessionDelegate    = formatUriRemoveSessionDelegate;
     this.confirmValidationExpectedDelegate = confirmValidationExpectedDelegate;
     this.formatValidationFileDelegate      = formatValidationFileDelegate;
     this.validationDirectoryDelegate       = validationDirectoryDelegate;
     this.formatValidationUriDelegate       = formatValidationUriDelegate;
     this.fileController = fileController;
     this.downloadFromUriAsyncDelegate = downloadFromUriAsyncDelegate;
     this.statusController             = statusController;
 }
Ejemplo n.º 11
0
 public CleanupActivity(
     Entity context,
     IItemizeAllAsyncDelegate <string> itemizeAllExpectedItemsAsyncDelegate,
     IItemizeAllAsyncDelegate <string> itemizeAllActualItemsAsyncDelegate,
     IItemizeDelegate <string, string> itemizeDetailsDelegate,
     IFormatDelegate <string, string> formatSupplementaryItemDelegate,
     IRecycleDelegate recycleDelegate,
     IDirectoryController directoryController,
     IStatusController statusController) :
     base(statusController)
 {
     this.context = context;
     this.itemizeAllExpectedItemsAsyncDelegate = itemizeAllExpectedItemsAsyncDelegate;
     this.itemizeAllActualItemsAsyncDelegate   = itemizeAllActualItemsAsyncDelegate;
     this.itemizeDetailsDelegate          = itemizeDetailsDelegate;
     this.formatSupplementaryItemDelegate = formatSupplementaryItemDelegate;
     this.recycleDelegate     = recycleDelegate;
     this.directoryController = directoryController;
 }
        public ValidateProductFilesActivity(
            IGetDirectoryDelegate productFileDirectoryDelegate,
            IGetFilenameDelegate productFileFilenameDelegate,
            IFormatDelegate <string, string> formatValidationFileDelegate,
            IFileValidationController fileValidationController,
            IDataController <ValidationResult> validationResultsDataController,
            IDataController <GameDetails> gameDetailsDataController,
            IItemizeAsyncDelegate <GameDetails, string> itemizeGameDetailsManualUrlsAsyncDelegate,
            IItemizeAllAsyncDelegate <long> itemizeAllProductsAsyncDelegate,
            IRoutingController routingController,
            IStatusController statusController) :
            base(statusController)
        {
            this.productFileDirectoryDelegate              = productFileDirectoryDelegate;
            this.productFileFilenameDelegate               = productFileFilenameDelegate;
            this.formatValidationFileDelegate              = formatValidationFileDelegate;
            this.fileValidationController                  = fileValidationController;
            this.validationResultsDataController           = validationResultsDataController;
            this.gameDetailsDataController                 = gameDetailsDataController;
            this.itemizeGameDetailsManualUrlsAsyncDelegate = itemizeGameDetailsManualUrlsAsyncDelegate;

            this.itemizeAllProductsAsyncDelegate = itemizeAllProductsAsyncDelegate;
            this.routingController = routingController;
        }