using System; using System.Collections; using System.Collections.Generic; namespace JsonDiffPatchDotNet { public sealed class Options { public Options() { ArrayDiff = ArrayDiffMode.Efficient; TextDiff = TextDiffMode.Efficient; MinEfficientTextDiffLength = 50; } /// /// Specifies how arrays are diffed. The default is Efficient. /// public ArrayDiffMode ArrayDiff { get; set; } /// /// Specifies how string values are diffed. The default is Efficient. /// public TextDiffMode TextDiff { get; set; } /// /// The minimum string length required to use Efficient text diff. If the minimum /// length is not met, simple text diff will be used. The default length is 50 characters. /// public long MinEfficientTextDiffLength { get; set; } /// /// Specifies which paths to exclude from the diff patch set /// public List ExcludePaths { get; set; } = new List(); /// /// Specifies behaviors to apply to the diff patch set /// public DiffBehavior DiffBehaviors { get; set; } } }