Skip to content

Commit

Permalink
Fix formatting (#16627)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros authored Aug 27, 2024
1 parent 17f72c5 commit e23ab9e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public async Task<IQueryResults> ExecuteQueryAsync(Query query, IDictionary<stri
{
var metadata = query.As<SqlQueryMetadata>();

var sqlQueryResults = new SQLQueryResults
{
Items = []
var sqlQueryResults = new SQLQueryResults
{
Items = []
};

var tokenizedQuery = await _liquidTemplateManager.RenderStringAsync(metadata.Template, NullEncoder.Default,
Expand Down
2 changes: 1 addition & 1 deletion src/OrchardCore.Modules/OrchardCore.Users/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ public override void ConfigureServices(IServiceCollection services)

services.AddSiteDisplayDriver<ResetPasswordSettingsDisplayDriver>();
services.AddNavigationProvider<ResetPasswordAdminMenu>();

services.AddScoped<IDisplayDriver<ResetPasswordForm>, ResetPasswordFormDisplayDriver>();
services.AddScoped<IDisplayDriver<LoginForm>, ForgotPasswordLoginFormDisplayDriver>();
services.AddScoped<IDisplayDriver<ForgotPasswordForm>, ForgotPasswordFormDisplayDriver>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ namespace OrchardCore.Users.Workflows.Activities;
public class UserConfirmedEvent : UserEvent
{
public UserConfirmedEvent(
IUserService userService,
IWorkflowScriptEvaluator scriptEvaluator,
IStringLocalizer<UserUpdatedEvent> stringLocalizer)
IUserService userService,
IWorkflowScriptEvaluator scriptEvaluator,
IStringLocalizer<UserUpdatedEvent> stringLocalizer)
: base(userService, scriptEvaluator, stringLocalizer)
{
}

public override string Name
public override string Name
=> nameof(UserConfirmedEvent);

public override LocalizedString DisplayText
public override LocalizedString DisplayText
=> S["User Confirmed Event"];
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class WorkflowTrimmingViewModel

public WorkflowTrimmingViewModel()
{
Statuses = Enum.GetValues(typeof(WorkflowStatus))
Statuses = Enum.GetValues<WorkflowStatus>()
.Cast<WorkflowStatus>()
.Select(status => new WorkflowStatusItem
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace OrchardCore.Users.Handlers;
public class UserConfirmContext : UserContext
{
/// <inheritdocs />
public UserConfirmContext(IUser user)
public UserConfirmContext(IUser user)
: base(user)
{
}
Expand Down

0 comments on commit e23ab9e

Please sign in to comment.