Skip to content

Commit

Permalink
Merge develop -> master
Browse files Browse the repository at this point in the history
  • Loading branch information
jjvanzon committed Oct 28, 2020
2 parents a54e451 + efad7ed commit 46f1fd9
Show file tree
Hide file tree
Showing 18 changed files with 672 additions and 535 deletions.
2 changes: 2 additions & 0 deletions Framework/Validation/Resources/ValidationResourceFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ namespace JJ.Framework.Validation.Resources
public static class ValidationResourceFormatter
{
public static string AreEmpty(string displayName) => string.Format(ValidationResources.AreEmpty_WithName, displayName);
public static string CollectionEmpty(string collectionName) => string.Format(ValidationResources.CollectionEmpty_WithName_Plural, collectionName);
public static string CollectionNotEmpty(string collectionName) => string.Format(ValidationResources.CollectionNotEmpty_WithName_Plural, collectionName);
public static string Contains(string displayName, object valueOrName) => string.Format(ValidationResources.Contains_WithName_AndValue, displayName, valueOrName);
public static string LengthExceeded(string displayName, int length) => string.Format(ValidationResources.LengthExceeded_WithName_AndLength, displayName, length);
public static string FileAlreadyExists(string filePath) => string.Format(ValidationResources.FileAlreadyExists_WithFilePath, filePath);
Expand Down
Loading

0 comments on commit 46f1fd9

Please sign in to comment.