Exemple #1
0
 /// <summary>
 /// Найти элементы в модели по типам
 /// </summary>
 public IEnumerable <IElementMicrostation> GetModelElementsMicrostation(IEnumerable <ElementMicrostationType> includeTypesMicrostation = null) =>
 GetModelElements(includeTypesMicrostation).
 Select(element => ConvertMicrostationElements.ToMicrostationElement(element, ToOwnerMicrostation()));
Exemple #2
0
 /// <summary>
 /// Преобразовать элемент Microstation в элемент-обертку
 /// </summary>
 public static IElementMicrostation ToElementMicrostation(this Element element, IOwnerMicrostation owner) =>
 ConvertMicrostationElements.ToMicrostationElement(element, owner);
Exemple #3
0
 /// <summary>
 /// Найти элементы в модели по типу
 /// </summary>
 public IEnumerable <IElementMicrostation> GetModelElementsMicrostation(ElementMicrostationType includeTypeMicrostation) =>
 GetModelElements(new List <ElementMicrostationType>()
 {
     includeTypeMicrostation
 }).
 Select(element => ConvertMicrostationElements.ToMicrostationElement(element, ToOwnerMicrostation()));