Partilhar via


StringDifferenceOptions Struct

Definition

Options to use in computing string differences.

public value class StringDifferenceOptions
struct StringDifferenceOptions
public struct StringDifferenceOptions
type StringDifferenceOptions = struct
Public Structure StringDifferenceOptions
Inheritance
StringDifferenceOptions

Constructors

StringDifferenceOptions(StringDifferenceOptions)

Constructs a StringDifferenceOptions from a given StringDifferenceOptions.

StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean)

Constructs a StringDifferenceOptions.

Properties

ContinueProcessingPredicate

An optional predicate that allows clients to cancel differencing before it has completely finished.

DetermineLocalityCallback
Obsolete.

An optional callback to override the locality for a specific round of differencing.

DifferenceType

The type of string differencing to do, as a combination of line, word, and character differencing.

IgnoreTrimWhiteSpace

Gets or sets whether to ignore white space.

Locality
Obsolete.

The greatest distance a differencing element (line, span, or character) can move and still be considered part of the same source. A value of 0 disables locality checking.

WordSplitBehavior

The behavior to use when splitting words, if word differencing is requested by the DifferenceType.

Methods

Equals(Object)

Determines whether two StringDifferenceOptions are the same.

GetHashCode()

Provides a hash function for the type.

ToString()

Provides a string representation of these difference options.

Operators

Equality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are the same

Inequality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are different.

Applies to