Class SegmentRange
Inheritance
System.Object
SegmentRange
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.LanguagePlatform.Core.dll
public class SegmentRange
Constructors
Declaration
Declaration
public SegmentRange(SegmentPosition from, SegmentPosition into)
Parameters
Declaration
public SegmentRange(int run, int from, int into)
Parameters
Type |
Name |
Description |
System.Int32 |
run |
|
System.Int32 |
from |
|
System.Int32 |
into |
|
Properties
Declaration
public SegmentPosition From { get; set; }
Property Value
Declaration
public SegmentPosition Into { get; set; }
Property Value
Declaration
public int Length { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public static int Compare(SegmentRange a, SegmentRange b)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Declaration
public bool Contains(SegmentRange other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public SegmentRange Duplicate()
Returns
Declaration
public bool Equals(SegmentRange other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Declaration
public bool IsInside(SegmentPosition p)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool OverlapsWith(SegmentRange other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()