Patch Class |
The Patch type exposes the following members.
Name | Description | |
---|---|---|
Diffs | List of Diffs in the patch | |
Length1 | Number of lines from source contained in this patch | |
Length2 | Number of lines from target contained in this patch | |
Start1 | Source line number (zero-based index) | |
Start2 | Target line number (zero-based index) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString |
Emulate GNU diff's format.
Header: @@ -382,8 +481,9 @@
Indices are printed as 1-based, not 0-based.
(Overrides ObjectToString) |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |