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