Source/NFX.Wave/Templatization/WaveTemplate.cs
/// <summary>
/// Renders template to string in a WorkContext
/// </summary>
Renders template to string in a WorkContext
Renders template to string in a WorkContext
public string RenderToString(WorkContext work, bool encodeHtml = true, object model = null)
        {
          this.BindGlobalContexts(work);
          var target = new NFX.Templatization.StringRenderingTarget(encodeHtml);
          base.Render(target, model);
          return target.Value;
        }
public string RenderToString ( WorkContext work , bool encodeHtml = true , object model = null ) { this . BindGlobalContexts ( work ) ; var target = new NFX . Templatization . StringRenderingTarget ( encodeHtml ) ; base . Render ( target , model ) ; return target . Value ; }
Renders template to string in a WorkContext
Renders template to string in a WorkContext
work
WorkContext
encodeHtml
bool
model
object