Table of Contents

Interface IFacetExtractor

Namespace
idunno.Bluesky.RichText
Assembly
idunno.Bluesky.dll

Exposes a method that extracts facets from a text string.

public interface IFacetExtractor

Methods

ExtractFacets(string, CancellationToken)

Extracts facets from text.

Task<IList<Facet>> ExtractFacets(string text, CancellationToken cancellationToken = default)

Parameters

text string

The string to extract facets from.

cancellationToken CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

Task<IList<Facet>>

The task object representing the asynchronous operation.

ExtractFacets(string, CancellationToken)

Extracts facets from text.

Task<IList<Facet>> ExtractFacets(string text, CancellationToken cancellationToken = default)

Parameters

text string

The string to extract facets from.

cancellationToken CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

Task<IList<Facet>>

The task object representing the asynchronous operation.

ExtractFacets(string, CancellationToken)

Extracts facets from text.

Task<IList<Facet>> ExtractFacets(string text, CancellationToken cancellationToken = default)

Parameters

text string

The string to extract facets from.

cancellationToken CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

Task<IList<Facet>>

The task object representing the asynchronous operation.