コード例 #1
0
 /// <summary>
 /// Generate and return a longitude coordinate.
 /// </summary>
 /// <param name="fixture">The fixture to generate a longitude for</param>
 /// <returns>The generated longitude</returns>
 public static string Longitude(this AnonymousValueFixture fixture)
 {
     if (_geoLongitudeSource == null)
     {
         _geoLongitudeSource = new GeoLongitudeSource();
     }
     return(_geoLongitudeSource.Next());
 }
コード例 #2
0
 /// <summary>
 /// Generate and return a longitude coordinate.
 /// </summary>
 /// <param name="fixture">The fixture to generate a longitude for</param>
 /// <returns>The generated longitude</returns>
 public static string Longitude(this AnonymousValueFixture fixture)
 {
     if (_geoLongitudeSource == null) _geoLongitudeSource = new GeoLongitudeSource();
     return _geoLongitudeSource.Next();
 }