Class DiffResultSpan
Defines a diff result span
Inheritance
System.Object
DiffResultSpan
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OSGeo.MapGuide.MaestroAPI.Resource.Comparison
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class DiffResultSpan : IComparable
Constructors
| Improve this Doc View SourceDiffResultSpan(DiffResultSpanStatus, Int32, Int32, Int32)
Initializes this instance
Declaration
protected DiffResultSpan(DiffResultSpanStatus status, int destIndex, int sourceIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
DiffResultSpanStatus | status | |
System.Int32 | destIndex | |
System.Int32 | sourceIndex | |
System.Int32 | length |
Properties
| Improve this Doc View SourceDestIndex
The destination index
Declaration
public int DestIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Length
Gets the length of this span
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
SourceIndex
The source index
Declaration
public int SourceIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Status
Gets the status of this span
Declaration
public DiffResultSpanStatus Status { get; }
Property Value
Type | Description |
---|---|
DiffResultSpanStatus |
Methods
| Improve this Doc View SourceCompareTo(Object)
Compares this instance against the specified object
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Int32 |
ToString()
Returns a string that represents the current object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IComparable