Table of Contents

Class CPMustacheBaseClass

Namespace
Contensive.BaseClasses
Assembly
CPBase.dll

Manage mustache compatible templating

public abstract class CPMustacheBaseClass
Inheritance
CPMustacheBaseClass
Inherited Members

Methods

Render(string, object)

Perform a simple render of a dataset object with a layout. The layout would likely include {{myName}} style mustache replaceable elements that match public properties of the dataset.

public abstract string Render(string template, object dataSet)

Parameters

template string
dataSet object

Returns

string