public UserPageSetup NewUserVisit() { using (new TimedLog(this._UserName, "New user visit")) { var properties = new Dictionary<string, object>(); properties.Add("UserName", this._UserName); var userSetup = new UserPageSetup(); properties.Add("UserPageSetup", userSetup); WorkflowHelper.ExecuteWorkflow(typeof(FirstVisitWorkflow), properties); return userSetup; } }
public UserPageSetup LoadUserSetup(string pageTitle) { using (new TimedLog(this._UserName, "Total: Existing user visit")) { var properties = new Dictionary<string, object>(); properties.Add("UserName", this._UserName); properties.Add("PageName", pageTitle); var userSetup = new UserPageSetup(); properties.Add("UserPageSetup", userSetup); WorkflowHelper.ExecuteWorkflow(typeof(UserVisitWorkflow), properties); return userSetup; } }
public void ChangePageName(string newName) { using (new TimedLog(this._UserName, "Change Page Name")) { var properties = new Dictionary<string, object>(); properties.Add("UserName", this._UserName); var userSetup = new UserPageSetup(); properties.Add("PageName", newName); WorkflowHelper.ExecuteWorkflow(typeof(ChangePageNameWorkflow), properties); } }