예제 #1
0
        public TypeScriptDataModel(DataModel dataModel, int index)
        {
            DataModel         = dataModel;
            Name              = $"DM{index}";
            TypeScriptClasses = new List <TypeScriptClass>();
            TypeScriptEnums   = new List <TypeScriptEnum>();

            RootClass = new TypeScriptClass(this, dataModel.GetType(), false, 0);
            TypeScriptClasses.Add(RootClass);
        }