# EmailContactSource

One provenance-tagged Outlook contact for offline consolidation review.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EmailContactReviewContracts.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Contact/EmailContactReviewContracts.cs#L8)

**Modifiers**

sealed

One provenance-tagged Outlook contact for offline consolidation review.

## Inheritance

- object
- EmailContactSource

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [EmailContactSource.FromAddressBook](/api/email/officeimo-email-emailcontactsource/#method-fromaddressbook-officeimo-email-addressbook-offlineaddressbookentry-string)

### Accepted by parameters 1

- Method [EmailContactConsolidation.Review](/api/email/officeimo-email-emailcontactconsolidation/#method-review-collections-generic-ienumerable-officeimo-email-emailcontactsource-officeimo-email-emailcontactreviewoptions-officeimo-email-addressbook-offlineaddressbookidentityindex-threading-cancellationtoken) parameter `sources`

Filter members 

Show inherited

## Constructors

`public EmailContactSource(string sourceId, EmailDocument document)` [#](#constructor-ctor-string-officeimo-email-emaildocument)

[EmailContactReviewContracts.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Contact/EmailContactReviewContracts.cs#L8)

Creates a source. IDs must be unique within one review.

Parameters

**sourceId string required**

**document OfficeIMO.Email.EmailDocument required**

## Methods

`public static EmailContactSource FromAddressBook(OfflineAddressBookEntry entry, string? sourceId = null)` [#](#method-fromaddressbook-officeimo-email-addressbook-offlineaddressbookentry-string)

[EmailContactReviewContracts.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Contact/EmailContactReviewContracts.cs#L18)

Projects a person OAB entry through its canonical Outlook contact mapper.

Parameters

**entry OfficeIMO.Email.AddressBook.OfflineAddressBookEntry required**

**sourceId string? = null optional**

Returns

`EmailContactSource`

## 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 SourceId { get; }` [#](#property-sourceid)

[EmailContactReviewContracts.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Contact/EmailContactReviewContracts.cs#L13)

Caller-owned source identity, retained in every field choice.

`public EmailDocument Document { get; }` [#](#property-document)

[EmailContactReviewContracts.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email/Contact/EmailContactReviewContracts.cs#L15)

Contact model read during review. No input is changed.

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