# LineHandler

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

Inherits from `System.MulticastDelegate`

## Summary

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

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

## Parameters

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

## See Also

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