示例#1
0
 public Profile(Guid id, Genre genre, Image avatarImage, string name, string username, EmailAddress emailAddress, DateTime birthDate)
 {
     Id           = id;
     Genre        = genre;
     AvatarImage  = avatarImage;
     Name         = name;
     Username     = username;
     EmailAddress = emailAddress;
     BirthDate    = birthDate;
     Settings     = new ProfileSettings(PrivacyType.Private);
 }
示例#2
0
 public void ChangeSettings(ProfileSettings settings)
 {
     Settings = settings;
 }