C# Class SaneWeb.ViewProcessor.DataBoundView

Afficher le fichier Open project: ext0/SaneWeb Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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
Résultat System

DataBoundView() public méthode

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
Résultat System

getPropertyFromBinding() public méthode

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
Résultat String

initialize() public méthode

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