> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.linehandler.md).

# LineHandler

Delegate in [Yarn](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.md)

Inherits from `System.MulticastDelegate`

## Summary

Represents the method that is called when the Dialogue delivers a [Line](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.line.md) .

```csharp
public delegate void LineHandler(Line line);
```

## Parameters

| Name                                                                            | Description                                                                                        |
| ------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| [Yarn.Line](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.line.md) line | The [Line](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.line.md) that has been delivered. |

## See Also

* [OptionsHandler](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.optionshandler.md): Represents the method that is called when the Dialogue delivers an [OptionSet](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.optionset.md) .
* [CommandHandler](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.commandhandler.md): Represents the method that is called when the Dialogue delivers a [Command](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.command.md) .
* [NodeStartHandler](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.nodestarthandler.md): Represents the method that is called when the Dialogue begins executing a node.
* [NodeCompleteHandler](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.nodecompletehandler.md): Represents the method that is called when the Dialogue reaches the end of a node.
* [DialogueCompleteHandler](https://docs.yarnspinner.dev/3.1/api/csharp/yarn/yarn.dialoguecompletehandler.md): Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.
