| | | 1 | | using System; |
| | | 2 | | |
| | | 3 | | // copied from https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore/Properties/CoreStrin |
| | | 4 | | namespace WireMock.Validation |
| | | 5 | | { |
| | | 6 | | // [ExcludeFromCodeCoverage] |
| | | 7 | | internal static class CoreStrings |
| | | 8 | | { |
| | | 9 | | /// <summary> |
| | | 10 | | /// The property '{property}' of the argument '{argument}' cannot be null. |
| | | 11 | | /// </summary> |
| | | 12 | | public static string ArgumentPropertyNull(string property, string argument) |
| | 0 | 13 | | { |
| | 0 | 14 | | return $"The property '{property}' of the argument '{argument}' cannot be null."; |
| | 0 | 15 | | } |
| | | 16 | | |
| | | 17 | | /// <summary> |
| | | 18 | | /// The string argument '{argumentName}' cannot be empty. |
| | | 19 | | /// </summary> |
| | | 20 | | public static string ArgumentIsEmpty(string argumentName) |
| | 0 | 21 | | { |
| | 0 | 22 | | return $"The string argument '{argumentName}' cannot be empty."; |
| | 0 | 23 | | } |
| | | 24 | | |
| | | 25 | | /// <summary> |
| | | 26 | | /// The entity type '{type}' provided for the argument '{argumentName}' must be a reference type. |
| | | 27 | | /// </summary> |
| | | 28 | | public static string InvalidEntityType(Type type, string argumentName) |
| | 0 | 29 | | { |
| | 0 | 30 | | return $"The entity type '{type}' provided for the argument '{argumentName}' must be a reference type."; |
| | 0 | 31 | | } |
| | | 32 | | |
| | | 33 | | /// <summary> |
| | | 34 | | /// The collection argument '{argumentName}' must contain at least one element. |
| | | 35 | | /// </summary> |
| | | 36 | | public static string CollectionArgumentIsEmpty(string argumentName) |
| | 0 | 37 | | { |
| | 0 | 38 | | return $"The collection argument '{argumentName}' must contain at least one element."; |
| | 0 | 39 | | } |
| | | 40 | | } |
| | | 41 | | } |