C# Class Sage.Views.ViewModel

Implements a class that holds the final result of processing a ViewConfiguration.
ファイルを表示 Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
ViewModel ( ViewConfiguration viewConfiguration ) : System

Initializes a new instance of the ViewModel class.

ViewModel ( ViewConfiguration viewConfiguration, XmlElement viewElement ) : System

Initializes a new instance of the ViewModel class.

Private Methods

Method Description
AddLibraryReference ( string libraryName ) : void
AddModuleLibraryReference ( string libraryName, string moduleName ) : void
AddModuleResult ( string moduleKey, ModuleResult result ) : void
AddModuleType ( string moduleKey ) : void
AddViewLibraryReference ( string libraryName ) : void
AddViewResources ( List resources ) : void

Method Details

ViewModel() public method

Initializes a new instance of the ViewModel class.
public ViewModel ( ViewConfiguration viewConfiguration ) : System
viewConfiguration ViewConfiguration The view configuration associated with this view input.
return System

ViewModel() public method

Initializes a new instance of the ViewModel class.
public ViewModel ( ViewConfiguration viewConfiguration, XmlElement viewElement ) : System
viewConfiguration ViewConfiguration The name of this view.
viewElement System.Xml.XmlElement The configuration element of the view template this class handles.
return System