예제 #1
0
 internal void Add(ItemTypeMap map)
 {
     foreach (XmlElementAttribute attribute in map.SerializerAttributes)
     {
         Add(attribute);
     }
 }
예제 #2
0
        public static void RegisterTypes(ItemTypeMap types)
        {
            if (types == null)
            {
                throw new ArgumentNullException("types");
            }

            TypeMap.Add(types);
            RegisterSerializer();
        }