.Net 6.0 version #108
robertodalmonte
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
for my own need, I refactored it to .Net 6.0 (like every other project in my solution).
Secondly, I wanted to strong sign the assembly as well. In case someone is interested here's the code.
using FluentValidation;
using FluentValidation.Internal;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
namespace Blazored.FluentValidation;
public class ValidationValidator : ComponentBase
{
[Inject] private IServiceProvider? ServiceProvider { get; set; }
}
using FluentValidation;
using FluentValidation.Internal;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.Extensions.DependencyInjection;
using static FluentValidation.AssemblyScanner;
namespace Blazored.FluentValidation;
public static class EditContextFluentValidationExtensions
{
private static readonly char[] Separators = { '.', '[' };
private static readonly List<string?> ScannedAssembly = new();
private static readonly List AssemblyScanResults = new();
}
Regards
Roberto Dalmonte
Beta Was this translation helpful? Give feedback.
All reactions