Esempio n. 1
0
 public ProfileActor(ProfileState profileState) => _state = profileState;
Esempio n. 2
0
 public ICompletes <ProfileState> WithWebSite(string website)
 {
     _state = _state.WithWebSite(website);
     return(Completes().With(_state));
 }
Esempio n. 3
0
 public ICompletes <ProfileState> WithTwitterAccount(string twitterAccount)
 {
     _state = _state.WithTwitterAccount(twitterAccount);
     return(Completes().With(_state));
 }
Esempio n. 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);