Class RegexSerializer
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll
Represents a serializer for Regex.
public sealed class RegexSerializer : SealedClassSerializerBase<Regex>, IBsonSerializer<Regex>, IBsonSerializer, IRepresentationConfigurable<RegexSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
Inheritance
RegexSerializer
Implements
Inherited Members
Extension Methods
Constructors
Initializes a new instance of the RegexSerializer class.
Initializes a new instance of the RegexSerializer class.
Properties
Gets a cached instance of a RegexSerializer with RegularExpression representation.
Gets the representation.
Methods
Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Deserializes a value.
Determines whether the specified object is equal to the current object.
Serves as the default hash function.
Serialize(BsonSerializationContext, BsonSerializationArgs, Regex)
Serializes a value.
Returns a serializer that has been reconfigured with the specified representation.