示例#1
0
 public bool Equals(DesignerModel other)
 {
     return(Equals(_element, other?._element));
 }
 public static bool HasOutputConfiguration(this DesignerModel model)
 {
     return(model.HasStereotype("Output Configuration"));
 }
 public static bool HasDesignerConfig(this DesignerModel model)
 {
     return(model.HasStereotype("Designer Config"));
 }
        public static OutputConfiguration GetOutputConfiguration(this DesignerModel model)
        {
            var stereotype = model.GetStereotype("Output Configuration");

            return(stereotype != null ? new OutputConfiguration(stereotype) : null);
        }
        public static DesignerConfig GetDesignerConfig(this DesignerModel model)
        {
            var stereotype = model.GetStereotype("Designer Config");

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