Exemple #1
0
 /// <summary>
 /// Provides a deterministic way to create the GeoDataStatic property.
 /// </summary>
 public static void CreateGeoData()
 {
     if (_geoData == null)
     {
         _geoData = new GeoDataViewModel(new GeoDataModel());
     }
 }
Exemple #2
0
 /// <summary>
 /// Provides a deterministic way to delete the GeoDataStatic property.
 /// </summary>
 public static void ClearGeoData()
 {
     _geoData.Cleanup();
     _geoData = null;
 }