Beispiel #1
0
 static void Main(string[] args)
 {
     var models = ReadModels();
     var t4csvm = new T4.CsViewModels(models);
     File.WriteAllText(@"..\..\..\ViewModels\BaseModels.cs", t4csvm.TransformText(), Encoding.UTF8);
     var t4tsvm = new T4.TsViewModels(models);
     File.WriteAllText(@"..\..\..\Web\Scripts\BaseModels.ts", t4tsvm.TransformText(), Encoding.UTF8);
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            var models = ReadModels();
            var t4csvm = new T4.CsViewModels(models);

            File.WriteAllText(@"..\..\..\ViewModels\BaseModels.cs", t4csvm.TransformText(), Encoding.UTF8);
            var t4tsvm = new T4.TsViewModels(models);

            File.WriteAllText(@"..\..\..\Web\Scripts\BaseModels.ts", t4tsvm.TransformText(), Encoding.UTF8);
        }