public ItemizeGameDetailsDirectoriesAsyncDelegate(
     IItemizeAsyncDelegate <GameDetails, string> itemizeGameDetailsManualUrlsAsyncDelegate,
     IGetDirectoryDelegate getDirectoryDelegate)
 {
     this.itemizeGameDetailsManualUrlsAsyncDelegate = itemizeGameDetailsManualUrlsAsyncDelegate;
     this.getDirectoryDelegate = getDirectoryDelegate;
 }
Exemple #2
0
 public GetPathDelegate(
     IGetDirectoryDelegate getDirectoryDelegate,
     IGetFilenameDelegate getFilenameDelegate)
 {
     this.getDirectoryDelegate = getDirectoryDelegate;
     this.getFilenameDelegate  = getFilenameDelegate;
 }
Exemple #3
0
 public static IGetDirectoryDelegate CreateDirectoryDelegate(
     Entity entity,
     IGetDirectoryDelegate getRootDirectoryDelegate)
 {
     return(new GetRelativeDirectoryDelegate(
                Directories.Data[entity],
                getRootDirectoryDelegate));
 }
Exemple #4
0
 public RecycleDelegate(
     IGetDirectoryDelegate getDirectoryDelegate,
     IFileController fileController,
     IDirectoryController directoryController)
 {
     this.getDirectoryDelegate = getDirectoryDelegate;
     this.fileController       = fileController;
     this.directoryController  = directoryController;
 }
 public ItemizeAllProductFilesDirectoriesAsyncDelegate(
     IGetDirectoryDelegate productFilesDirectoryDelegate,
     IDirectoryController directoryController,
     IStatusController statusController)
 {
     this.productFilesDirectoryDelegate = productFilesDirectoryDelegate;
     this.directoryController           = directoryController;
     this.statusController = statusController;
 }
 public FilePresentationController(
     IGetDirectoryDelegate getDirectoryDelegate,
     IGetFilenameDelegate getFilenameDelegate,
     IStreamController streamController)
 {
     this.getDirectoryDelegate = getDirectoryDelegate;
     this.getFilenameDelegate  = getFilenameDelegate;
     this.streamController     = streamController;
 }
 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;
 }
 public static IStashController <Dictionary <long, Type> > CreateDataStashController <Type>(
     Entity entity,
     IGetDirectoryDelegate getDirectoryDelegate,
     IGetFilenameDelegate getFilenameDelegate,
     ISerializedStorageController serializedStorageController,
     IStatusController statusController)
 {
     return(new StashController <Dictionary <long, Type> >(
                new GetPathDelegate(
                    getDirectoryDelegate,
                    getFilenameDelegate),
                serializedStorageController,
                statusController));
 }
 public static IStashController <List <long> > CreateStashController(
     Entity entity,
     IGetDirectoryDelegate getDirectoryDelegate,
     IGetFilenameDelegate getFilenameDelegate,
     ISerializedStorageController serializedStorageController,
     IStatusController statusController)
 {
     return(new StashController <List <long> >(
                new GetPathDelegate(
                    getDirectoryDelegate,
                    getFilenameDelegate),
                serializedStorageController,
                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;
 }
 public IDataController <Type> CreateDataControllerEx <Type>(
     Entity entity,
     IRecordsController <long> recordsController,
     IGetDirectoryDelegate getDirectoryDelegate,
     IGetFilenameDelegate getFilenameDelegate)
     where Type : ProductCore
 {
     return(new DataController <Type>(
                StashControllerFactory.CreateDataStashController <Type>(
                    entity,
                    getDirectoryDelegate,
                    getFilenameDelegate,
                    serializedStorageController,
                    statusController),
                ConvertDelegateFactory.CreateConvertToIndexDelegate <Type>(),
                recordsController,
                statusController,
                storedHashController));
 }
 public UpdateDownloadsActivity(
     Entity context,
     IGetDownloadSourcesAsyncDelegate getDownloadSourcesAsyncDelegate,
     IGetDirectoryDelegate getDirectoryDelegate,
     IFileController fileController,
     IDataController <ProductDownloads> productDownloadsDataController,
     IDataController <AccountProduct> accountProductsDataController,
     IDataController <Product> productsDataController,
     IStatusController statusController) :
     base(statusController)
 {
     this.context = context;
     this.getDownloadSourcesAsyncDelegate = getDownloadSourcesAsyncDelegate;
     this.getDirectoryDelegate            = getDirectoryDelegate;
     this.fileController = fileController;
     this.productDownloadsDataController = productDownloadsDataController;
     this.accountProductsDataController  = accountProductsDataController;
     this.productsDataController         = productsDataController;
 }
        public DataControllerFactory(
            ISerializedStorageController serializedStorageController,
            // ISerializationController<string> serializationController,
            // IStorageController<string> storageController,
            IStoredHashController storedHashController,
            IGetDirectoryDelegate getDataDirectoryDelegate,
            IGetFilenameDelegate getDataFilenameDelegate,
            IStatusController statusController)
        {
            this.serializedStorageController = serializedStorageController;
            // this.serializationController = serializationController;
            // this.storageController = storageController;
            this.storedHashController = storedHashController;
            this.statusController     = statusController;

            this.getDataDirectoryDelegate = getDataDirectoryDelegate;
            getRecordsDirectoryDelegate   = new GetRelativeDirectoryDelegate(
                Directories.Base[Entity.Records],
                getDataDirectoryDelegate);

            this.getDataFilenameDelegate = getDataFilenameDelegate;
        }
        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;
        }
 public GetUriDirectoryDelegate(IGetDirectoryDelegate baseDirectoryDelegate)
 {
     this.baseDirectoryDelegate = baseDirectoryDelegate;
 }