示例#1
0
 protected override async void OnStart()
 {
     await CoreUtility.ExecuteMethodAsync("OnStart", async delegate()
     {
         base.OnStart();
         await InitNavigation();
         base.OnResume();
     });
 }
示例#2
0
 protected virtual Task ExecuteMethodAsync(string name, Func <Task> method, Action <Exception> onError = null, bool supressMethodLogging = false)
 {
     return(CoreUtility.ExecuteMethodAsync(string.Format("{0}.{1}", this.TrackPrefix, name), method, onError, supressMethodLogging));
 }