Skip to content

Commit

Permalink
~
Browse files Browse the repository at this point in the history
  • Loading branch information
badhitman committed Sep 2, 2019
1 parent 4f0cf4a commit c15f315
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions AspDotNetCore2BinderFloatingDecimalModel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<RootNamespace>FloatingDecimalBinderModel</RootNamespace>
<Authors>https://github.com/badhitman</Authors>
<Description>Привязчик модели для числовых значений с плавающей запятой - double, float и decimal</Description>
<PackageProjectUrl>https://github.com/badhitman</PackageProjectUrl>
<RepositoryUrl>https://github.com/badhitman</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.AspNetCore.Mvc.ModelBinding.Binders;
using Microsoft.Extensions.Logging;

namespace AspDotNetCore2BinderFloatingDecimalModel
namespace FloatingDecimalBinderModel
{
public class CustomDecimalModelBinderProvider : IModelBinderProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace AspDotNetCore2BinderFloatingDecimalModel
namespace FloatingDecimalBinderModel
{
public class CustomFloatingModelBinder : IModelBinder
{
Expand Down

0 comments on commit c15f315

Please sign in to comment.