Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Sdl.LanguagePlatform.Core
    Assembly: Sdl.LanguagePlatform.Core.dll
    Syntax
    public class SegmentRange

    Constructors

    SegmentRange()

    Declaration
    public SegmentRange()

    SegmentRange(SegmentPosition, SegmentPosition)

    Declaration
    public SegmentRange(SegmentPosition from, SegmentPosition into)
    Parameters
    Type Name Description
    SegmentPosition from
    SegmentPosition into

    SegmentRange(Int32, Int32, Int32)

    Declaration
    public SegmentRange(int run, int from, int into)
    Parameters
    Type Name Description
    System.Int32 run
    System.Int32 from
    System.Int32 into

    Properties

    From

    Declaration
    public SegmentPosition From { get; set; }
    Property Value
    Type Description
    SegmentPosition

    Into

    Declaration
    public SegmentPosition Into { get; set; }
    Property Value
    Type Description
    SegmentPosition

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Compare(SegmentRange, SegmentRange)

    Declaration
    public static int Compare(SegmentRange a, SegmentRange b)
    Parameters
    Type Name Description
    SegmentRange a
    SegmentRange b
    Returns
    Type Description
    System.Int32

    Contains(SegmentRange)

    Declaration
    public bool Contains(SegmentRange other)
    Parameters
    Type Name Description
    SegmentRange other
    Returns
    Type Description
    System.Boolean

    Duplicate()

    Declaration
    public SegmentRange Duplicate()
    Returns
    Type Description
    SegmentRange

    Equals(SegmentRange)

    Declaration
    public bool Equals(SegmentRange other)
    Parameters
    Type Name Description
    SegmentRange other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    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)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()

    IsInside(SegmentPosition)

    Declaration
    public bool IsInside(SegmentPosition p)
    Parameters
    Type Name Description
    SegmentPosition p
    Returns
    Type Description
    System.Boolean

    OverlapsWith(SegmentRange)

    Declaration
    public bool OverlapsWith(SegmentRange other)
    Parameters
    Type Name Description
    SegmentRange other
    Returns
    Type Description
    System.Boolean

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    On this page

    • Constructors
      • SegmentRange()
      • SegmentRange(SegmentPosition, SegmentPosition)
      • SegmentRange(Int32, Int32, Int32)
    • Properties
      • From
      • Into
      • Length
    • Methods
      • Compare(SegmentRange, SegmentRange)
      • Contains(SegmentRange)
      • Duplicate()
      • Equals(SegmentRange)
      • Equals(Object)
      • GetHashCode()
      • IsInside(SegmentPosition)
      • OverlapsWith(SegmentRange)
      • ToString()
    Back to top Generated by DocFX