public MasterDetailProductUpdateActivity(
            Entity context,
            IGetUpdateUriDelegate <Entity> getUpdateUriDelegate,
            IItemizeAllAsyncDelegate <long> itemizeUserRequestedOrDefaultAsyncDelegate,
            IDataController <MasterType> masterDataController,
            IDataController <DetailType> detailDataController,
            IIndexController <long> updatedDataController,
            IGetDeserializedAsyncDelegate <DetailType> getDeserializedDelegate,
            IGetUpdateIdentityDelegate <MasterType> getUpdateIdentityDelegate,
            IStatusController statusController,
            IFillGapsDelegate <DetailType, MasterType> fillGapsDelegate = null) :
            base(statusController)
        {
            this.masterDataController  = masterDataController;
            this.detailDataController  = detailDataController;
            this.updatedDataController = updatedDataController;

            this.itemizeUserRequestedOrDefaultAsyncDelegate = itemizeUserRequestedOrDefaultAsyncDelegate;

            this.getDeserializedDelegate = getDeserializedDelegate;

            this.getUpdateIdentityDelegate = getUpdateIdentityDelegate;
            this.fillGapsDelegate          = fillGapsDelegate;

            this.context = context;
            this.getUpdateUriDelegate = getUpdateUriDelegate;
            updateTypeDescription     = typeof(DetailType).Name;
        }
 public ItemizeAllUserRequestedIdsOrDefaultAsyncDelegate(
     IItemizeAllAsyncDelegate <long> itemizeUserRequestedIdsAsyncDelegate,
     params IItemizeAllAsyncDelegate <long>[] itemizeDefaultIdsDelegates)
 {
     this.itemizeUserRequestedIdsAsyncDelegate = itemizeUserRequestedIdsAsyncDelegate;
     this.itemizeDefaultIdsDelegates           = itemizeDefaultIdsDelegates;
 }
Exemple #3
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;
 }
Exemple #4
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;
        }