Struct BSONRegularExpression
Represents a BSON regular expression type
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Serialization.BSON
Assembly: Azos.dll
Syntax
public struct BSONRegularExpression : IJSONWritable
Constructors
BSONRegularExpression(String, BSONRegularExpressionOptions)
Declaration
public BSONRegularExpression(string pattern, BSONRegularExpressionOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.String | pattern | |
BSONRegularExpressionOptions | options |
Fields
Options
Declaration
public readonly BSONRegularExpressionOptions Options
Field Value
Type | Description |
---|---|
BSONRegularExpressionOptions |
Pattern
Declaration
public readonly string Pattern
Field Value
Type | Description |
---|---|
System.String |
Methods
WriteAsJSON(TextWriter, Int32, JSONWritingOptions)
Declaration
public void WriteAsJSON(TextWriter wri, int nestingLevel, JSONWritingOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | wri | |
System.Int32 | nestingLevel | |
JSONWritingOptions | options |