[Mono-bugs] [Bug 667073] New: NotificationManager.Get() would be nice

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 25 13:17:48 EST 2011


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: mkestner at novell.com
        ReportedBy: jondick at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list