Skip to content

Commit

Permalink
Make services non-nullable (dotnet#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
guardrex authored Aug 1, 2023
1 parent 0740512 commit 4532e8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 6.0/BlazorWebAssemblyScopesLogger/CustomLoggerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public sealed class CustomLoggerProvider : IDisposable, ILoggerProvider, ISuppor
private CustomLoggerConfiguration config;
private readonly ConcurrentDictionary<string, CustomLogger> loggers =
new(StringComparer.OrdinalIgnoreCase);
private IExternalScopeProvider? scopeProvider;
private IExternalScopeProvider scopeProvider = default!;

void ISupportExternalScope.SetScopeProvider(IExternalScopeProvider scopeProvider)
{
Expand Down
2 changes: 1 addition & 1 deletion 7.0/BlazorWebAssemblyScopesLogger/CustomLoggerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public sealed class CustomLoggerProvider : IDisposable, ILoggerProvider, ISuppor
private CustomLoggerConfiguration config;
private readonly ConcurrentDictionary<string, CustomLogger> loggers =
new(StringComparer.OrdinalIgnoreCase);
private IExternalScopeProvider? scopeProvider;
private IExternalScopeProvider scopeProvider = default!;

void ISupportExternalScope.SetScopeProvider(IExternalScopeProvider scopeProvider)
{
Expand Down

0 comments on commit 4532e8e

Please sign in to comment.