Esempio n. 1
0
		public static APGenElementMap GetMap(Type type)
		{
			APGenElementMap map = elementMaps[type] as APGenElementMap;
			if (map != null)
				return map;

			map = new APGenElementMap(type);
			elementMaps[type] = map;
			return map;
		}
Esempio n. 2
0
        public static APGenElementMap GetMap(Type type)
        {
            APGenElementMap map = elementMaps[type] as APGenElementMap;

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

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