/// <summary> /// Ported from void post_splitter::flush() /// </summary> public override void Flush() { foreach (KeyValuePair <Value, IList <Post> > pair in PostsMap) { PreFlushFunc(pair.Key); foreach (Post post in pair.Value) { PostChain.Handle(post); } PostChain.Flush(); PostChain.Clear(); if (PostFlushFunc != null) { PostFlushFunc(pair.Key); } } }
public override void Clear() { PostsMap.Clear(); PostChain.Clear(); base.Clear(); }