Beispiel #1
0
 public ProfileActor(ProfileState profileState) => _state = profileState;
Beispiel #2
0
 public ICompletes <ProfileState> WithWebSite(string website)
 {
     _state = _state.WithWebSite(website);
     return(Completes().With(_state));
 }
Beispiel #3
0
 public ICompletes <ProfileState> WithTwitterAccount(string twitterAccount)
 {
     _state = _state.WithTwitterAccount(twitterAccount);
     return(Completes().With(_state));
 }
Beispiel #4
0
 public ICompletes <ProfileState> WithLinkedInAccount(string linkedInAccount)
 {
     _state = _state.WithLinkedInAccount(linkedInAccount);
     return(Completes().With(_state));
 }
 public void Save(ProfileState profileState) => _profiles.Add(profileState.Id, profileState);