# RenderableFunction constructor

Kind: Constructor  
Namespace: `TinyComponents`  
Assembly: `TinyComponents.dll`  
Source: https://docs.sisk-framework.org/api/TinyComponents.RenderableFunction.-ctor.html

## RenderableFunction(Func&lt;object?>) {#TinyComponents_RenderableFunction__ctor_System_Func_System_Object__}

Creates an new [RenderableFunction](https://docs.sisk-framework.org/api/TinyComponents.RenderableFunction.md) class with the specified
function.

```csharp
public RenderableFunction(Func<object?> callable)
```

### Parameters

`callable` [Func](https://learn.microsoft.com/dotnet/api/system.func\-1)<[object](https://learn.microsoft.com/dotnet/api/system.object)?\>

The function which will result the contents to be rendered.
