Class FacetResult
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class FacetResult : IFacetResult, IEnumerable<IFacetValue>, IEnumerable
- Inheritance
-
FacetResult
- Implements
- Inherited Members
Constructors
FacetResult(IEnumerable<IFacetValue>)
public FacetResult(IEnumerable<IFacetValue> values)
Parameters
values
IEnumerable<IFacetValue>
Methods
Facet(string)
Gets the facet for a label
public IFacetValue? Facet(string label)
Parameters
label
string
Returns
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<IFacetValue> GetEnumerator()
Returns
- IEnumerator<IFacetValue>
An enumerator that can be used to iterate through the collection.
TryGetFacet(string, out IFacetValue?)
Trys to get a facet value for a label
public bool TryGetFacet(string label, out IFacetValue? facetValue)
Parameters
label
stringfacetValue
IFacetValue