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

# TestWorker

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

**Implements:** `IEquatable<TestWorker>`

## Constructors

```csharp
public TestWorker(string SourceId, string Identity)
```

### Parameters

**SourceId** `string` *required*

The worker's id in the HRIS.

**Identity** `string` *required*

The address the worker's account is matched on.

## Properties

**Identity** `string` *required*

The address the worker's account is matched on.

**SourceId** `string` *required*

The worker's id in the HRIS.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string SourceId, out string Identity)
```

#### Parameters

**SourceId** `string` *required*

**Identity** `string` *required*

### Equals()

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

#### Parameters

**other** `TestWorker` *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 !=(TestWorker? left, TestWorker? right)
```

#### Parameters

**left** `TestWorker` *required*

**right** `TestWorker` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `TestWorker` *required*

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