public class ResourceSpec
{
public string TypeName
{
get;
private set;
}
public HashSet<ResourceProperty> Properties
{
get;
private set;
}
}
public class ResourceProperty
{
public string Val
{
get;
private set;
}
} Hey Sharas. Are you still having troubles with this? If you want to change how an object is serialized into a string, override the ToString() method to produce a string in the desired format.
-Will
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/pVsS6kLdoZI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/f1d9c791-41ca-420b-ba44-1bdef7de1eb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
public HashSet<ResourceProperty> Properties { get; private set; }public HashSet<string> Properties { get; private set; }