https://bugzilla.novell.com/show_bug.cgi?id=667073

https://bugzilla.novell.com/show_bug.cgi?id=667073#c0


           Summary: NotificationManager.Get() would be nice
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

Currently we have:

var notificationManager = GetSystemService(Context.NotificationService) as
NotificationManager;

Would be nice if we instead had:

public static NotificationManager Get(Context context) {
    return (context.GetSystemService(Context.NotificationService) as
NotificationManager);
}

Reproducible: Always

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to