Table of Contents

Class StackSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents a serializer for Stacks.

public sealed class StackSerializer : EnumerableSerializerBase<Stack>, IBsonSerializer<Stack>, IChildSerializerConfigurable, IBsonArraySerializer, IBsonSerializer
Inheritance
StackSerializer
Implements
Inherited Members
Extension Methods

Constructors

StackSerializer()

Initializes a new instance of the StackSerializer class.

StackSerializer(IBsonSerializer)

Initializes a new instance of the StackSerializer class.

StackSerializer(IBsonSerializerRegistry)

Initializes a new instance of the StackSerializer class.

Methods

AddItem(object, object)

Adds the item.

CreateAccumulator()

Creates the accumulator.

EnumerateItemsInSerializationOrder(Stack)

Enumerates the items in serialization order.

FinalizeResult(object)

Finalizes the result.

WithItemSerializer(IBsonSerializer)

Returns a serializer that has been reconfigured with the specified item serializer.