Click or drag to resize

Diff Class

Class representing one diff operation.
Inheritance Hierarchy
SystemObject
  GSF.TextDiff

Namespace: GSF.Text
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class Diff
View Source

The Diff type exposes the following members.

Constructors
 NameDescription
Public methodDiff Initializes the diff with the provided values.
Top
Properties
 NameDescription
Public propertyOperation One of: INSERT, DELETE or EQUAL.
Top
Methods
 NameDescription
Public methodEquals(Diff) Is this Diff equivalent to another Diff?
Public methodEquals(Object) Is this Diff equivalent to another Diff?
(Overrides ObjectEquals(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCode Hash function for the Diff.
(Overrides ObjectGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Display a human-readable version of this Diff.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldText The text associated with this diff operation.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
This class produces a dynamic hash code, do not use an instance of this class as key in a dictionary.
See Also