public ModuleNotificaiton(string name, string text, string textEn, string value, bool onlyOnLogin, ModuleNotifType type = ModuleNotifType.All) { Name = name; TextGeo = text; TextEn = textEn; Value = value; Viewed = false; Type = type; OnlyOnLogin = onlyOnLogin; }
public void GetNotificationList(int UnID, int SubUserID, ModuleNotifType type = ModuleNotifType.OnMain) { //if (!string.IsNullOrEmpty(ProcedureName)) //Notifications = DataProviderManager<PKG_MENU>.Provider.get_notifications(ProcedureName, UnID, SubUserID, type); }
public void GetNotifications(ModuleNotifType type = ModuleNotifType.All) { // if (!string.IsNullOrEmpty(NotificationProcedure)) // Notifications = DataProviderManager<PKG_MENU>.Provider.get_module_notifications(this, type); }