Method | Description | |
---|---|---|
Execute ( ) : void |
A method which implemets by Razor engine. Produces sequance like: WriteLiteral("Hello "); Write(Model.Name); WriteLiteral("!");
|
|
Render ( object model ) : string |
Renders specified model.
|
Method | Description | |
---|---|---|
Write ( object value ) : void |
Writes a string representation of specified object.
|
|
Write ( string value ) : void |
Writes a string.
|
|
WriteAttribute ( string attribute, PositionTagged |
Razor 2.0 Writes attribute in situations like <img src="@Model">.
|
|
WriteLiteral ( string value ) : void |
Writes specified string.
|
protected WriteAttribute ( string attribute, PositionTagged |
||
attribute | string | |
prefix | PositionTagged |
|
suffix | PositionTagged |
|
return | void |
protected WriteLiteral ( string value ) : void | ||
value | string | |
return | void |