示例#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));
 }
 public void Save(ProfileState profileState) => _profiles.Add(profileState.Id, profileState);