Пример #1
0
        public override void CopyFrom(Stream stream)
        {
            ShapesArray from = ShapesArray.CreateFrom(stream, false);

            for (int index = 0; (long)index < ((ArrayBase <ShapeBase>)from).Length; ++index)
            {
                this[(long)index] = ((ArrayBase <ShapeBase>)from)[(long)index];
            }
        }
Пример #2
0
        public static ShapesArray CreateFrom(Stream stream, bool copy)
        {
            long size;

            return(ShapesArray.CreateFrom(stream, copy, out size));
        }