Inheritance: JSONViewBase
Ejemplo n.º 1
0
 public string createFromT4Template(UI5ProjectType type)
 {
     var jsonTemplate = new T4.JSONView
     {
         Session =
             new Dictionary<string, object>
             {
                 {"ControllerName", this.ControllerName},
                 {"IsMobile", type == UI5ProjectType.Mobile}
             }
     };
     jsonTemplate.Initialize();
     return jsonTemplate.TransformText();
 }
Ejemplo n.º 2
0
        public string createFromT4Template(UI5ProjectType type)
        {
            var jsonTemplate = new T4.JSONView
            {
                Session =
                    new Dictionary <string, object>
                {
                    { "ControllerName", this.ControllerName },
                    { "IsMobile", type == UI5ProjectType.Mobile }
                }
            };

            jsonTemplate.Initialize();
            return(jsonTemplate.TransformText());
        }