示例#1
0
 public bool Equals(AssociationSourceEndVisualSettingsModel other)
 {
     return(Equals(_element, other?._element));
 }
 public static bool HasPointSettings(this AssociationSourceEndVisualSettingsModel model)
 {
     return(model.HasStereotype("Point Settings"));
 }
 public static bool HasNavigableIndicatorSettings(this AssociationSourceEndVisualSettingsModel model)
 {
     return(model.HasStereotype("Navigable Indicator Settings"));
 }
        public static PointSettings GetPointSettings(this AssociationSourceEndVisualSettingsModel model)
        {
            var stereotype = model.GetStereotype("Point Settings");

            return(stereotype != null ? new PointSettings(stereotype) : null);
        }
        public static NavigableIndicatorSettings GetNavigableIndicatorSettings(this AssociationSourceEndVisualSettingsModel model)
        {
            var stereotype = model.GetStereotype("Navigable Indicator Settings");

            return(stereotype != null ? new NavigableIndicatorSettings(stereotype) : null);
        }