internal void WriteToMeta(MetaInfoCollection collection, MetaInfoHeader header)
 {
     foreach (var t in this._contents)
     {
         foreach (string value in t.Value)
         {
             collection.Write(header, t.Key, value);
         }
     }
 }
Exemple #2
0
        public void Write(MetaInfoHeader headers, string key, string value)
        {
            int index = headers.GetOrCreateIndex(key);

            if (_contents.Length < index + 1)
            {
                Array.Resize(ref _contents, index + 1);
            }

            _contents[index] = value;
        }