public static string createContentFromT4(UI5ProjectType type, string viewExtension, string mainControllerName) { var jsonTemplate = new T4.Index { Session = new Dictionary<string, object> { {"ControllerName", mainControllerName}, {"IsMobile", type == UI5ProjectType.Mobile}, {"ViewExtension", viewExtension} } }; jsonTemplate.Initialize(); return jsonTemplate.TransformText(); }
public static string createContentFromT4(UI5ProjectType type, string viewExtension, string mainControllerName) { var jsonTemplate = new T4.Index { Session = new Dictionary <string, object> { { "ControllerName", mainControllerName }, { "IsMobile", type == UI5ProjectType.Mobile }, { "ViewExtension", viewExtension } } }; jsonTemplate.Initialize(); return(jsonTemplate.TransformText()); }