> ## Documentation Index
> Fetch the complete documentation index at: https://klef.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# PersonName

```csharp
public sealed record PersonName : IEquatable<PersonName>
```

**Implements:** `IEquatable<PersonName>`

## Constructors

```csharp
public PersonName(string GivenName, string FamilyName)
```

### Parameters

**GivenName** `string` *required*

**FamilyName** `string` *required*

## Fields

**Empty** `PersonName` *required*

## Properties

**Display** `string` *required*

The name for display: given then family, with blank parts omitted.

**FamilyName** `string` *required*

**GivenName** `string` *required*

**IsEmpty** `bool` *required*

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string GivenName, out string FamilyName)
```

#### Parameters

**GivenName** `string` *required*

**FamilyName** `string` *required*

### Equals()

```csharp
public bool Equals(PersonName? other)
```

#### Parameters

**other** `PersonName` *required*

#### Returns

`bool`

```csharp
public override bool Equals(object? obj)
```

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### From()

```csharp
public static PersonName From(string? givenName, string? familyName)
```

#### Parameters

**givenName** `string` *required*

**familyName** `string` *required*

#### Returns

`PersonName`

### GetHashCode()

```csharp
public override int GetHashCode()
```

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(PersonName? left, PersonName? right)
```

#### Parameters

**left** `PersonName` *required*

**right** `PersonName` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(PersonName? left, PersonName? right)
```

#### Parameters

**left** `PersonName` *required*

**right** `PersonName` *required*

#### Returns

`bool`

### ToString()

```csharp
public override string ToString()
```

#### Returns

`string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.