Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ad2ea3d
Annotate src
maxkoshevoi Aug 14, 2021
04bc30b
Annotate ref
maxkoshevoi Aug 14, 2021
65f47b2
Add net6 to Configuration.Abstractions
maxkoshevoi Aug 14, 2021
44d0ac0
Fix tests
maxkoshevoi Aug 14, 2021
1226d7e
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 15, 2021
07cc6a8
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 15, 2021
802a753
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 16, 2021
051b15b
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 26, 2021
5a7a6d3
DisableImplicitAssemblyReferences
maxkoshevoi Aug 26, 2021
9bde07c
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Sep 8, 2021
4945112
TryGet can return null
maxkoshevoi Sep 16, 2021
330dc3a
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Sep 16, 2021
f320ed0
new()
maxkoshevoi Sep 16, 2021
7cbd323
Merge remote-tracking branch 'upstream/main' into mk/43605-Configuration
eerhardt Oct 6, 2021
b9a0a93
Fix merge error
eerhardt Oct 6, 2021
e5228aa
InvalidOperationException
maxkoshevoi Oct 7, 2021
1c583ec
Source.Stream DisallowNull
maxkoshevoi Oct 7, 2021
a45a821
Revert unnecessary changes
maxkoshevoi Oct 8, 2021
d33438a
More message into resources
maxkoshevoi Oct 8, 2021
2ca692a
Configuration DisallowNull
maxkoshevoi Oct 8, 2021
4813528
MaybeNullWhen(false)
maxkoshevoi Oct 8, 2021
581c024
Revert "MaybeNullWhen(false)"
maxkoshevoi Oct 8, 2021
ff9af93
Remove MaybeNullWhen
maxkoshevoi Oct 11, 2021
3790ba6
NotNullWhen
maxkoshevoi Oct 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new()
  • Loading branch information
maxkoshevoi committed Sep 16, 2021
commit f320ed0265041858aeb95f60fe024c13a75f3d23
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class ConfigurationKeyComparer : IComparer<string>
/// <summary>
/// The default instance.
/// </summary>
public static ConfigurationKeyComparer Instance { get; } = new ConfigurationKeyComparer();
public static ConfigurationKeyComparer Instance { get; } = new();

/// <summary>A comparer delegate with the default instance.</summary>
internal static Comparison<string> Comparison { get; } = Instance.Compare;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.Extensions.Configuration
/// </summary>
public abstract class ConfigurationProvider : IConfigurationProvider
{
private ConfigurationReloadToken _reloadToken = new ConfigurationReloadToken();
private ConfigurationReloadToken _reloadToken = new();

/// <summary>
/// Initializes a new <see cref="IConfigurationProvider"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.Extensions.Configuration
/// </summary>
public class ConfigurationReloadToken : IChangeToken
{
private CancellationTokenSource _cts = new CancellationTokenSource();
private CancellationTokenSource _cts = new();

/// <summary>
/// Indicates if this token will proactively raise callbacks. Callbacks are still guaranteed to be invoked, eventually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class ConfigurationRoot : IConfigurationRoot, IDisposable
{
private readonly IList<IConfigurationProvider> _providers;
private readonly IList<IDisposable> _changeTokenRegistrations;
private ConfigurationReloadToken _changeToken = new ConfigurationReloadToken();
private ConfigurationReloadToken _changeToken = new();

/// <summary>
/// Initializes a Configuration root with a list of providers.
Expand Down