Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailStoreHtmlBodyTextProjector

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email.Html
Source revision
1b8ca1819261 with working tree changes
Implements
IEmailStoreBodyTextProjector
Modifiers
sealed

Network-free semantic-search body projection through the shared email/HTML owner.

Inheritance

  • object
  • EmailStoreHtmlBodyTextProjector

Constructors

public EmailStoreHtmlBodyTextProjector(EmailConcealedTextPolicy policy = Preserve, Action<EmailBodyContentSafetyReport>? inspectionObserver = null) #

Creates a bounded projector. The optional observer receives advisory evidence without source text.

Parameters

policy OfficeIMO.Email.EmailConcealedTextPolicy = Preserve optional
inspectionObserver System.Action<OfficeIMO.Email.EmailBodyContentSafetyReport>? = null optional

Methods

public string Project(EmailDocument document, EmailStoreContentSearchFields bodyField, int maxCharacters, CancellationToken cancellationToken) #

Projects one requested body field without modifying the message or opening attachments. The session enforces the returned-character bound; implementations must bound parsing and observe cancellation.

Parameters

document OfficeIMO.Email.EmailDocument required
bodyField OfficeIMO.Email.Store.EmailStoreContentSearchFields required
maxCharacters int required
cancellationToken System.Threading.CancellationToken required

Returns

string

Properties

public string Identity { get; } #

Stable identity of the projection policy and version. Checkpoints are bound to this identity.