Guest User

Untitled

a guest
May 4th, 2016
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. public class ChartDefinitionBase
  2. {
  3. public ChartDefinitionBase(ObjectId id, IDictionary<ISite, IExample> examples)
  4. {
  5. ObjectId = id;
  6. Examples = examples;
  7. }
  8.  
  9. [BsonIgnoreIfDefault]
  10. [BsonId(IdGenerator = typeof(ObjectIdGenerator))]
  11. public ObjectId ObjectId { get; private set; }
  12.  
  13. [BsonDictionaryOptions(DictionaryRepresentation.ArrayOfDocuments)]
  14. public IDictionary<ISite, IExample> Examples{ get; private set; }
  15. }
Add Comment
Please, Sign In to add comment