using Microsoft.Extensions.Logging;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataProviders.Abstractions {

  /// <summary>
  /// 
  /// </summary>
  /// <typeparam name="T"></typeparam>
  public abstract class DataProviderBase<T> {
    private protected const string _databaseName = "reactredux";

    private protected readonly ILogger<T> _logger;
    private protected readonly IMongoClient _client;

    /// <summary>
    /// 
    /// </summary>
    /// <param name="logger"></param>
    /// <param name="client"></param>
    public DataProviderBase(
      ILogger<T> logger,
      IMongoClient client
    ) {
      _logger = logger;
      _client = client;
    }
  }
}
