Skip to content

Commit

Permalink
Undo validator formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matthetherington-pa committed Dec 6, 2023
1 parent e0a6702 commit 90f4c91
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions src/Blazored.FluentValidation/FluentValidationsValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ namespace Blazored.FluentValidation;

public class FluentValidationValidator : ComponentBase
{
[Inject]
private IServiceProvider ServiceProvider { get; set; } = default!;
[Inject] private IServiceProvider ServiceProvider { get; set; } = default!;

[CascadingParameter]
private EditContext? CurrentEditContext { get; set; }
[CascadingParameter] private EditContext? CurrentEditContext { get; set; }

[Parameter]
public IValidator? Validator { get; set; }
[Parameter] public IValidator? Validator { get; set; }

[Parameter]
public bool DisableAssemblyScanning { get; set; }
[Parameter] public bool DisableAssemblyScanning { get; set; }

[Parameter]
public Action<ValidationStrategy<object>>? Options { get; set; }
[Parameter] public Action<ValidationStrategy<object>>? Options { get; set; }

internal Action<ValidationStrategy<object>>? ValidateOptions { get; set; }

Expand Down

0 comments on commit 90f4c91

Please sign in to comment.