C# Class SaneWeb.ViewProcessor.DataBoundView

ファイルを表示 Open project: ext0/SaneWeb Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DataBoundView ( String html, Object data ) : System

Initializes a DataBoundView with the specified HTML String and an object to bind to the HTML. Properties in the object can be inserted dynamically into the HTML using @ tags.

DataBoundView ( byte html, Object data ) : System

Initializes a DataBoundView with the specified HTML bytes (UTF-8 expected) and an object to bind to the HTML. Properties in the object can be inserted dynamically into the HTML using @ tags.

getPropertyFromBinding ( String property ) : String

Gets the property value with the specified property name from the bound object

initialize ( ) : void

Binds the object to the html in the relevant @ tags.

Method Details

DataBoundView() public method

Initializes a DataBoundView with the specified HTML String and an object to bind to the HTML. Properties in the object can be inserted dynamically into the HTML using @ tags.
public DataBoundView ( String html, Object data ) : System
html String HTML to be processed
data Object Data to bind to the HTML
return System

DataBoundView() public method

Initializes a DataBoundView with the specified HTML bytes (UTF-8 expected) and an object to bind to the HTML. Properties in the object can be inserted dynamically into the HTML using @ tags.
public DataBoundView ( byte html, Object data ) : System
html byte UTF-8 encoded bytes to be processed
data Object Data to bind to the HTML
return System

getPropertyFromBinding() public method

Gets the property value with the specified property name from the bound object
public getPropertyFromBinding ( String property ) : String
property String Name of the property to be returned
return String

initialize() public method

Binds the object to the html in the relevant @ tags.
public initialize ( ) : void
return void