C# Class Sage.Views.ViewConfiguration

Represents the xml configuration for the controller views.
Datei anzeigen Open project: igorfrance/sage Class Usage Examples

Private Properties

Property Type Description
SynchronizeElements void
ViewConfiguration System

Public Methods

Method Description
Create ( SageController controller, ViewInfo viewInfo ) : ViewConfiguration

Creates a new ViewConfiguration instance for the specified controller and viewInfo.

Process ( ) : ViewModel

Discovers any module XML elements in the current configuration, and creates and processed their matching module instances.

ToString ( ) : string

Private Methods

Method Description
SynchronizeElements ( XmlElement targetElement, XmlElement sourceElement ) : void
ViewConfiguration ( SageController controller, ViewInfo viewInfo ) : System

Method Details

Create() public static method

Creates a new ViewConfiguration instance for the specified controller and viewInfo.
public static Create ( SageController controller, ViewInfo viewInfo ) : ViewConfiguration
controller Sage.Controllers.SageController The controller for which to create the view configuration.
viewInfo ViewInfo The object that contains the information about the view.
return ViewConfiguration

Process() public method

Discovers any module XML elements in the current configuration, and creates and processed their matching module instances.
public Process ( ) : ViewModel
return ViewModel

ToString() public method

public ToString ( ) : string
return string