Skip to content

Commit 27e45b3

Browse files
committed
Update with rebased PR
1 parent 35a066f commit 27e45b3

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

src/Components/Forms/src/EditContextDataAnnotationsExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
using System.Reflection.Metadata;
1111
using System.Runtime.InteropServices;
1212
using System.Text.RegularExpressions;
13-
using Microsoft.AspNetCore.Http.Validation;
13+
using Microsoft.Extensions.Validation;
1414
using Microsoft.Extensions.DependencyInjection;
1515
using Microsoft.Extensions.Options;
1616

src/Components/Forms/src/Microsoft.AspNetCore.Components.Forms.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<ItemGroup>
1313
<Reference Include="Microsoft.AspNetCore.Components" />
14-
<Reference Include="Microsoft.AspNetCore.Http.Abstractions" />
14+
<Reference Include="Microsoft.Extensions.Validation" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

src/Components/Samples/BlazorUnitedApp/BlazorUnitedApp.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<IsShippingPackage>false</IsShippingPackage>
66
<Nullable>enable</Nullable>
77

8-
<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.Http.Validation.Generated</InterceptorsNamespaces>
8+
<InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.Http.Validation.Generated;Microsoft.Extensions.Validation.Generated</InterceptorsNamespaces>
99
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
1010
</PropertyGroup>
1111

@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference Include="$(RepoRoot)/src/Http/Http.Extensions/gen/Microsoft.AspNetCore.Http.ValidationsGenerator/Microsoft.AspNetCore.Http.ValidationsGenerator.csproj"
17+
<ProjectReference Include="$(RepoRoot)/src/Validation/gen/Microsoft.Extensions.Validation.ValidationsGenerator.csproj"
1818
OutputItemType="Analyzer"
1919
ReferenceOutputAssembly="false" />
2020
</ItemGroup>

src/Components/Samples/BlazorUnitedApp/Validation/OrderModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System.ComponentModel.DataAnnotations;
2-
using Microsoft.AspNetCore.Http.Validation;
2+
using Microsoft.Extensions.Validation;
33

44
namespace BlazorUnitedApp.Validation;
55

src/Validation/src/PublicAPI.Unshipped.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Microsoft.Extensions.Validation.ValidateContext.CurrentDepth.get -> int
1818
Microsoft.Extensions.Validation.ValidateContext.CurrentDepth.set -> void
1919
Microsoft.Extensions.Validation.ValidateContext.CurrentValidationPath.get -> string!
2020
Microsoft.Extensions.Validation.ValidateContext.CurrentValidationPath.set -> void
21+
Microsoft.Extensions.Validation.ValidateContext.OnValidationError -> System.Action<string!, string![]!, object?>?
2122
Microsoft.Extensions.Validation.ValidateContext.ValidateContext() -> void
2223
Microsoft.Extensions.Validation.ValidateContext.ValidationContext.get -> System.ComponentModel.DataAnnotations.ValidationContext!
2324
Microsoft.Extensions.Validation.ValidateContext.ValidationContext.set -> void

0 commit comments

Comments
 (0)