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