# EntityDetails

Attributes directly encoded in a valid entity value.

Class 

`OfficeIMO.Entities`

**Namespace**

`OfficeIMO.Entities`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[EntityDetails.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L10)

**Modifiers**

sealed

Attributes directly encoded in a valid entity value.

## Inheritance

- object
- EntityDetails

## Usage

Explore 1 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 [EntityScheme.Decode](/api/core/officeimo-entities-entityscheme/#method-decode-string)

Filter members 

Show inherited

## Constructors

`public EntityDetails(DateTime? birthDate = null, EntitySex? sex = null, string? country = null, string? variant = null, IReadOnlyDictionary<string, string>? properties = null)` [#](#constructor-ctor-nullable-system-datetime-nullable-officeimo-entities-entitysex-string-string-collections-generic-ireadonlydictionary-system-string-system-string)

[EntityDetails.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L10)

Creates details with a read-only copy of the scheme-specific attributes.

Parameters

**birthDate System.DateTime? = null optional**

**sex OfficeIMO.Entities.EntitySex? = null optional**

**country string? = null optional**

**variant string? = null optional**

**properties System.Collections.Generic.IReadOnlyDictionary<string, string>? = null optional**

## 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 DateTime? BirthDate { get; }` [#](#property-birthdate)

[EntityDetails.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L24)

Encoded birth date, if present.

`public EntitySex? Sex { get; }` [#](#property-sex)

[EntityDetails.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L26)

Encoded sex, if present.

`public string? Country { get; }` [#](#property-country)

[EntityDetails.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L28)

ISO country code encoded in the value, if present.

`public string? Variant { get; }` [#](#property-variant)

[EntityDetails.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L30)

Scheme-defined format variant, if present.

`public IReadOnlyDictionary<string, string> Properties { get; }` [#](#property-properties)

[EntityDetails.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Core/Entities/EntityDetails.cs#L32)

Scheme-defined properties. These properties may contain sensitive data.

<!-- PowerForge markdown artifact sha256:75048541C42136F0F969B9073EEF4B954478D38D0BC7BE97CF3F5B5120266EF4 -->
