예제 #1
0
 public TeacherBuilder()
 {
     _teacher = new Teacher
     {
         Name         = GuidGenerator.GenerateNewGuidString(RandomNumberGenerator.GenerateRandomInteger(5, 10)),
         Surname      = GuidGenerator.GenerateNewGuidString(RandomNumberGenerator.GenerateRandomInteger(5, 10)),
         Username     = GuidGenerator.GenerateNewGuidString(RandomNumberGenerator.GenerateRandomInteger(5, 10)),
         PasswordHash = GuidGenerator.GenerateNewGuidByteArray(RandomNumberGenerator.GenerateRandomInteger(5, 10)),
         PasswordSalt = GuidGenerator.GenerateNewGuidByteArray(RandomNumberGenerator.GenerateRandomInteger(5, 10)),
         LastModified = DateTime.Now
     };
 }