示例#1
0
文件: Class795.cs 项目: 15831944/WW
        public void WriteTo(MemoryStream content, int version)
        {
            Interface9 writer = Class794.smethod_6((Interface6)this, (Interface7)this, content, version);

            this.ilist_1.Clear();
            this.class987_0.Product         = "CadLib";
            this.class987_0.NumberOfRecords = this.ilist_0.Count;
            this.class987_0.EntityCount     = 0;
            foreach (Class80 class80 in (IEnumerable <Class80>) this.ilist_0)
            {
                if (class80 is Class187)
                {
                    ++this.class987_0.EntityCount;
                }
                if (class80 is Class98)
                {
                    ++this.class987_0.EntityCount;
                }
            }
            writer.imethod_16(this.class987_0);
            this.WriteTo(writer);
            if (writer.FileFormatVersion >= Class250.int_72)
            {
                writer.imethod_13("End-of-ASM-data");
            }
            else
            {
                writer.imethod_13("End-of-ACIS-data");
            }
        }