public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { Tekla.Structures.Model.Phase phase = value as Tekla.Structures.Model.Phase; return(phase.WhatIsMyComment()); }
public SerializablePhase(Tekla.Structures.Model.Phase phase) { this.Number = phase.PhaseNumber; this.Name = phase.PhaseName; this.Comment = phase.PhaseComment; }