Rename AspNet 5 file contents.
See https://github.com/aspnet/Announcements/issues/144 for more information.
This commit is contained in:
parent
582e222c2b
commit
e2801d6c20
|
|
@ -1,4 +1,4 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 14
|
# Visual Studio 14
|
||||||
VisualStudioVersion = 14.0.23107.0
|
VisualStudioVersion = 14.0.23107.0
|
||||||
|
|
@ -7,9 +7,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{430B59ED-F96
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{36CD6341-AB44-44EB-B3AA-BF98C89FECDD}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{36CD6341-AB44-44EB-B3AA-BF98C89FECDD}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.JsonPatch", "src\Microsoft.AspNet.JsonPatch\Microsoft.AspNet.JsonPatch.xproj", "{4D55F4D8-633B-462F-A5B1-FEB84BD2D534}"
|
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.JsonPatch", "src\Microsoft.AspNetCore.JsonPatch\Microsoft.AspNetCore.JsonPatch.xproj", "{4D55F4D8-633B-462F-A5B1-FEB84BD2D534}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.JsonPatch.Test", "test\Microsoft.AspNet.JsonPatch.Test\Microsoft.AspNet.JsonPatch.Test.xproj", "{81C20848-E063-4E12-AC40-0B55A532C16C}"
|
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.JsonPatch.Test", "test\Microsoft.AspNetCore.JsonPatch.Test\Microsoft.AspNetCore.JsonPatch.Test.xproj", "{81C20848-E063-4E12-AC40-0B55A532C16C}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
"StrictSemanticVersionValidationRule"
|
"StrictSemanticVersionValidationRule"
|
||||||
],
|
],
|
||||||
"packages": {
|
"packages": {
|
||||||
"Microsoft.AspNet.JsonPatch": { }
|
"Microsoft.AspNetCore.JsonPatch": { }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Default": { // Rules to run for packages not listed in any other set.
|
"Default": { // Rules to run for packages not listed in any other set.
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Adapters
|
namespace Microsoft.AspNetCore.JsonPatch.Adapters
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines the operations that can be performed on a JSON patch document.
|
/// Defines the operations that can be performed on a JSON patch document.
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Microsoft.AspNet.JsonPatch.Helpers;
|
using Microsoft.AspNetCore.JsonPatch.Helpers;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Adapters
|
namespace Microsoft.AspNetCore.JsonPatch.Adapters
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public class ObjectAdapter : IObjectAdapter
|
public class ObjectAdapter : IObjectAdapter
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Converters
|
namespace Microsoft.AspNetCore.JsonPatch.Converters
|
||||||
{
|
{
|
||||||
public class JsonPatchDocumentConverter : JsonConverter
|
public class JsonPatchDocumentConverter : JsonConverter
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,13 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Converters
|
namespace Microsoft.AspNetCore.JsonPatch.Converters
|
||||||
{
|
{
|
||||||
public class TypedJsonPatchDocumentConverter : JsonPatchDocumentConverter
|
public class TypedJsonPatchDocumentConverter : JsonPatchDocumentConverter
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Exceptions
|
namespace Microsoft.AspNetCore.JsonPatch.Exceptions
|
||||||
{
|
{
|
||||||
public class JsonPatchException : Exception
|
public class JsonPatchException : Exception
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
internal class ActualPropertyPathResult
|
internal class ActualPropertyPathResult
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
internal class ConversionResult
|
internal class ConversionResult
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
// Helper methods to allow case-insensitive key search
|
// Helper methods to allow case-insensitive key search
|
||||||
internal static class ExpandoObjectDictionaryExtensions
|
internal static class ExpandoObjectDictionaryExtensions
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
internal static class ExpressionHelpers
|
internal static class ExpressionHelpers
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return value for the helper method used by Copy/Move. Needed to ensure we can make a different
|
/// Return value for the helper method used by Copy/Move. Needed to ensure we can make a different
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch
|
namespace Microsoft.AspNetCore.JsonPatch
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Metadata for JsonProperty.
|
/// Metadata for JsonProperty.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
internal class ObjectTreeAnalysisResult
|
internal class ObjectTreeAnalysisResult
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
internal static class PathHelpers
|
internal static class PathHelpers
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Helpers
|
namespace Microsoft.AspNetCore.JsonPatch.Helpers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return value for Remove operation. The combination tells us what to do next (if this operation
|
/// Return value for Remove operation. The combination tells us what to do next (if this operation
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch
|
namespace Microsoft.AspNetCore.JsonPatch
|
||||||
{
|
{
|
||||||
public interface IJsonPatchDocument
|
public interface IJsonPatchDocument
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.AspNet.JsonPatch.Adapters;
|
using Microsoft.AspNetCore.JsonPatch.Adapters;
|
||||||
using Microsoft.AspNet.JsonPatch.Converters;
|
using Microsoft.AspNetCore.JsonPatch.Converters;
|
||||||
using Microsoft.AspNet.JsonPatch.Helpers;
|
using Microsoft.AspNetCore.JsonPatch.Helpers;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch
|
namespace Microsoft.AspNetCore.JsonPatch
|
||||||
{
|
{
|
||||||
// Implementation details: the purpose of this type of patch document is to allow creation of such
|
// Implementation details: the purpose of this type of patch document is to allow creation of such
|
||||||
// documents for cases where there's no class/DTO to work on. Typical use case: backend not built in
|
// documents for cases where there's no class/DTO to work on. Typical use case: backend not built in
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using Microsoft.AspNet.JsonPatch.Adapters;
|
using Microsoft.AspNetCore.JsonPatch.Adapters;
|
||||||
using Microsoft.AspNet.JsonPatch.Converters;
|
using Microsoft.AspNetCore.JsonPatch.Converters;
|
||||||
using Microsoft.AspNet.JsonPatch.Helpers;
|
using Microsoft.AspNetCore.JsonPatch.Helpers;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Newtonsoft.Json.Serialization;
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch
|
namespace Microsoft.AspNetCore.JsonPatch
|
||||||
{
|
{
|
||||||
// Implementation details: the purpose of this type of patch document is to ensure we can do type-checking
|
// Implementation details: the purpose of this type of patch document is to ensure we can do type-checking
|
||||||
// when producing a JsonPatchDocument. However, we cannot send this "typed" over the wire, as that would require
|
// when producing a JsonPatchDocument. However, we cannot send this "typed" over the wire, as that would require
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNet.JsonPatch.Operations;
|
using Microsoft.AspNetCore.JsonPatch.Operations;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch
|
namespace Microsoft.AspNetCore.JsonPatch
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Captures error message and the related entity and the operation that caused it.
|
/// Captures error message and the related entity and the operation that caused it.
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNet.JsonPatch.Adapters;
|
using Microsoft.AspNetCore.JsonPatch.Adapters;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Operations
|
namespace Microsoft.AspNetCore.JsonPatch.Operations
|
||||||
{
|
{
|
||||||
public class Operation : OperationBase
|
public class Operation : OperationBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Operations
|
namespace Microsoft.AspNetCore.JsonPatch.Operations
|
||||||
{
|
{
|
||||||
public class OperationBase
|
public class OperationBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNet.JsonPatch.Adapters;
|
using Microsoft.AspNetCore.JsonPatch.Adapters;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Operations
|
namespace Microsoft.AspNetCore.JsonPatch.Operations
|
||||||
{
|
{
|
||||||
public class Operation<TModel> : Operation where TModel : class
|
public class Operation<TModel> : Operation where TModel : class
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Operations
|
namespace Microsoft.AspNetCore.JsonPatch.Operations
|
||||||
{
|
{
|
||||||
public enum OperationType
|
public enum OperationType
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// <auto-generated />
|
// <auto-generated />
|
||||||
namespace Microsoft.AspNet.JsonPatch
|
namespace Microsoft.AspNetCore.JsonPatch
|
||||||
{
|
{
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
@ -8,7 +8,7 @@ namespace Microsoft.AspNet.JsonPatch
|
||||||
internal static class Resources
|
internal static class Resources
|
||||||
{
|
{
|
||||||
private static readonly ResourceManager _resourceManager
|
private static readonly ResourceManager _resourceManager
|
||||||
= new ResourceManager("Microsoft.AspNet.JsonPatch.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
= new ResourceManager("Microsoft.AspNetCore.JsonPatch.Resources", typeof(Resources).GetTypeInfo().Assembly);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The type of the property at path '{0}' could not be determined.
|
/// The type of the property at path '{0}' could not be determined.
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Dynamic;
|
using System.Dynamic;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class AddOperationTests
|
public class AddOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class AddTypedOperationTests
|
public class AddTypedOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
@ -6,7 +6,7 @@ using System.Dynamic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class CopyOperationTests
|
public class CopyOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class CopyTypedOperationTests
|
public class CopyTypedOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
@ -6,7 +6,7 @@ using System.Dynamic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class MoveOperationTests
|
public class MoveOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class MoveTypedOperationTests
|
public class MoveTypedOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class NestedDTO
|
public class NestedDTO
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class PatchDocumentTests
|
public class PatchDocumentTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Dynamic;
|
using System.Dynamic;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class RemoveOperationTests
|
public class RemoveOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class RemoveTypedOperationTests
|
public class RemoveTypedOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -8,7 +8,7 @@ using System.Dynamic;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class ReplaceOperationTests
|
public class ReplaceOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -8,7 +8,7 @@ using System.Linq;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class ReplaceTypedOperationTests
|
public class ReplaceTypedOperationTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class SimpleDTO
|
public class SimpleDTO
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test.Dynamic
|
namespace Microsoft.AspNetCore.JsonPatch.Test.Dynamic
|
||||||
{
|
{
|
||||||
public class SimpleDTOWithNestedDTO
|
public class SimpleDTOWithNestedDTO
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test
|
namespace Microsoft.AspNetCore.JsonPatch.Test
|
||||||
{
|
{
|
||||||
public class NestedDTO
|
public class NestedDTO
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test
|
namespace Microsoft.AspNetCore.JsonPatch.Test
|
||||||
{
|
{
|
||||||
public class NestedObjectTests
|
public class NestedObjectTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using Microsoft.AspNet.JsonPatch.Exceptions;
|
using Microsoft.AspNetCore.JsonPatch.Exceptions;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test
|
namespace Microsoft.AspNetCore.JsonPatch.Test
|
||||||
{
|
{
|
||||||
public class ObjectAdapterTests
|
public class ObjectAdapterTests
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test
|
namespace Microsoft.AspNetCore.JsonPatch.Test
|
||||||
{
|
{
|
||||||
public class SimpleDTO
|
public class SimpleDTO
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test
|
namespace Microsoft.AspNetCore.JsonPatch.Test
|
||||||
{
|
{
|
||||||
public class SimpleDTOWithNestedDTO
|
public class SimpleDTOWithNestedDTO
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
namespace Microsoft.AspNet.JsonPatch.Test
|
namespace Microsoft.AspNetCore.JsonPatch.Test
|
||||||
{
|
{
|
||||||
public class TestErrorLogger<T> where T : class
|
public class TestErrorLogger<T> where T : class
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
"warningsAsErrors": true
|
"warningsAsErrors": true
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.JsonPatch": "1.0.0-*",
|
"Microsoft.AspNetCore.JsonPatch": "1.0.0-*",
|
||||||
"Microsoft.AspNet.Testing": "1.0.0-*",
|
"Microsoft.AspNetCore.Testing": "1.0.0-*",
|
||||||
"Newtonsoft.Json": "6.0.6",
|
"Newtonsoft.Json": "6.0.6",
|
||||||
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
"xunit.runner.aspnet": "2.0.0-aspnet-*"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue