示例#1
0
 public FileClass(ContextFile fileContext, FileMutilType fmt)
 {
     this.FileContext = fileContext;
     ClassSection     = fmt.Classes[0];
     ImporteSection   = fmt.ImporteSection;
     Proces           = fmt.Proces;
     UseSection       = fmt.UseSection;
     Constructors     = fmt.Constructors;
     if (fmt.Dimes.Count > 0)
     {
         DimSection = fmt.Dimes[0];
     }
     if (fmt.Propertieses.Count > 0)
     {
         PropertiesesSection = fmt.Propertieses[0];
     }
 }
示例#2
0
 public FileDim(ContextFile fileContext, SectionDim dim, SectionImport importeSection)
 {
     this.FileContext = fileContext;
     DimSection       = dim;
     ImporteSection   = importeSection;
 }