-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from myquay/namespace-and-dependencies
Namespace and dependencies
- Loading branch information
Showing
63 changed files
with
831 additions
and
436 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
.../Controllers/WeatherForecastController.cs → .../Controllers/WeatherForecastController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
using JsonPatch; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace JsonPatchCore.Tests.Api.Controllers; | ||
|
File renamed without changes.
3 changes: 1 addition & 2 deletions
3
src/JsonPatchCore.Tests.Api/Program.cs → Examples/JsonPatchCore.Tests.Api/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
JsonPatch.Common/Paths/Components/CollectionIndexPathComponent.cs
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
JsonPatch.Common/Paths/Components/CollectionPathComponent.cs
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
JsonPatch.Common/Paths/Components/DictionaryPathComponent.cs
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
JsonPatch.Common/Paths/Components/PropertyPathComponent.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace JsonPatch | ||
{ | ||
/// <summary> | ||
/// Constants | ||
/// </summary> | ||
public static class Constants | ||
{ | ||
/// <summary> | ||
/// Operation names | ||
/// </summary> | ||
public static class Operations | ||
{ | ||
/// <summary> | ||
/// Adds a value to an object or inserts it into an array. | ||
/// </summary> | ||
public const string ADD = "add"; | ||
|
||
/// <summary> | ||
/// Removes the element of the array, or member from an object | ||
/// </summary> | ||
public const string REMOVE = "remove"; | ||
|
||
/// <summary> | ||
/// Replaces a value. Equivalent to a "remove" followed by an "add". | ||
/// </summary> | ||
public const string REPLACE = "replace"; | ||
|
||
/// <summary> | ||
/// Moves a value from one location to the other. | ||
/// </summary> | ||
public const string MOVE = "move"; | ||
|
||
} | ||
} | ||
} |
5 changes: 2 additions & 3 deletions
5
...tch.Common/Extensions/StringExtensions.cs → ...tch.Common/Extensions/StringExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.