Exemplo n.º 1
0
        public Deserializer(Stream stream)
        {
            if (stream == null) {
                throw new ArgumentNullException("stream");
            }

            reader = new ValueReader(stream);
            classDefs = new ListRefMap<ClassDef>();
            objectRefs = new ListRefMap<object>();
            typeNameRefs = new ListRefMap<string>();
        }
Exemplo n.º 2
0
        public Deserializer(Stream stream)
        {
            if (stream == null)
            {
                throw new ArgumentNullException(nameof(stream));
            }

            reader       = new ValueReader(stream);
            classDefs    = new ListRefMap <ClassDef>();
            objectRefs   = new ListRefMap <object>();
            typeNameRefs = new ListRefMap <string>();
        }