Class Context
Inheritance
System.Object
Context
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()
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class Context : ICloneable
Constructors
Context()
Declaration
Context(Context)
Declaration
public Context(Context other)
Parameters
Type |
Name |
Description |
Context |
other |
|
Context(String)
Declaration
public Context(string pattern)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
Context(String, Boolean, Boolean)
Declaration
public Context(string pattern, bool caseInsensitive, bool matchesInputBoundary)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
System.Boolean |
caseInsensitive |
|
System.Boolean |
matchesInputBoundary |
|
Properties
CaseInsensitiveMatching
Declaration
public bool CaseInsensitiveMatching { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
MatchesAtInputBoundary
Declaration
public bool MatchesAtInputBoundary { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Pattern
Declaration
public string Pattern { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Clone()
Declaration
Returns
Type |
Description |
System.Object |
|
FindAllMatches(String, Int32)
Declaration
public List<Match> FindAllMatches(string s, int startOffset)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Int32 |
startOffset |
|
Returns
Type |
Description |
System.Collections.Generic.List<Match> |
|
MatchesAt(String, Int32, Boolean, Boolean)
Declaration
public bool MatchesAt(string s, int position, bool assumeEof, bool followedByWordBreak)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Int32 |
position |
|
System.Boolean |
assumeEof |
|
System.Boolean |
followedByWordBreak |
|
Returns
Type |
Description |
System.Boolean |
|
MatchesUpto(String, Int32)
Declaration
public bool MatchesUpto(string s, int position)
Parameters
Type |
Name |
Description |
System.String |
s |
|
System.Int32 |
position |
|
Returns
Type |
Description |
System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
Implements
System.ICloneable