Пример #1
0
        public static OutputSettings GetOutputSettings(this ElementMappingModel model)
        {
            var stereotype = model.GetStereotype("Output Settings");

            return(stereotype != null ? new OutputSettings(stereotype) : null);
        }
Пример #2
0
 public static bool HasOutputSettings(this ElementMappingModel model)
 {
     return(model.HasStereotype("Output Settings"));
 }
Пример #3
0
 public static bool HasCriteriaSettings(this ElementMappingModel model)
 {
     return(model.HasStereotype("Criteria Settings"));
 }
Пример #4
0
        public static CriteriaSettings GetCriteriaSettings(this ElementMappingModel model)
        {
            var stereotype = model.GetStereotype("Criteria Settings");

            return(stereotype != null ? new CriteriaSettings(stereotype) : null);
        }
Пример #5
0
 public static bool HasBehaviourSettings(this ElementMappingModel model)
 {
     return(model.HasStereotype("Behaviour Settings"));
 }
Пример #6
0
        public static BehaviourSettings GetBehaviourSettings(this ElementMappingModel model)
        {
            var stereotype = model.GetStereotype("Behaviour Settings");

            return(stereotype != null ? new BehaviourSettings(stereotype) : null);
        }
Пример #7
0
 public bool Equals(ElementMappingModel other)
 {
     return(Equals(_element, other?._element));
 }