# EmailStoreHtmlBodyTextProjector

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

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email.Html`

**Source revision**

`5c75d8cf85ed` with working tree changes

**Source**

[EmailStoreHtmlBodyTextProjector.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/5c75d8cf85ed3404d393a18bd7c1015a83e075de/OfficeIMO.Email.Html/Indexing/EmailStoreHtmlBodyTextProjector.cs#L11)

**Implements**

`IEmailStoreBodyTextProjector`

**Modifiers**

sealed

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

## Inheritance

- object
- EmailStoreHtmlBodyTextProjector

Filter members 

Show inherited

## Constructors

`public EmailStoreHtmlBodyTextProjector(EmailConcealedTextPolicy policy = Preserve, Action<EmailBodyContentSafetyReport>? inspectionObserver = null)` [#](#constructor-ctor-officeimo-email-emailconcealedtextpolicy-action-officeimo-email-emailbodycontentsafetyreport)

[EmailStoreHtmlBodyTextProjector.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/5c75d8cf85ed3404d393a18bd7c1015a83e075de/OfficeIMO.Email.Html/Indexing/EmailStoreHtmlBodyTextProjector.cs#L11)

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)` [#](#method-project-officeimo-email-emaildocument-officeimo-email-store-emailstorecontentsearchfields-int32-threading-cancellationtoken)

[EmailStoreHtmlBodyTextProjector.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/5c75d8cf85ed3404d393a18bd7c1015a83e075de/OfficeIMO.Email.Html/Indexing/EmailStoreHtmlBodyTextProjector.cs#L24)

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`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Identity { get; }` [#](#property-identity)

[EmailStoreHtmlBodyTextProjector.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/5c75d8cf85ed3404d393a18bd7c1015a83e075de/OfficeIMO.Email.Html/Indexing/EmailStoreHtmlBodyTextProjector.cs#L19)

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

<!-- PowerForge markdown artifact sha256:CFBA1AA787454EF6B3C0B79129FDD1A987BB368BABE59C96D7AE6A25B7A14ECF -->
