Skip to content

Commit

Permalink
Updated the parameters datatype from int to long.
Browse files Browse the repository at this point in the history
  • Loading branch information
mak-thevar committed May 25, 2022
1 parent 3a5bbd5 commit 9b87678
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FileValidator/FileValidator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ApplicationIcon>check-in.ico</ApplicationIcon>
<SignAssembly>False</SignAssembly>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<Authors>Muthukumar Thevar</Authors>
<Description>This library adds an extension method to FileInfo &amp; IFormFile to validate the file based on thier configuration(s).</Description>
<PackageProjectUrl>https://github.com/mak-thevar/FileValidator</PackageProjectUrl>
Expand Down
2 changes: 1 addition & 1 deletion FileValidator/FileValidatorConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class FileValidatorConfiguration : FileValidatorBase
/// <param name="videoMaxBytes">Default 50 Mb</param>
/// <param name="audioMaxBytes">Default 5 Mb</param>
/// <param name="audioMinBytes">Default 10 Kb</param>
public FileValidatorConfiguration(int imageMinBytes = 512, int imageMaxBytes = 6 * 1024 * 1024, int documentMinBytes = 100, int documentMaxBytes = 10 * 1024 * 1024, int videoMinBytes = 1024 * 1024, int videoMaxBytes = 50 * 1024 * 1024, int audioMaxBytes = 1024 * 10, int audioMinBytes = 5 * 1024 * 1024)
public FileValidatorConfiguration(long imageMinBytes = 512, long imageMaxBytes = 6 * 1024 * 1024, long documentMinBytes = 100, long documentMaxBytes = 10 * 1024 * 1024, long videoMinBytes = 1024 * 1024, long videoMaxBytes = 50 * 1024 * 1024, long audioMaxBytes = 1024 * 10, long audioMinBytes = 5 * 1024 * 1024)
{
this.ImageMinimumBytes = imageMinBytes;
this.ImageMaximumBytes = imageMaxBytes;
Expand Down

0 comments on commit 9b87678

Please sign in to comment.