SuperSimpleViewEngine.Tests.FakeViewEngineHost.GetTemplate C# (CSharp) Метод

GetTemplate() публичный Метод

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
Результат string
        public string GetTemplate(string templateName, object model)
        {
            return this.GetTemplateCallback != null ? this.GetTemplateCallback.Invoke(templateName, model) : string.Empty;
        }