Exemplo n.º 1
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.Id, lv => { lv.LastLoginUtc = e.TimeUtc; });
 }
Exemplo n.º 2
0
 public void When(UserLoginSuccessReported e)
 {
     TrackedLoginFailures.Clear();
     LastLoginUtc = e.TimeUtc;
 }
Exemplo n.º 3
0
 static string When(UserLoginSuccessReported e)
 {
     return string.Format("User {0} logged in at {1} (via IP '{2}')", e.Id.Id, e.TimeUtc, e.Ip);
 }
Exemplo n.º 4
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.SecurityId, view => view.UpdateLogin(e.Id, e.TimeUtc));
 }
Exemplo n.º 5
0
 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));
 }
Exemplo n.º 7
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.Id, lv => { lv.LastLoginUtc = e.TimeUtc; });
 }
Exemplo n.º 8
0
 public void When(UserLoginSuccessReported e)
 {
     TrackedLoginFailures.Clear();
     LastLoginUtc = e.TimeUtc;
 }
Exemplo n.º 9
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.SecurityId, view => view.UpdateLogin(e.Id, e.TimeUtc));
 }
Exemplo n.º 10
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.SecurityId, cv => cv.Update(e.Id, v => v.LastLoginUtc = e.TimeUtc));
 }