StringDifferenceOptions StringDifferenceOptions StringDifferenceOptions Struct

Definition

Options to use in calculating string differences.

public struct StringDifferenceOptions
type StringDifferenceOptions = struct
Public Structure StringDifferenceOptions
Inheritance
StringDifferenceOptionsStringDifferenceOptionsStringDifferenceOptions

Constructors

StringDifferenceOptions(StringDifferenceOptions) StringDifferenceOptions(StringDifferenceOptions) StringDifferenceOptions(StringDifferenceOptions)

Initializes a new instance of StringDifferenceOptions with the specified options.

StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean) StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean) StringDifferenceOptions(StringDifferenceTypes, Int32, Boolean)

Initializes a new instance of StringDifferenceOptions with the specified options.

Properties

ContinueProcessingPredicate ContinueProcessingPredicate ContinueProcessingPredicate

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

DetermineLocalityCallback DetermineLocalityCallback DetermineLocalityCallback

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

DifferenceType DifferenceType DifferenceType

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

IgnoreTrimWhiteSpace IgnoreTrimWhiteSpace IgnoreTrimWhiteSpace

Gets or sets whether to ignore white space.

Locality Locality Locality

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

WordSplitBehavior WordSplitBehavior WordSplitBehavior

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

Methods

Equals(Object) Equals(Object) Equals(Object)

Determines whether two StringDifferenceOptions are the same.

GetHashCode() GetHashCode() GetHashCode()

Provides a hash function for the type.

ToString() ToString() ToString()

Provides a string representation of these difference options.

Operators

Equality(StringDifferenceOptions, StringDifferenceOptions) Equality(StringDifferenceOptions, StringDifferenceOptions) Equality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are the same

Inequality(StringDifferenceOptions, StringDifferenceOptions) Inequality(StringDifferenceOptions, StringDifferenceOptions) Inequality(StringDifferenceOptions, StringDifferenceOptions)

Determines whether two StringDifferenceOptions are different.

Applies to