Search Results for

    Show / Hide Table of Contents

    Class SegmentationContext

    Inheritance
    System.Object
    SegmentationContext
    Implements
    System.ICloneable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.Core.Segmentation
    Assembly: Sdl.LanguagePlatform.Core.dll
    Syntax
    public class SegmentationContext : ICloneable

    Constructors

    SegmentationContext()

    Declaration
    public SegmentationContext()

    SegmentationContext(SegmentationContext)

    Declaration
    public SegmentationContext(SegmentationContext other)
    Parameters
    Type Name Description
    SegmentationContext other

    SegmentationContext(String, String, Context, Context)

    Declaration
    public SegmentationContext(string description, string triggerChars, Context precedingContext, Context followingContext)
    Parameters
    Type Name Description
    System.String description
    System.String triggerChars
    Context precedingContext
    Context followingContext

    Properties

    ContextType

    Declaration
    public ContextType ContextType { get; set; }
    Property Value
    Type Description
    ContextType

    Description

    Declaration
    public LocalizedString Description { get; set; }
    Property Value
    Type Description
    LocalizedString

    FollowingContext

    Declaration
    public Context FollowingContext { get; set; }
    Property Value
    Type Description
    Context

    IsEnabled

    Declaration
    public bool IsEnabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    PrecedingContext

    Declaration
    public Context PrecedingContext { get; set; }
    Property Value
    Type Description
    Context

    Requires

    Declaration
    public string Requires { get; set; }
    Property Value
    Type Description
    System.String

    TriggerChars

    Declaration
    public string TriggerChars { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Clone()

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    FindAllMatches(String, Int32, Boolean, Boolean)

    Declaration
    public List<int> FindAllMatches(string input, int startOffset, bool assumeEof, bool followedByWordBreak)
    Parameters
    Type Name Description
    System.String input
    System.Int32 startOffset
    System.Boolean assumeEof
    System.Boolean followedByWordBreak
    Returns
    Type Description
    System.Collections.Generic.List<System.Int32>

    MatchesAt(String, Int32, Boolean, Boolean)

    Declaration
    public bool MatchesAt(string input, int position, bool assumeEof, bool followedByWordBreak)
    Parameters
    Type Name Description
    System.String input
    System.Int32 position
    System.Boolean assumeEof
    System.Boolean followedByWordBreak
    Returns
    Type Description
    System.Boolean

    ToString()

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

    Implements

    System.ICloneable

    On this page

    • Constructors
      • SegmentationContext()
      • SegmentationContext(SegmentationContext)
      • SegmentationContext(String, String, Context, Context)
    • Properties
      • ContextType
      • Description
      • FollowingContext
      • IsEnabled
      • PrecedingContext
      • Requires
      • TriggerChars
    • Methods
      • Clone()
      • FindAllMatches(String, Int32, Boolean, Boolean)
      • MatchesAt(String, Int32, Boolean, Boolean)
      • ToString()
    • Implements
    Back to top Generated by DocFX