static public AlphaApp MakeSureApp() { if (null == App) { ImageCircleRenderer.Init(); OmegaFactory.MakeSureInit(); App = keep.grass.AlphaFactory.MakeSureApp(); } return(App); }
public void Run(IBackgroundTaskInstance taskInstance) { var Deferral = taskInstance.GetDeferral(); OmegaFactory.MakeSureInit(); AlphaFactory.MakeSureDomain() .BackgroundUpdateLastPublicActivityAsync() .ContinueWith ( t => { Deferral.Complete(); } ); }