예제 #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));
 }
예제 #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;
 }