コード例 #1
0
        public static ButtonSettings GetButtonSettings(this ButtonControlModel model)
        {
            var stereotype = model.GetStereotype("Button Settings");

            return(stereotype != null ? new ButtonSettings(stereotype) : null);
        }
コード例 #2
0
 public static bool HasButtonSettings(this ButtonControlModel model)
 {
     return(model.HasStereotype("Button Settings"));
 }
コード例 #3
0
 public bool Equals(ButtonControlModel other)
 {
     return(Equals(_element, other?._element));
 }