Пример #1
0
 /// <summary>
 /// Generate and return a male or female first name.
 /// </summary>
 /// <param name="fixture">The fixture to generate a first name for</param>
 /// <returns>The generated first name</returns>
 public static string FirstName(this AnonymousValueFixture fixture)
 {
     return(fixture.PersonNameFirst());
 }
Пример #2
0
 /// <inheritdoc />
 public object GenerateAnonymousValue(AnonymousValueFixture any, Type type, string propertyName)
 {
     return(any.PersonNameFirst());
 }