public bool Equals(ElementCreationOptionModel other) { return(Equals(_element, other?._element)); }
public static bool HasOptionSettings(this ElementCreationOptionModel model) { return(model.HasStereotype("Option Settings")); }
public TypeOrder(ElementCreationOptionModel element) { Order = element.GetOptionSettings().TypeOrder(); Type = element.TypeReference.Element.Name; }
public static OptionSettings GetOptionSettings(this ElementCreationOptionModel model) { var stereotype = model.GetStereotype("Option Settings"); return(stereotype != null ? new OptionSettings(stereotype) : null); }