Interface IFacetExtractor
- Namespace
- idunno.Bluesky.RichText
- Assembly
- idunno.Bluesky.dll
Exposes a method that extracts facets from a text string.
public interface IFacetExtractorMethods
ExtractFacets(string, CancellationToken)
Extracts facets from text.
Task<IList<Facet>> ExtractFacets(string text, CancellationToken cancellationToken = default)Parameters
textstring-
The string to extract facets from.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
ExtractFacets(string, CancellationToken)
Extracts facets from text.
Task<IList<Facet>> ExtractFacets(string text, CancellationToken cancellationToken = default)Parameters
textstring-
The string to extract facets from.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
ExtractFacets(string, CancellationToken)
Extracts facets from text.
Task<IList<Facet>> ExtractFacets(string text, CancellationToken cancellationToken = default)Parameters
textstring-
The string to extract facets from.
cancellationTokenCancellationToken-
A cancellation token that can be used by other objects or threads to receive notice of cancellation.