diff --git a/AspDotNetCore2BinderFloatingDecimalModel.csproj b/AspDotNetCore2BinderFloatingDecimalModel.csproj index 1271dd0..ecb1ad6 100644 --- a/AspDotNetCore2BinderFloatingDecimalModel.csproj +++ b/AspDotNetCore2BinderFloatingDecimalModel.csproj @@ -2,6 +2,11 @@ netcoreapp2.2 + FloatingDecimalBinderModel + https://github.com/badhitman + Привязчик модели для числовых значений с плавающей запятой - double, float и decimal + https://github.com/badhitman + https://github.com/badhitman diff --git a/CustomDoubleModelBinderProvider.cs b/Infrastructure/CustomDoubleModelBinderProvider.cs similarity index 95% rename from CustomDoubleModelBinderProvider.cs rename to Infrastructure/CustomDoubleModelBinderProvider.cs index 64ac9fa..a69901c 100644 --- a/CustomDoubleModelBinderProvider.cs +++ b/Infrastructure/CustomDoubleModelBinderProvider.cs @@ -5,7 +5,7 @@ using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; using Microsoft.Extensions.Logging; -namespace AspDotNetCore2BinderFloatingDecimalModel +namespace FloatingDecimalBinderModel { public class CustomDecimalModelBinderProvider : IModelBinderProvider { diff --git a/CustomFloatingModelBinder.cs b/Infrastructure/CustomFloatingModelBinder.cs similarity index 98% rename from CustomFloatingModelBinder.cs rename to Infrastructure/CustomFloatingModelBinder.cs index 8b7c32d..92a115a 100644 --- a/CustomFloatingModelBinder.cs +++ b/Infrastructure/CustomFloatingModelBinder.cs @@ -7,7 +7,7 @@ using System.Text.RegularExpressions; using System.Threading.Tasks; -namespace AspDotNetCore2BinderFloatingDecimalModel +namespace FloatingDecimalBinderModel { public class CustomFloatingModelBinder : IModelBinder {