public HybridStorageConnection(DbConnection database, IExternalStorageProvider externalStorage) { DatabaseConnection = database ?? throw new ArgumentNullException(nameof(database)); _externalStorage = externalStorage ?? throw new ArgumentNullException(nameof(externalStorage)); }
/// <summary> /// ExternalStorageConnector initializes class object. /// </summary> /// <param name="externalStorageProvider"></param> /// <param name="configuration"></param> /// <param name="logger"></param> public ExternalStorageConnector(IExternalStorageProvider externalStorageProvider, IConfiguration configuration, ILogger <ExternalStorageConnector> logger) : base(configuration, logger) { this.ExternalStorageProvider = externalStorageProvider; }