Exemplo n.º 1
0
 public static bool HasTypeReferenceExtensionSettings(this ElementExtensionModel model)
 {
     return(model.HasStereotype("Type Reference Extension Settings"));
 }
Exemplo n.º 2
0
        public static TypeReferenceExtensionSettings GetTypeReferenceExtensionSettings(this ElementExtensionModel model)
        {
            var stereotype = model.GetStereotype("Type Reference Extension Settings");

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