예제 #1
0
		public static APXmlElementMap GetMap(Type type)
		{
			APXmlElementMap map = elementMaps[type] as APXmlElementMap;
			if (map != null)
				return map;

			map = new APXmlElementMap(type);
			elementMaps[type] = map;
			return map;
		}
예제 #2
0
        public static APXmlElementMap GetMap(Type type)
        {
            APXmlElementMap map = elementMaps[type] as APXmlElementMap;

            if (map != null)
            {
                return(map);
            }

            map = new APXmlElementMap(type);
            elementMaps[type] = map;
            return(map);
        }