SuperSimpleViewEngine.Tests.FakeViewEngineHost.GetTemplate C# (CSharp) Method

GetTemplate() public method

Get the contenst of a template
public GetTemplate ( string templateName, object model ) : string
templateName string Name/location of the template
model object Model to use to locate the template via conventions
return string
        public string GetTemplate(string templateName, object model)
        {
            return this.GetTemplateCallback != null ? this.GetTemplateCallback.Invoke(templateName, model) : string.Empty;
        }