Class StreamSearchExpression

Inheritance
System.Object
StreamSearchExpression
Inherited Members
System.Object.ToString()
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: Mediachase.BusinessFoundation.Blob
Assembly: Mediachase.BusinessFoundation.dll
Version: 10.8.0
Syntax
public class StreamSearchExpression

Constructors

StreamSearchExpression(Stream, String[], Encoding, Int32)

Initializes a new instance of the StreamSearchExpression class.

Declaration
public StreamSearchExpression(Stream stream, string[] patterns, Encoding encoding, int bufferSize)
Parameters
Type Name Description
System.IO.Stream stream

The stream.

System.String[] patterns

The patterns.

System.Text.Encoding encoding

The encoding.

System.Int32 bufferSize

Size of the buffer.

Methods

Check(out String, out Int64)

Checks the specified pattern matched.

Declaration
public bool Check(out string patternMatched, out long positionEnd)
Parameters
Type Name Description
System.String patternMatched

The pattern matched.

System.Int64 positionEnd

The position end.

Returns
Type Description
System.Boolean

Check(out String, out Int64, RegexOptions)

Checks the specified pattern matched.

Declaration
public bool Check(out string patternMatched, out long positionEnd, RegexOptions regExpOptions)
Parameters
Type Name Description
System.String patternMatched

The pattern matched.

System.Int64 positionEnd

The position end.

System.Text.RegularExpressions.RegexOptions regExpOptions

The reg exp options.

Returns
Type Description
System.Boolean