Exemple #1
0
        public EnumsMap(LOIN.Model model)
        {
            _model = model.Internal;

            // cache any existing enums
            foreach (var item in _model.Instances.OfType <IfcPropertyEnumeration>())
            {
                if (item.Name != "" && !_cache.ContainsKey(item.Name))
                {
                    _cache.Add(item.Name, item);
                }
            }
        }
Exemple #2
0
 public UnitMap(LOIN.Model model)
 {
     _model = model.Internal;
     Init();
 }