11using NTestDataBuilder . DataSources . Person ;
22
3- namespace NTestDataBuilder . EquivalenceClasses
3+ namespace NTestDataBuilder . EquivalenceClasses . Person
44{
55 /// <summary>
66 /// Extension methods that describe equivalence classes for generating anonymous person-related values.
@@ -22,7 +22,7 @@ public static class NameEquivalenceClasses
2222 /// </summary>
2323 /// <param name="fixture">The fixture to generate a string for</param>
2424 /// <returns>The generated string</returns>
25- public static string PersonEmailAddress ( this AnonymousValueFixture fixture )
25+ public static string EmailAddress ( this AnonymousValueFixture fixture )
2626 {
2727 if ( _personEmailAddressSource == null ) _personEmailAddressSource = new PersonEmailAddressSource ( ) ;
2828 return _personEmailAddressSource . Next ( ) ;
@@ -33,7 +33,7 @@ public static string PersonEmailAddress(this AnonymousValueFixture fixture)
3333 /// </summary>
3434 /// <param name="fixture">The fixture to generate a string for</param>
3535 /// <returns>The generated string</returns>
36- public static string PersonLanguage ( this AnonymousValueFixture fixture )
36+ public static string Language ( this AnonymousValueFixture fixture )
3737 {
3838 if ( _personLanguageSource == null ) _personLanguageSource = new PersonLanguageSource ( ) ;
3939 return _personLanguageSource . Next ( ) ;
@@ -44,7 +44,7 @@ public static string PersonLanguage(this AnonymousValueFixture fixture)
4444 /// </summary>
4545 /// <param name="fixture">The fixture to generate a string for</param>
4646 /// <returns>The generated string</returns>
47- public static string PersonNameFirstFemale ( this AnonymousValueFixture fixture )
47+ public static string FemaleFirstName ( this AnonymousValueFixture fixture )
4848 {
4949 if ( _personNameFirstFemaleSource == null ) _personNameFirstFemaleSource = new PersonNameFirstFemaleSource ( ) ;
5050 return _personNameFirstFemaleSource . Next ( ) ;
@@ -55,7 +55,7 @@ public static string PersonNameFirstFemale(this AnonymousValueFixture fixture)
5555 /// </summary>
5656 /// <param name="fixture">The fixture to generate a string for</param>
5757 /// <returns>The generated string</returns>
58- public static string PersonNameFirst ( this AnonymousValueFixture fixture )
58+ public static string FirstName ( this AnonymousValueFixture fixture )
5959 {
6060 if ( _personNameFirstSource == null ) _personNameFirstSource = new PersonNameFirstSource ( ) ;
6161 return _personNameFirstSource . Next ( ) ;
@@ -66,7 +66,7 @@ public static string PersonNameFirst(this AnonymousValueFixture fixture)
6666 /// </summary>
6767 /// <param name="fixture">The fixture to generate a string for</param>
6868 /// <returns>The generated string</returns>
69- public static string PersonNameFull ( this AnonymousValueFixture fixture )
69+ public static string FullName ( this AnonymousValueFixture fixture )
7070 {
7171 if ( _personNameFullSource == null ) _personNameFullSource = new PersonNameFullSource ( ) ;
7272 return _personNameFullSource . Next ( ) ;
@@ -77,7 +77,7 @@ public static string PersonNameFull(this AnonymousValueFixture fixture)
7777 /// </summary>
7878 /// <param name="fixture">The fixture to generate a string for</param>
7979 /// <returns>The generated string</returns>
80- public static string PersonNameLast ( this AnonymousValueFixture fixture )
80+ public static string LastName ( this AnonymousValueFixture fixture )
8181 {
8282 if ( _personNameLastSource == null ) _personNameLastSource = new PersonNameLastSource ( ) ;
8383 return _personNameLastSource . Next ( ) ;
@@ -88,7 +88,7 @@ public static string PersonNameLast(this AnonymousValueFixture fixture)
8888 /// </summary>
8989 /// <param name="fixture">The fixture to generate a string for</param>
9090 /// <returns>The generated string</returns>
91- public static string PersonNameFirstMale ( this AnonymousValueFixture fixture )
91+ public static string MaleFirstName ( this AnonymousValueFixture fixture )
9292 {
9393 if ( _personNameFirstMaleSource == null ) _personNameFirstMaleSource = new PersonNameFirstMaleSource ( ) ;
9494 return _personNameFirstMaleSource . Next ( ) ;
@@ -99,7 +99,7 @@ public static string PersonNameFirstMale(this AnonymousValueFixture fixture)
9999 /// </summary>
100100 /// <param name="fixture">The fixture to generate a string for</param>
101101 /// <returns>The generated string</returns>
102- public static string PersonNameSuffix ( this AnonymousValueFixture fixture )
102+ public static string Suffix ( this AnonymousValueFixture fixture )
103103 {
104104 if ( _personNameSuffixSource == null ) _personNameSuffixSource = new PersonNameSuffixSource ( ) ;
105105 return _personNameSuffixSource . Next ( ) ;
@@ -110,7 +110,7 @@ public static string PersonNameSuffix(this AnonymousValueFixture fixture)
110110 /// </summary>
111111 /// <param name="fixture">The fixture to generate a string for</param>
112112 /// <returns>The generated string</returns>
113- public static string PersonNameTitle ( this AnonymousValueFixture fixture )
113+ public static string Title ( this AnonymousValueFixture fixture )
114114 {
115115 if ( _personNameTitleSource == null ) _personNameTitleSource = new PersonNameTitleSource ( ) ;
116116 return _personNameTitleSource . Next ( ) ;
0 commit comments