Beispiel #1
0
 static public AlphaApp MakeSureApp()
 {
     if (null == App)
     {
         ImageCircleRenderer.Init();
         OmegaFactory.MakeSureInit();
         App = keep.grass.AlphaFactory.MakeSureApp();
     }
     return(App);
 }
Beispiel #2
0
        public void Run(IBackgroundTaskInstance taskInstance)
        {
            var Deferral = taskInstance.GetDeferral();

            OmegaFactory.MakeSureInit();
            AlphaFactory.MakeSureDomain()
            .BackgroundUpdateLastPublicActivityAsync()
            .ContinueWith
            (
                t =>
            {
                Deferral.Complete();
            }
            );
        }