示例#1
0
 public NodeEnumerator(LowLevelListDictionary list)
 {
     _list    = list;
     _version = list._version;
     _start   = true;
     _current = null;
 }
示例#2
0
 public NodeKeyValueEnumerator(LowLevelListDictionary list, bool isKeys)
 {
     _list    = list;
     _isKeys  = isKeys;
     _version = list._version;
     _start   = true;
     _current = null;
 }
示例#3
0
        public SerializationInfo(Type type, IFormatterConverter converter)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }
            if (converter == null)
            {
                throw new ArgumentNullException(nameof(converter));
            }

            _rootType = type;
            _rootTypeName = type.FullName;
            _rootTypeAssemblyName = type.Module.Assembly.FullName;

            _names = new string[DefaultSize];
            _values = new object[DefaultSize];
            _types = new Type[DefaultSize];
            _nameToIndex = new LowLevelListDictionary();
            _converter = converter;
        }
示例#4
0
 public NodeKeyValueCollection(LowLevelListDictionary list, bool isKeys)
 {
     _list   = list;
     _isKeys = isKeys;
 }
示例#5
0
 public NodeKeyValueEnumerator(LowLevelListDictionary list, bool isKeys)
 {
     _list = list;
     _isKeys = isKeys;
     _version = list._version;
     _start = true;
     _current = null;
 }
示例#6
0
 public NodeKeyValueCollection(LowLevelListDictionary list, bool isKeys)
 {
     _list = list;
     _isKeys = isKeys;
 }
示例#7
0
 public NodeEnumerator(LowLevelListDictionary list)
 {
     _list = list;
     _version = list._version;
     _start = true;
     _current = null;
 }