예제 #1
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.Id, lv => { lv.LastLoginUtc = e.TimeUtc; });
 }
예제 #2
0
 public void When(UserLoginSuccessReported e)
 {
     TrackedLoginFailures.Clear();
     LastLoginUtc = e.TimeUtc;
 }
예제 #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);
 }
예제 #4
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.SecurityId, view => view.UpdateLogin(e.Id, e.TimeUtc));
 }
예제 #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));
 }
예제 #7
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.Id, lv => { lv.LastLoginUtc = e.TimeUtc; });
 }
예제 #8
0
 public void When(UserLoginSuccessReported e)
 {
     TrackedLoginFailures.Clear();
     LastLoginUtc = e.TimeUtc;
 }
예제 #9
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.SecurityId, view => view.UpdateLogin(e.Id, e.TimeUtc));
 }
예제 #10
0
 public void When(UserLoginSuccessReported e)
 {
     _writer.UpdateOrThrow(e.SecurityId, cv => cv.Update(e.Id, v => v.LastLoginUtc = e.TimeUtc));
 }