public static void StepForwardAndSetAppInfo(AppInfoEx appInfo) { lock (_lock) { var stotingInfo = AppInfoStorageController.GetAppInfo(appInfo.Hash); if (stotingInfo != null) { appInfo.Time = stotingInfo.Time + 1; } AppInfoStorageController.SetAppInfo(appInfo); } }
public AppInfoEx Get(string serviceName, string hash) { Console.WriteLine("Get app state request from " + serviceName); ResetService(serviceName); return(AppInfoStorageController.GetAppInfo(Uri.UnescapeDataString(hash))); }