public LocalFileSystemVolume(IConnectorConfig config, ICryptoService cryptoService, IImageEditorService imageEditorService) { _config = config; _cryptoService = cryptoService; _imageEditorService = imageEditorService; }
public MsSqlVolume(IConnectorConfig config, IImageEditorService imageEditorService, ICryptoService cryptoService, IUploadFile uploadFile, IKey key, IImageFile imageFile) { _config = config; _imageEditorService = imageEditorService; _cryptoService = cryptoService; _uploadFile = uploadFile; _key = key; _imageFile = imageFile; }
public static void RegisterElFinderConnectorServices <TVolumeManager, TImageEditorService, TCryptoService>(this ContainerBuilder builder, IConnectorConfig configInstance) where TVolumeManager : IVolumeManager where TImageEditorService : IImageEditorService where TCryptoService : ICryptoService { builder.Register(c => configInstance) .As <IConnectorConfig>().SingleInstance(); builder.RegisterType <TVolumeManager>() .As <IVolumeManager>().SingleInstance(); builder.RegisterType <TImageEditorService>() .As <IImageEditorService>().SingleInstance(); builder.RegisterType <TCryptoService>() .As <ICryptoService>().SingleInstance(); }