56 references to Resources
Microsoft.AspNetCore.JsonPatch (56)
Adapters\ObjectAdapter.cs (3)
197
var error = CreateOperationFailedError(objectToApplyTo, operation.path, operation,
Resources
.FormatCannotCopyProperty(operation.from));
274
errorMessage ??
Resources
.FormatCannotPerformOperation(operation.op, path));
282
errorMessage ??
Resources
.FormatTargetLocationNotFound(operation.op, path));
artifacts\obj\Microsoft.AspNetCore.JsonPatch\Release\netstandard2.0\Microsoft.AspNetCore.JsonPatch.Resources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
Resources
)));
Converters\JsonPatchDocumentConverter.cs (2)
27
throw new ArgumentException(
Resources
.FormatParameterMustMatchType(nameof(objectType), "JsonPatchDocument"), nameof(objectType));
61
throw new JsonSerializationException(
Resources
.InvalidJsonPatchDocument, ex);
Converters\TypedJsonPatchDocumentConverter.cs (1)
58
throw new JsonSerializationException(
Resources
.InvalidJsonPatchDocument, ex);
Internal\DictionaryAdapterOfTU.cs (8)
64
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
91
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
118
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
152
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
164
errorMessage =
Resources
.FormatValueForTargetSegmentCannotBeNullOrEmpty(segment);
170
errorMessage =
Resources
.FormatValueNotEqualToTestValue(currentValue, value, segment);
222
errorMessage =
Resources
.FormatInvalidPathSegment(key);
244
errorMessage =
Resources
.FormatInvalidValueForProperty(value);
Internal\DynamicObjectAdapter.cs (5)
97
errorMessage =
Resources
.FormatInvalidValueForProperty(value);
129
errorMessage =
Resources
.FormatInvalidValueForProperty(value);
135
errorMessage =
Resources
.FormatValueNotEqualToTestValue(property, value, segment);
196
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
232
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
Internal\JObjectAdapter.cs (6)
39
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
58
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
77
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
98
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
104
errorMessage =
Resources
.FormatValueForTargetSegmentCannotBeNullOrEmpty(segment);
110
errorMessage =
Resources
.FormatValueNotEqualToTestValue(currentValue, value, segment);
Internal\ListAdapter.cs (8)
186
errorMessage =
Resources
.FormatValueAtListPositionNotEqualToTestValue(currentValue, value, positionInfo.Index);
214
errorMessage =
Resources
.FormatInvalidIndexValue(segment);
221
errorMessage =
Resources
.FormatIndexOutOfBounds(segment);
258
errorMessage =
Resources
.FormatInvalidValueForProperty(originalValue);
273
errorMessage =
Resources
.FormatPatchNotSupportedForArrays(listType.FullName);
282
errorMessage =
Resources
.FormatPatchNotSupportedForNonGenericLists(listType.FullName);
328
errorMessage =
Resources
.FormatIndexOutOfBounds(segment);
335
errorMessage =
Resources
.FormatInvalidIndexValue(segment);
Internal\ParsedPath.cs (2)
62
throw new JsonPatchException(
Resources
.FormatInvalidValueForPath(path), null);
75
throw new JsonPatchException(
Resources
.FormatInvalidValueForPath(path), null);
Internal\PathHelpers.cs (1)
19
throw new JsonPatchException(
Resources
.FormatInvalidValueForPath(path), null);
Internal\PocoAdapter.cs (15)
27
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
33
errorMessage =
Resources
.FormatCannotUpdateProperty(segment);
39
errorMessage =
Resources
.FormatInvalidValueForProperty(value);
58
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
65
errorMessage =
Resources
.FormatCannotReadProperty(segment);
83
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
89
errorMessage =
Resources
.FormatCannotUpdateProperty(segment);
118
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
124
errorMessage =
Resources
.FormatCannotUpdateProperty(segment);
130
errorMessage =
Resources
.FormatInvalidValueForProperty(value);
150
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
156
errorMessage =
Resources
.FormatCannotReadProperty(segment);
162
errorMessage =
Resources
.FormatInvalidValueForProperty(value);
169
errorMessage =
Resources
.FormatValueNotEqualToTestValue(currentValue, value, segment);
199
errorMessage =
Resources
.FormatTargetLocationAtPathSegmentNotFound(segment);
JsonPatchDocumentOfT.cs (1)
709
throw new InvalidOperationException(
Resources
.FormatExpressionTypeNotSupported(expr));
Operations\Operation.cs (1)
61
throw new NotSupportedException(
Resources
.TestOperationNotSupported);
Operations\OperationOfT.cs (2)
63
throw new JsonPatchException(new JsonPatchError(objectToApplyTo, this,
Resources
.TestOperationNotSupported));
67
Resources
.FormatInvalidJsonPatchOperation(op), innerException: null);