Beispiel #1
0
        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;
        }
Beispiel #2
0
 public Facet(FacetValue value)
     : this(value.ToString(), value)
 {
 }