internal ElasticExpandoObject CreateOrGetAttribute(string memberName, object value)
{
if (!attributes.ContainsKey(memberName))
{
attributes[memberName] = new ElasticExpandoObject(value, this,memberName);
return attributes[memberName];
}
else
{
return attributes[memberName];
}
}