I have a singleton which once hit will load user profile information, I want to make it an application level resource in my SL3 application so that elements across the application can bind to it.
My code version of the instantiaion is a simple
UserProfile x = UserProfile.GetInstance();
I want to be able to do this in xaml in the app.xaml file and in WPF we have the ObjectDataProvider so I can express something like
<ObjectDataProvider MethodName="GetInstance"
ObjectType="{x:Type local:UserProfile}" x:Key="CurrentUserProfile"/>
I am struggling to find the right implementation for this in SL3.