public void AddProperty(RouteProperty property) { if (property == null) { } properties.Add(property); }
public RoutePropertyType(RouteProperty rp) { Type = rp.GetType(); var rmp = rp as RouteMomentaneousProperty; if (rmp != null) { MomentaneousLocation = rmp.Location; } var rsp = rp as RouteSpanProperty; if (rsp != null) { SpanStart = rsp.Start; SpanEnd = rsp.End; } }
set => SetValue(RouteProperty, value);