Наследование: JSONViewBase
Пример #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();
 }
Пример #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());
        }