Пример #1
0
 public static IEnumerable <IIfcObjectDefinition> GetGroupedObjects(this IIfcGroup gr)
 {
     return(gr.IsGroupedBy.SelectMany(r => r.RelatedObjects));
 }
Пример #2
0
 public static IEnumerable <T> GetGroupedObjects <T>(this IIfcGroup gr) where T : IIfcObjectDefinition
 {
     return(GetGroupedObjects(gr).OfType <T>());
 }
Пример #3
0
 public GroupViewModel(IIfcGroup gr, IXbimViewModel parent)
 {
     _group         = gr;
     CreatingParent = parent;
 }