C# Class Codestellation.Ether.Templating.Razor.RazorMailTemplateBase

Afficher le fichier Open project: Codestellation/Ether

Méthodes publiques

Méthode Description
DefineSection ( string name, System.Action action ) : void
Execute ( ) : void
RenderBody ( ) : string
RenderSection ( string name, bool isRequired = true ) : string
SetContext ( RenderContext context ) : void
SetModel ( object model ) : void

Méthodes protégées

Méthode Description
Write ( object value ) : void
WriteLiteral ( object value ) : void

Method Details

DefineSection() public méthode

public DefineSection ( string name, System.Action action ) : void
name string
action System.Action
Résultat void

Execute() public abstract méthode

public abstract Execute ( ) : void
Résultat void

RenderBody() public méthode

public RenderBody ( ) : string
Résultat string

RenderSection() public méthode

public RenderSection ( string name, bool isRequired = true ) : string
name string
isRequired bool
Résultat string

SetContext() public méthode

public SetContext ( RenderContext context ) : void
context RenderContext
Résultat void

SetModel() public abstract méthode

public abstract SetModel ( object model ) : void
model object
Résultat void

Write() protected méthode

protected Write ( object value ) : void
value object
Résultat void

WriteLiteral() protected méthode

protected WriteLiteral ( object value ) : void
value object
Résultat void