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

            return(stereotype != null ? new OutputConfiguration(stereotype) : null);
        }
コード例 #5
0
        public static DesignerConfig GetDesignerConfig(this DesignerModel model)
        {
            var stereotype = model.GetStereotype("Designer Config");

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