Show / Hide Table of Contents

Class RegularExpressionExtensions

Utilities methods for BSON regular expression type

Inheritance
System.Object
RegularExpressionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Serialization.BSON
Assembly: NFX.dll
Syntax
public static class RegularExpressionExtensions

Methods

Count(BSONRegularExpressionOptions)

Returns regex options count

Declaration
public static byte Count(this BSONRegularExpressionOptions options)
Parameters
Type Name Description
BSONRegularExpressionOptions options
Returns
Type Description
System.Byte

ToBSONOptions(String)

Declaration
public static BSONRegularExpressionOptions ToBSONOptions(this string source)
Parameters
Type Name Description
System.String source
Returns
Type Description
BSONRegularExpressionOptions

ToBSONString(BSONRegularExpressionOptions)

Returns BSON-formatted string for regeax options (The options are identified by lower-case characters, which must be stored in alphabetical order).

Declaration
public static string ToBSONString(this BSONRegularExpressionOptions options)
Parameters
Type Name Description
BSONRegularExpressionOptions options
Returns
Type Description
System.String
Back to top Copyright © 2006-2018 Agnicore Inc
Generated by DocFX