public List<SubscriptionType> GetSubscriptionTypes() { var types = new List<SubscriptionType>(); types.Add(new SubscriptionType() { ID = new Guid("{148B5E30-C81A-4ff8-B749-C46BAE340093}"), Name = Resources.Resource.WhatsNewSubscriptionName, NotifyAction = Constants.ActionSendWhatsNew, Single = true }); var astype = new SubscriptionType() { ID = new Guid("{A4FFC01F-BDB5-450e-88C4-03FED17D67C5}"), Name = Resources.Resource.AdministratorNotifySenderTypeName, NotifyAction = Constants.ActionSendWhatsNew, Single = false }; types.Add(astype); return types; }
private int ConvertToNotifyByValue(ISubscriptionManager subscriptionManager, SubscriptionType s) { return ConvertToNotifyByValue(subscriptionManager, s.NotifyAction); }