Table of Contents

Method Render

Namespace
Oscova.Agents.Templating
Assembly
Oscova.Agents.dll

Render(string, object)

Parses and renders a Scriban template with the given model. Returns the original text unchanged if parsing fails.

public static string Render(string template, object model)

Parameters

template string
model object

Returns

string