Пример #1
0
 /// <summary>
 /// Inits with the data supplied.
 /// </summary>
 /// <param name="address">The address.</param>
 /// <param name="provider">The provider.</param>
 /// <param name="height">The height.</param>
 /// <param name="width">The width.</param>
 public void Init(GeoAddress address, GeoProvider provider, int width, int height)
 {
     Address  = address;
     Provider = provider;
     Width    = height;
     Height   = width;
 }
Пример #2
0
 /// <summary>
 /// Creates a new instance of this class.
 /// </summary>
 /// <param name="address">The address.</param>
 /// <param name="provider">The provider.</param>
 /// <param name="height">The height.</param>
 /// <param name="width">The width.</param>
 public GeoAddressViewModel(GeoAddress address, GeoProvider provider, int width, int height)
 {
     Init(address, provider, width, height);
 }