コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }