예제 #1
0
파일: SlimWriter.cs 프로젝트: filmor/nfx
        public override void Write(Collections.StringMap map)
        {
            if (map == null)
            {
                this.Write(false);
                return;
            }

            this.Write(true);
            this.Write(map.CaseSensitive);
            this.Write((int)map.Count);

            foreach (var kvp in map)
            {
                this.Write(kvp.Key);
                this.Write(kvp.Value);
            }
        }
예제 #2
0
 public abstract void Write(Collections.StringMap map);