## TemplateEngine.RegisterRoutine method

Registers the template routine to the temaplate engine.

```csharp
public void RegisterRoutine(string name, TemplateRoutine routine)
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The name of the funciton. |
| routine | TemplateRoutine | Delegate processing the data |

### See Also

* delegate [TemplateRoutine](../../templateroutine/)
* class [TemplateEngine](../)
* namespace [Aspose.Email.Tools.Merging](../../templateengine/)
* assembly [Aspose.Email](../../../)


