UI5AppWizard.UI5AppWizard.SelectedView C# (CSharp) Method

SelectedView() public method

Selecteds the view.
public SelectedView ( string controllerName ) : IView
controllerName string
return IView
        public IView SelectedView(string controllerName)
        {
            if (this.javascript.Checked)
            {
                return new JavascriptView(controllerName);
            }
            if (this.json.Checked)
            {
                return new JSONView(controllerName);
            }
            if (this.xml.Checked)
            {
                return new XMLView(controllerName);
            }
            if (this.html.Checked)
            {
                return new HTMLView(controllerName);
            }
            return null;
        }