public void When(UserLoginSuccessReported e) { _writer.UpdateOrThrow(e.Id, lv => { lv.LastLoginUtc = e.TimeUtc; }); }
public void When(UserLoginSuccessReported e) { TrackedLoginFailures.Clear(); LastLoginUtc = e.TimeUtc; }
static string When(UserLoginSuccessReported e) { return string.Format("User {0} logged in at {1} (via IP '{2}')", e.Id.Id, e.TimeUtc, e.Ip); }
public void When(UserLoginSuccessReported e) { _writer.UpdateOrThrow(e.SecurityId, view => view.UpdateLogin(e.Id, e.TimeUtc)); }
static string When(UserLoginSuccessReported e) { return(string.Format("User {0} logged in at {1} (via IP '{2}')", e.Id.Id, e.TimeUtc, e.Ip)); }
public void When(UserLoginSuccessReported e) { _writer.UpdateOrThrow(e.SecurityId, cv => cv.Update(e.Id, v => v.LastLoginUtc = e.TimeUtc)); }