Class GuidSerializer
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll
Represents a serializer for Guids.
public sealed class GuidSerializer : StructSerializerBase<Guid>, IBsonSerializer<Guid>, IBsonSerializer, IRepresentationConfigurable<GuidSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
Inheritance
GuidSerializer
Implements
Inherited Members
Extension Methods
Constructors
Initializes a new instance of the GuidSerializer class.
Initializes a new instance of the GuidSerializer class.
GuidSerializer(GuidRepresentation)
Initializes a new instance of the GuidSerializer class.
Properties
Gets the Guid representation.
Gets the representation.
Gets a cached instance of a GuidSerializer with Standard 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, Guid)
Serializes a value.
WithGuidRepresentation(GuidRepresentation)
Returns a serializer that has been reconfigured with the specified Guid representation.
Returns a serializer that has been reconfigured with the specified representation.