示例#1
0
 public FriendBuilder()
 {
     _id       = new Random().Next(1, int.MaxValue).ToString();
     _title    = Guid.NewGuid().ToString();
     _email    = Guid.NewGuid().ToString();
     _userName = Guid.NewGuid().ToString();
     _recommendationsPlaylistId = Guid.NewGuid().ToString();
     _friendServer = new FriendServerBuilder();
     _thumb        = Guid.NewGuid().ToString();
 }
示例#2
0
 public FriendBuilder WithServer(FriendServerBuilder friendServerBuilder)
 {
     _friendServer = friendServerBuilder;
     return(this);
 }