public SolrInputField DeepClone() { var clone = new SolrInputField(Name); clone.Boost = Boost; if (Value is ICollection) clone.Value = new ArrayList((Value as ICollection)); else clone.Value = Value; return clone; }
public SolrInputField DeepClone() { var clone = new SolrInputField(Name); clone.Boost = Boost; if (Value is ICollection) { clone.Value = new ArrayList((Value as ICollection)); } else { clone.Value = Value; } return(clone); }