static private WriteInt32 ( Stream s, int i ) : void | ||
s | Stream | |
i | int | |
return | void |
private void Store(Stream s, Dictionary <string, ICacheItem> table) { UtilityMethods.WriteInt32(s, table.Count); foreach (KeyValuePair <string, ICacheItem> entry in table) { UtilityMethods.WriteString(s, (string)entry.Key); persister.Write(s, (ICacheItem)entry.Value); } }