コード例 #1
0
 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);
         }
     }
 }
コード例 #2
0
        internal string GetValue(MetaInfoCollection collection, string key)
        {
            int index;

            if (!_indices.TryGetValue(key, out index))
            {
                return(null);
            }

            return(collection.Read(index));
        }