public RegisteredNotification(string name, bool enabled, Dictionary <string, string> customTextAttributes, Dictionary <string, Resource> customBinaryAttributes, NotificationPreferences preferences)
 {
     this.name                    = name;
     this.preferences             = preferences;
     this.preferences.PrefEnabled = enabled;
     this.customTextAttributes    = customTextAttributes;
     this.customBinaryAttributes  = customBinaryAttributes;
 }
 public RegisteredNotification(string name, bool enabled, Dictionary<string, string> customTextAttributes, Dictionary<string, Resource> customBinaryAttributes, NotificationPreferences preferences)
 {
     this.name = name;
     this.preferences = preferences;
     this.preferences.PrefEnabled = enabled;
     this.customTextAttributes = customTextAttributes;
     this.customBinaryAttributes = customBinaryAttributes;
 }
 internal void SetPrefs(NotificationPreferences prefs)
 {
     if (prefs.PrefForwardCustomList == null)
     {
         prefs.PrefForwardCustomList = new List <string>();
     }
     this.prefs = prefs;
 }
예제 #4
0
 internal void SetPrefs(NotificationPreferences prefs)
 {
     if (prefs.PrefForwardCustomList == null) prefs.PrefForwardCustomList = new List<string>();
     this.prefs = prefs;
 }