Пример #1
0
 public ClassModel(Type type, string guid, string fileID = "11500000")
 {
     initName(type.FullName);
     this.FullName = type.FullName;
     this.Guid     = guid;
     this.FileID   = fileID;
     this.Fields   = FieldGenerationUtility.GenerateFields(type, 0);
 }
Пример #2
0
        public ClassModel(Type type, int iteration = 0)
        {
            string fullName = type.FullName;

//            fullName = initList(fullName);
            initName(fullName);

            this.FullName = fullName;
            this.Fields   = FieldGenerationUtility.GenerateFields(type, iteration);
        }