Class Facet
Inheritance
System.Object
Facet
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Search.Extensions
Assembly: Mediachase.Search.Extensions.dll
Version: 10.8.0Syntax
public class Facet : ISearchFacet
Constructors
Facet(ISearchFacetGroup, String, String, Int32)
Initializes a new instance of the Facet class.
Declaration
public Facet(ISearchFacetGroup group, string key, string name, int count)
Parameters
Type | Name | Description |
---|---|---|
ISearchFacetGroup | group | The group. |
System.String | key | The key. |
System.String | name | The name. |
System.Int32 | count | The count. |
Facet(ISearchFacetGroup, String, String, Int32, Boolean)
Initializes a new instance of the Facet class.
Declaration
public Facet(ISearchFacetGroup group, string key, string name, int count, bool isSelected)
Parameters
Type | Name | Description |
---|---|---|
ISearchFacetGroup | group | The group. |
System.String | key | The key. |
System.String | name | The name. |
System.Int32 | count | The count. |
System.Boolean | isSelected | if set to |
Properties
Count
Gets the count.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The count. |
Group
Gets the group.
Declaration
public ISearchFacetGroup Group { get; }
Property Value
Type | Description |
---|---|
ISearchFacetGroup | The group. |
IsSelected
Gets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Key
Gets or sets the Key.
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String | The URL. |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The name. |