/// <summary> /// Called whenever client starts up (Run). /// ///See https://github.com/rbrooks33/Brooksoft.Apps.DevOps/discussions/3 /// /// Scenarios /// 1.) New client (no database yet or database deleted) /// /// 2.) Existing client (sunny day, database exists /// </summary> /// <param name="config"></param> /// <returns></returns> public async Task SendAppsClientConfig(AppsClient.AppsClientConfig config) { var result = new AppsClient.AppsResult(); try { AppsHelper.RegisterClient(_data, AppsDB, config, ref result); } catch (System.Exception ex) { new AppFlows.Helpers.AppsSystem.Exception(ex, ref result); } }
public PushPromiseAttribute(string[] path) { localPath = path; revNum = AppsHelper.GetRevNumber(); }