コード例 #1
0
        public static TypeReferenceSettings GetTypeReferenceSettings(this ElementSettingsModel model)
        {
            var stereotype = model.GetStereotype("Type Reference Settings");

            return(stereotype != null ? new TypeReferenceSettings(stereotype) : null);
        }
コード例 #2
0
        public static Settings GetSettings(this ElementSettingsModel model)
        {
            var stereotype = model.GetStereotype("Settings");

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