public Facet(string key, FacetValue value) { Guard.NotEmpty(key, nameof(key)); Guard.NotNull(value, nameof(value)); Key = key; Value = value; Children = new List <Facet>(); IsChoice = true; Published = true; }
public Facet(FacetValue value) : this(value.ToString(), value) { }