Skip to content

Commit

Permalink
add readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek committed Nov 24, 2024
1 parent de083aa commit 196ca33
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public sealed class AzureEmailSettingsDisplayDriver : SiteDisplayDriver<AzureEma
private readonly IDataProtectionProvider _dataProtectionProvider;
private readonly IEmailAddressValidator _emailValidator;

internal IStringLocalizer S;
internal readonly IStringLocalizer S;

public AzureEmailSettingsDisplayDriver(
IShellReleaseManager shellReleaseManager,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public sealed class MediaAssetQuery : ISchemaBuilder
{
private readonly GraphQLContentOptions _graphQLContentOptions;

internal IStringLocalizer S;
internal readonly IStringLocalizer S;

public MediaAssetQuery(
IStringLocalizer<MediaAssetQuery> localizer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class SmsSettingsDisplayDriver : SiteDisplayDriver<SmsSettings>
private readonly IHttpContextAccessor _httpContextAccessor;
private readonly IAuthorizationService _authorizationService;

internal IStringLocalizer S;
internal readonly IStringLocalizer S;

private readonly SmsProviderOptions _smsProviderOptions;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ private async Task RecordAuditTrailEventAsync(string name, IUser user, string us
}

#region Unused login events

public Task LoggingInAsync(string userName, Action<string, string> reportError)
=> Task.CompletedTask;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public sealed class AzureAISearchIndexSettingsStep : NamedRecipeStepHandler
private readonly AzureAIIndexDocumentManager _azureAIIndexDocumentManager;
private readonly AzureAISearchIndexSettingsService _azureAISearchIndexSettingsService;

internal IStringLocalizer S;
internal readonly IStringLocalizer S;

public AzureAISearchIndexSettingsStep(
AzureAISearchIndexManager indexManager,
Expand Down

0 comments on commit 196ca33

Please sign in to comment.