Example #1
0
        public BackupApps(IAppImageStore appImageStore, IAppsIndex appsIndex, IAppUISettings appUISettings)
        {
            Guard.NotNull(appImageStore, nameof(appImageStore));
            Guard.NotNull(appsIndex, nameof(appsIndex));
            Guard.NotNull(appUISettings, nameof(appUISettings));

            this.appsIndex     = appsIndex;
            this.appImageStore = appImageStore;
            this.appUISettings = appUISettings;
        }
Example #2
0
 public AppCommandMiddleware(
     IGrainFactory grainFactory,
     IAppImageStore appImageStore,
     IAssetThumbnailGenerator assetThumbnailGenerator,
     IContextProvider contextProvider)
     : base(grainFactory)
 {
     this.appImageStore           = appImageStore;
     this.assetThumbnailGenerator = assetThumbnailGenerator;
     this.contextProvider         = contextProvider;
 }
Example #3
0
 public BackupApps(
     Rebuilder rebuilder,
     IAppImageStore appImageStore,
     IAppsIndex appsIndex,
     IAppUISettings appUISettings)
 {
     this.appsIndex     = appsIndex;
     this.rebuilder     = rebuilder;
     this.appImageStore = appImageStore;
     this.appUISettings = appUISettings;
 }
Example #4
0
 public AppImageController(ICommandBus commandBus,
                           IAppImageStore appImageStore,
                           IAppProvider appProvider,
                           IAssetStore assetStore,
                           IAssetThumbnailGenerator assetThumbnailGenerator)
     : base(commandBus)
 {
     this.appImageStore           = appImageStore;
     this.appProvider             = appProvider;
     this.assetStore              = assetStore;
     this.assetThumbnailGenerator = assetThumbnailGenerator;
 }
Example #5
0
        public AppCommandMiddleware(
            IGrainFactory grainFactory,
            IAppImageStore appImageStore,
            IAssetThumbnailGenerator assetThumbnailGenerator,
            IContextProvider contextProvider)
            : base(grainFactory)
        {
            Guard.NotNull(contextProvider, nameof(contextProvider));
            Guard.NotNull(appImageStore, nameof(appImageStore));
            Guard.NotNull(assetThumbnailGenerator, nameof(assetThumbnailGenerator));

            this.appImageStore           = appImageStore;
            this.assetThumbnailGenerator = assetThumbnailGenerator;
            this.contextProvider         = contextProvider;
        }
Example #6
0
 public BackupApps(IAppImageStore appImageStore, IAppsIndex appsIndex, IAppUISettings appUISettings)
 {
     this.appsIndex     = appsIndex;
     this.appImageStore = appImageStore;
     this.appUISettings = appUISettings;
 }