DiffOperation
Overview
DiffOperation is a class in Aspose.PDF FOSS for .NET.
Inherits from: IEquatable<DiffOperation>.
A single edit produced when diffing two texts: an Operation (Equal / Delete / Insert) together with the run of text it applies to.
This class provides 5 methods for working with DiffOperation objects in .NET programs.
Available methods include: DiffOperation, Equals, GetHashCode, ToString.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: Operation, Text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Operation | Operation | Read/Write | The edit kind. |
Text | string | Read/Write | The text this edit applies to. |
Methods
| Signature | Description |
|---|---|
DiffOperation(operation: Operation, text: string) | Create an edit of the given kind over the given text. |
Equals(other: DiffOperation?) | Two edits are equal when they share the same operation and text. |
Equals(obj: object?) | Calls Equals(obj) on this DiffOperation instance. |
GetHashCode() | Calls GetHashCode on this DiffOperation instance. |
ToString() | Calls ToString on this DiffOperation instance. |