コード例 #1
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;
        }
コード例 #2
0
        public UpdatedUpdateActivity(
            IActivityContextController activityContextController,
            IDataController <AccountProduct> accountProductDataController,
            IConfirmDelegate <AccountProduct> confirmAccountProductUpdatedDelegate,
            IIndexController <long> updatedIndexController,
            IStatusController statusController) : base(statusController)
        {
            this.activityContextController = activityContextController;

            this.accountProductDataController         = accountProductDataController;
            this.confirmAccountProductUpdatedDelegate = confirmAccountProductUpdatedDelegate;

            this.updatedIndexController = updatedIndexController;
        }
 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;
 }
コード例 #4
0
        public FileValidationController(
            IConfirmDelegate <string> confirmValidationExpectedDelegate,
            IFileController fileController,
            IStreamController streamController,
            IGetHashAsyncDelegate <byte[]> getBytesHashAsyncDelegate,
            IValidationResultController validationResultController,
            IStatusController statusController)
        {
            this.confirmValidationExpectedDelegate = confirmValidationExpectedDelegate;
            this.fileController             = fileController;
            this.streamController           = streamController;
            this.getBytesHashAsyncDelegate  = getBytesHashAsyncDelegate;
            this.validationResultController = validationResultController;
            this.statusController           = statusController;

            validationXml = new XmlDocument {
                PreserveWhitespace = false
            };
        }