Skip to content

Commit

Permalink
1.1.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurioli committed Aug 21, 2021
1 parent 6f984bd commit 71b1c86
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 4 deletions.
Binary file removed Blazor.WebForm.Components.1.1.8.5.nupkg
Binary file not shown.
Binary file added Blazor.WebForm.Components.1.1.8.6.nupkg
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Blazor.WebForm.UI.ControlComponents
{
public abstract class BaseCompareValidatorControlComponent<TControl> : BaseValidatorControlComponent<TControl>
where TControl : BaseCompareValidator, new()
{
[Parameter]
public ValidationDataType Type
{
get
{
return this.Control.Type;
}
set
{
this.Control.Type = value;
}
}

[Parameter]
public bool CultureInvariantValues
{
get
{
return this.Control.CultureInvariantValues;
}
set
{
this.Control.CultureInvariantValues = value;
}
}
}
}
4 changes: 2 additions & 2 deletions Blazor.WebForm.Components/Blazor.WebForm.Components.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net5.0</TargetFramework>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Blazor.WebForm.Components.pfx</AssemblyOriginatorKeyFile>
<Version>1.1.8.5</Version>
<Version>1.1.8.6</Version>
<RootNamespace>asp</RootNamespace>
<Copyright>Jurio li</Copyright>
<AssemblyName>Blazor.WebForm.Components</AssemblyName>
Expand All @@ -17,7 +17,7 @@

<ItemGroup>
<PackageReference Include="Applied" Version="1.2.1.5" />
<PackageReference Include="Blazor.WebForm.UI" Version="1.1.8.5" />
<PackageReference Include="Blazor.WebForm.UI" Version="1.1.8.6" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.8" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Blazor.WebForm.Components/CompareValidator.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@using Blazor.WebForm.UI.ControlComponents
@using System.Web.UI
@using System.Web.UI.WebControls
@inherits BaseValidatorControlComponent<System.Web.UI.WebControls.CompareValidator>
@inherits BaseCompareValidatorControlComponent<System.Web.UI.WebControls.CompareValidator>
@this.RenderWithInner(this.Control)
@code {
[Parameter]
Expand Down
2 changes: 1 addition & 1 deletion Blazor.WebForm.Components/RangeValidator.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@using Blazor.WebForm.UI.ControlComponents
@using System.Web.UI
@using System.Web.UI.WebControls
@inherits BaseValidatorControlComponent<System.Web.UI.WebControls.RangeValidator>
@inherits BaseCompareValidatorControlComponent<System.Web.UI.WebControls.RangeValidator>
@this.RenderWithInner(this.Control)
@code {
[Parameter]
Expand Down

0 comments on commit 71b1c86

Please sign in to comment.