/// <summary> /// Generate and return a country name. /// </summary> /// <param name="fixture">The fixture to generate a country for</param> /// <returns>The generated country</returns> public static string Country(this AnonymousValueFixture fixture) { if (_geoCountrySource == null) { _geoCountrySource = new GeoCountrySource(); } return(_geoCountrySource.Next()); }
/// <summary> /// Generate and return a country name. /// </summary> /// <param name="fixture">The fixture to generate a country for</param> /// <returns>The generated country</returns> public static string Country(this AnonymousValueFixture fixture) { if (_geoCountrySource == null) _geoCountrySource = new GeoCountrySource(); return _geoCountrySource.Next(); }