You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
804 B

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