EquivalentOptions Class

public sealed class EquivalentOptions

No documentation is available.

Constructors

NameDescription
EquivalentOptions()

EquivalentOptions()

public EquivalentOptions()

No documentation is available.

Properties

NameDescription
IgnoreCollectionOrderGets or sets a value indicating whether collections, including JSON arrays, match regardless of the order of their items.
IgnoreMemberNameCaseGets or sets a value indicating whether members whose names differ only by case are paired. Members with the same name are paired first, so a type whose member names differ only by case still has all of them compared.
IgnoreStringCaseGets or sets a value indicating whether strings are compared ignoring case. It also applies to dictionary keys, JSON strings and property names, and the content of a StringBuilder.

IgnoreCollectionOrder

EquivalentOptions.cs

Gets or sets a value indicating whether collections, including JSON arrays, match regardless of the order of their items.

public bool IgnoreCollectionOrder { get; set; }

Property value

bool

IgnoreMemberNameCase

EquivalentOptions.cs

Gets or sets a value indicating whether members whose names differ only by case are paired. Members with the same name are paired first, so a type whose member names differ only by case still has all of them compared.

public bool IgnoreMemberNameCase { get; set; }

Property value

bool

IgnoreStringCase

EquivalentOptions.cs

Gets or sets a value indicating whether strings are compared ignoring case. It also applies to dictionary keys, JSON strings and property names, and the content of a StringBuilder.

public bool IgnoreStringCase { get; set; }

Property value

bool