C# Class RazorMailMessage.TemplateResolvers.DefaultTemplateResolver

Inheritance: ITemplateResolver
显示文件 Open project: robinvanderknaap/RazorMailMessage Class Usage Examples

Public Methods

Method Description
DefaultTemplateResolver ( ) : System

Constructor

Uses current assembly as template source

DefaultTemplateResolver ( Assembly assembly, string nameSpace ) : System

Constructor

DefaultTemplateResolver ( string nameSpace ) : System

Constructor

Uses current assembly as template source

DefaultTemplateResolver ( string assemblyName, string nameSpace ) : System

Constructor

ResolveLayout ( string layoutName ) : string
ResolveTemplate ( string templateName, bool isPlainText ) : string

Method Details

DefaultTemplateResolver() public method

Constructor
Uses current assembly as template source
public DefaultTemplateResolver ( ) : System
return System

DefaultTemplateResolver() public method

Constructor
public DefaultTemplateResolver ( Assembly assembly, string nameSpace ) : System
assembly Assembly Assembly containing templates
nameSpace string Namespace containing templates
return System

DefaultTemplateResolver() public method

Constructor
Uses current assembly as template source
public DefaultTemplateResolver ( string nameSpace ) : System
nameSpace string Namespace containing templates
return System

DefaultTemplateResolver() public method

Constructor
public DefaultTemplateResolver ( string assemblyName, string nameSpace ) : System
assemblyName string Name of assembly containing templates
nameSpace string Namespace containing templates
return System

ResolveLayout() public method

public ResolveLayout ( string layoutName ) : string
layoutName string
return string

ResolveTemplate() public method

public ResolveTemplate ( string templateName, bool isPlainText ) : string
templateName string
isPlainText bool
return string