/// <summary> /// Initializes a new instance of the <see cref="DataProviderLoader" /> class. /// </summary> /// <param name="serviceScopeFactory"> /// The service scope factory which is used for creating objects from a class /// dynamically. /// </param> /// <param name="dataSourceModelRepository"> /// The data source model repository which is used for communicating with the /// repository layer. /// </param> /// <param name="assemblyHelper">The assembly helper retrieves to correct location of the executing assembly.</param> /// <param name="mapper">The mapper which is used to convert the adaptees to data source models.</param> public DataProviderLoader( IServiceScopeFactory serviceScopeFactory, IDataSourceModelRepository dataSourceModelRepository, IAssemblyHelper assemblyHelper, IMapper mapper) { this.serviceScopeFactory = serviceScopeFactory; this.dataSourceModelRepository = dataSourceModelRepository; this.assemblyHelper = assemblyHelper; this.mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="DataSourceModelService" /> class. /// </summary> /// <param name="repository">The repository that will be used to communicate with the repository layer.</param> public DataSourceModelService(IDataSourceModelRepository repository) : base(repository) { }