private void WritePropertiesFromAttribute(JsonWriter jsonWriter, IElasticPropertyAttribute att, string propertyName, string type) { var visitor = new WritePropertiesFromAttributeVisitor(jsonWriter, propertyName, type); att.Accept(visitor); }