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