2 implementations of IJsonPatchDocument
Microsoft.AspNetCore.JsonPatch (2)
JsonPatchDocument.cs (1)
21public class JsonPatchDocument : IJsonPatchDocument
JsonPatchDocumentOfT.cs (1)
25public class JsonPatchDocument<TModel> : IJsonPatchDocument where TModel : class
15 references to IJsonPatchDocument
Microsoft.AspNetCore.JsonPatch (3)
Converters\JsonPatchDocumentConverter.cs (1)
67if (value is IJsonPatchDocument jsonPatchDoc)
JsonPatchDocument.cs (1)
200IList<Operation> IJsonPatchDocument.GetOperations()
JsonPatchDocumentOfT.cs (1)
636IList<Operation> IJsonPatchDocument.GetOperations()
Microsoft.AspNetCore.Mvc.Core.Test (6)
ModelBinding\ParameterBinderTest.cs (6)
530ParameterType = typeof(IJsonPatchDocument), 541modelMetadataProvider.ForType<IJsonPatchDocument>().ValidationDetails(v => v.ValidateChildren = false); 542var modelMetadata = modelMetadataProvider.GetMetadataForType(typeof(IJsonPatchDocument)); 589ParameterType = typeof(IJsonPatchDocument), 603modelMetadataProvider.ForType<IJsonPatchDocument>().ValidationDetails(v => v.ValidateChildren = false); 604var modelMetadata = modelMetadataProvider.GetMetadataForType(typeof(IJsonPatchDocument));
Microsoft.AspNetCore.Mvc.NewtonsoftJson (5)
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (1)
73options.ModelMetadataDetailsProviders.Add(new SuppressChildValidationMetadataProvider(typeof(IJsonPatchDocument)));
JsonPatchOperationsArrayProvider.cs (2)
14/// type <see cref="IJsonPatchDocument"/> to an array of <see cref="Operation"/>. 44if (typeof(IJsonPatchDocument).GetTypeInfo().IsAssignableFrom(parameterDescription.Type))
NewtonsoftJsonPatchInputFormatter.cs (2)
71if (result.Model is IJsonPatchDocument jsonPatchDocument && SerializerSettings.ContractResolver is not null) 86if (!typeof(IJsonPatchDocument).IsAssignableFrom(modelType) ||
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
NewtonsoftJsonPatchInputFormatterTest.cs (1)
177[InlineData(typeof(IJsonPatchDocument))]