using System;
namespace MongoDB.Bson.Serialization.Options
{
///
/// Represents the representation to use for dictionaries.
///
public enum DictionaryRepresentation
{
/// Represent the dictionary as a Document.
Document,
/// Represent the dictionary as an array of arrays.
ArrayOfArrays,
/// Represent the dictionary as an array of documents.
ArrayOfDocuments,
}
}
namespace MongoDB.Bson.Serialization.Attributes
{
public class BsonDictionaryOptionsAttribute: Attribute
{
public BsonDictionaryOptionsAttribute(MongoDB.Bson.Serialization.Options.DictionaryRepresentation dictionaryRepresentation)
{
}
}
}