public AssetCommandMiddleware( IGrainFactory grainFactory, IAssetEnricher assetEnricher, IAssetFileStore assetFileStore, IAssetQueryService assetQuery, IContextProvider contextProvider, IEnumerable <IAssetMetadataSource> assetMetadataSources) : base(grainFactory) { Guard.NotNull(assetEnricher); Guard.NotNull(assetFileStore); Guard.NotNull(assetQuery); Guard.NotNull(assetMetadataSources); Guard.NotNull(contextProvider); this.assetFileStore = assetFileStore; this.assetEnricher = assetEnricher; this.assetQuery = assetQuery; this.contextProvider = contextProvider; this.assetMetadataSources = assetMetadataSources; }
public AssetCommandMiddleware( IGrainFactory grainFactory, IAssetEnricher assetEnricher, IAssetQueryService assetQuery, IAssetFileStore assetFileStore, IAssetThumbnailGenerator assetThumbnailGenerator, IContextProvider contextProvider, IEnumerable <ITagGenerator <CreateAsset> > tagGenerators) : base(grainFactory) { Guard.NotNull(assetEnricher); Guard.NotNull(assetFileStore); Guard.NotNull(assetQuery); Guard.NotNull(assetThumbnailGenerator); Guard.NotNull(contextProvider); Guard.NotNull(tagGenerators); this.assetFileStore = assetFileStore; this.assetEnricher = assetEnricher; this.assetQuery = assetQuery; this.assetThumbnailGenerator = assetThumbnailGenerator; this.contextProvider = contextProvider; this.tagGenerators = tagGenerators; }
public BackupAssets(Rebuilder rebuilder, IAssetFileStore assetFileStore, ITagService tagService) { this.rebuilder = rebuilder; this.assetFileStore = assetFileStore; this.tagService = tagService; }