> ## 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.

# WorkerPhone

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

**Implements:** `IEquatable<WorkerPhone>`

## Constructors

```csharp
public WorkerPhone(ContactUsage Usage, PhoneKind Kind, string Number, string? Extension, bool IsPrimary)
```

### Parameters

**Usage** `ContactUsage` *required*

**Kind** `PhoneKind` *required*

**Number** `string` *required*

**Extension** `string` *required*

**IsPrimary** `bool` *required*

## Properties

**Extension** `string`

**IsPrimary** `bool` *required*

**Kind** `PhoneKind` *required*

**Number** `string` *required*

**Usage** `ContactUsage` *required*

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out ContactUsage Usage, out PhoneKind Kind, out string Number, out string? Extension, out bool IsPrimary)
```

#### Parameters

**Usage** `ContactUsage` *required*

**Kind** `PhoneKind` *required*

**Number** `string` *required*

**Extension** `string` *required*

**IsPrimary** `bool` *required*

### Equals()

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

#### Parameters

**other** `WorkerPhone` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

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

#### Returns

`int`

### operator !=()

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

#### Parameters

**left** `WorkerPhone` *required*

**right** `WorkerPhone` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `WorkerPhone` *required*

**right** `WorkerPhone` *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.