Example #1
0
 /// <summary>
 /// Creates a new instance of <see cref="EntityConfigurationSource{T}"/>.
 /// </summary>
 /// <param name="options">Configuration options for <see cref="EntityConfigurationProvider{T}"/>.</param>
 public EntityConfigurationSource(EntityConfigurationOptions options)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
 }
Example #2
0
 /// <summary>
 /// Creates a new instance of <see cref="EntityConfigurationProvider{T}"/>.
 /// </summary>
 /// <param name="options">Configuration options for <see cref="EntityConfigurationProvider{T}"/>.</param>
 public EntityConfigurationProvider(EntityConfigurationOptions options)
 {
     _options           = options ?? throw new ArgumentNullException(nameof(options));
     _cancellationToken = new CancellationTokenSource();
     _pollingTask       = null;
 }