TemplateFileReader Class

Assembly
Cake.Handlebars.dll
Namespace
Cake.Handlebars
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["TemplateFileReader"] class Type type-node

Syntax

public class TemplateFileReader

Constructors

Methods

Name Value Summary
CompileTemplate() Func<object, string>
CompileTemplateToWriter() Action<TextWriter, string>
ReadTemplate() string
RenderTemplate(object) string

Extension Methods

Name Value Summary
Dump<TemplateFileReader>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<TemplateFileReader>(TemplateFileReader[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<TemplateFileReader>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<TemplateFileReader>(string) void
Requires the Cake.Issues addin
ThrowIfNull<TemplateFileReader>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<TemplateFileReader>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin