C# Class JsonFx.Client.DataBlockWriter

Specifically for emitting runtime data to the page as JavaScript variables.
Mostra file Open project: pocket-playlab/jsonfx-v1 Class Usage Examples

Public Methods

Method Description
DataBlockWriter ( ) : System

Ctor

DataBlockWriter ( AutoMarkupType autoMarkup ) : System

Ctor

DataBlockWriter ( AutoMarkupType autoMarkup, bool isDebug ) : System

Ctor

Write ( TextWriter writer, object>.IDictionary data ) : void

Renders the data items as a block of JavaScript

Method Details

DataBlockWriter() public method

Ctor
public DataBlockWriter ( ) : System
return System

DataBlockWriter() public method

Ctor
public DataBlockWriter ( AutoMarkupType autoMarkup ) : System
autoMarkup AutoMarkupType
return System

DataBlockWriter() public method

Ctor
public DataBlockWriter ( AutoMarkupType autoMarkup, bool isDebug ) : System
autoMarkup AutoMarkupType
isDebug bool
return System

Write() public method

Renders the data items as a block of JavaScript
public Write ( TextWriter writer, object>.IDictionary data ) : void
writer System.IO.TextWriter
data object>.IDictionary
return void