ServiceRequest Constructor (String, SupportedMimeType, ListAnnotationSelector) A Sandcastle Documented Class Library
Construct a request for the online service to annotate a document provided as part of the request.

Namespace: Ontotext.S4.service
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public ServiceRequest(
	string document,
	SupportedMimeType type,
	List<AnnotationSelector> annotationSelectors
)

Parameters

document
Type: SystemString
the content to process.
type
Type: Ontotext.S4.serviceSupportedMimeType
the MIME type that the service should use to parse the document.
annotationSelectors
Type: System.Collections.GenericListAnnotationSelector
annotations to return. Leave as
null
to use the default selectors recommended by the pipeline provider.
See Also

Reference