Ejemplo n.º 1
0
 public TypeInf(AbstractBufferedReader reader, IFieldHandlerFactory fieldHandlerFactory)
 {
     _type = null;
     _name = reader.ReadString();
     var methodCount = reader.ReadVUInt32();
     _methodInfs = new MethodInf[methodCount];
     for (int i = 0; i < methodCount; i++)
     {
         _methodInfs[i] = new MethodInf(reader, fieldHandlerFactory);
     }
     var properyCount = reader.ReadVUInt32();
     _propertyInfs = new PropertyInf[properyCount];
     for (int i = 0; i < properyCount; i++)
     {
         PropertyInfs[i] = new PropertyInf(reader, fieldHandlerFactory);
     }
 }
Ejemplo n.º 2
0
        public TypeInf(AbstractBufferedReader reader, IFieldHandlerFactory fieldHandlerFactory)
        {
            _type = null;
            _name = reader.ReadString();
            var methodCount = reader.ReadVUInt32();

            _methodInfs = new MethodInf[methodCount];
            for (int i = 0; i < methodCount; i++)
            {
                _methodInfs[i] = new MethodInf(reader, fieldHandlerFactory);
            }
            var properyCount = reader.ReadVUInt32();

            _propertyInfs = new PropertyInf[properyCount];
            for (int i = 0; i < properyCount; i++)
            {
                PropertyInfs[i] = new PropertyInf(reader, fieldHandlerFactory);
            }
        }