Exemple #1
0
        public void WriteObjectData(LibSerializationInfo info)
        {
            info.WriteInt64(this.Version);
            int count = this.RelationDlls.Count;

            info.WriteInt32(count);
            foreach (KeyValuePair <string, ProgIdRelationDll> item in this.RelationDlls)
            {
                info.WriteString(item.Key);
                info.WriteObject(item.Value);
            }
            count = this.DllVersions.Count;
            info.WriteInt32(count);
            foreach (KeyValuePair <string, long> item in this.DllVersions)
            {
                info.WriteString(item.Key);
                info.WriteInt64(item.Value);
            }
            count = this.VclMap.Count;
            info.WriteInt32(count);
            foreach (KeyValuePair <string, string> item in this.VclMap)
            {
                info.WriteString(item.Key);
                info.WriteString(item.Value);
            }
            count = this.ViewMap.Count;
            info.WriteInt32(count);
            foreach (KeyValuePair <string, string> item in this.ViewMap)
            {
                info.WriteString(item.Key);
                info.WriteString(item.Value);
            }
        }