-
Notifications
You must be signed in to change notification settings - Fork 84
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 #46 from RyanObray/master
Property Filter and Patch Behavior Solution (Resolves #34)
- Loading branch information
Showing
5 changed files
with
129 additions
and
19 deletions.
There are no files selected for viewing
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
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,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace JsonDiffPatchDotNet | ||
{ | ||
[Flags] | ||
public enum DiffBehavior | ||
{ | ||
/// <summary> | ||
/// Default behavior | ||
/// </summary> | ||
None, | ||
/// <summary> | ||
/// If the patch document is missing properties that are in the source document, leave the existing properties in place instead of deleting them | ||
/// </summary> | ||
IgnoreMissingProperties, | ||
/// <summary> | ||
/// If the patch document contains properties that aren't defined in the source document, ignore them instead of adding them | ||
/// </summary> | ||
IgnoreNewProperties | ||
} | ||
} |
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