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

# SourceContractRow

> One scenario of the source contract.

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

**Implements:** `IEquatable<SourceContractRow>`

## Constructors

```csharp
public SourceContractRow(string Id, Day Start, Func<string, IReadOnlyList<HrisEvent>> Changes)
```

One scenario of the source contract.

### Parameters

**Id** `string` *required*

The scenario's name.

**Start** `Day` *required*

When the scripted worker begins.

**Changes** `Func\<String,IReadOnlyList\<HrisEvent\>\>` *required*

**Type:** `Func<String,IReadOnlyList<HrisEvent>>`

The events the scenario applies.

## Properties

**Changes** `Func\<String,IReadOnlyList\<HrisEvent\>\>` *required*

**Type:** `Func<String,IReadOnlyList<HrisEvent>>`

The events the scenario applies.

**Id** `string` *required*

The scenario's name.

**Start** `Day` *required*

When the scripted worker begins.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out string Id, out Day Start, out Func<string, IReadOnlyList<HrisEvent>> Changes)
```

#### Parameters

**Id** `string` *required*

**Start** `Day` *required*

**Changes** `Func\<String,IReadOnlyList\<HrisEvent\>\>` *required*

**Type:** `Func<String,IReadOnlyList<HrisEvent>>`

### Equals()

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

#### Parameters

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

#### Parameters

**left** `SourceContractRow` *required*

**right** `SourceContractRow` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `SourceContractRow` *required*

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