private void Apply(UserMsgs.AuthDomainMapped evt) { if (!_mappedAuthDomains.ContainsKey(evt.SubjectId)) { _mappedAuthDomains.Add(evt.SubjectId, evt.UserName); } }
public void Handle(UserMsgs.AuthDomainMapped @event) { SubjectId = @event.SubjectId; AuthProvider = @event.AuthProvider; AuthDomain = @event.AuthDomain; UserName = @event.UserName; }