Search Results for

    Show / Hide Table of Contents

    Class SegmentationRule

    Inheritance
    System.Object
    SegmentationRule
    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 SegmentationRule : ICloneable

    Constructors

    SegmentationRule()

    Declaration
    public SegmentationRule()

    SegmentationRule(SegmentationRule)

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

    SegmentationRule(String, SegmentationContext)

    Declaration
    public SegmentationRule(string description, SegmentationContext matchingContext)
    Parameters
    Type Name Description
    System.String description
    SegmentationContext matchingContext

    SegmentationRule(String, SegmentationContext, List<SegmentationContext>)

    Declaration
    public SegmentationRule(string description, SegmentationContext matchingContext, List<SegmentationContext> exceptions)
    Parameters
    Type Name Description
    System.String description
    SegmentationContext matchingContext
    System.Collections.Generic.List<SegmentationContext> exceptions

    Properties

    Description

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

    Exceptions

    Declaration
    public List<SegmentationContext> Exceptions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<SegmentationContext>

    IsEnabled

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

    MatchingContext

    Declaration
    public SegmentationContext MatchingContext { get; set; }
    Property Value
    Type Description
    SegmentationContext

    MinimumChars

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

    MinimumWords

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

    Origin

    Declaration
    public RuleOrigin Origin { get; set; }
    Property Value
    Type Description
    RuleOrigin

    Type

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

    Methods

    AddException(SegmentationContext)

    Declaration
    public void AddException(SegmentationContext context)
    Parameters
    Type Name Description
    SegmentationContext context

    Clone()

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

    FindFirstMatch(String, Int32, Boolean, Boolean)

    Declaration
    public int FindFirstMatch(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.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
      • SegmentationRule()
      • SegmentationRule(SegmentationRule)
      • SegmentationRule(String, SegmentationContext)
      • SegmentationRule(String, SegmentationContext, List<SegmentationContext>)
    • Properties
      • Description
      • Exceptions
      • IsEnabled
      • MatchingContext
      • MinimumChars
      • MinimumWords
      • Origin
      • Type
    • Methods
      • AddException(SegmentationContext)
      • Clone()
      • FindFirstMatch(String, Int32, Boolean, Boolean)
      • MatchesAt(String, Int32, Boolean, Boolean)
      • ToString()
    • Implements
    Back to top Generated by DocFX