Пример #1
0
 public GeographicLocationArray(GeographicLocation[] mdo)
 {
     if (mdo == null || mdo.Length == 0)
     {
         count = 0;
         return;
     }
     locations = new GeographicLocationTO[mdo.Length];
     for (int i = 0; i < mdo.Length; i++)
     {
         locations[i] = new GeographicLocationTO(mdo[i]);
     }
     count = mdo.Length;
 }
Пример #2
0
 public GeographicLocationArray(GeographicLocation[] mdo)
 {
     if (mdo == null || mdo.Length == 0)
     {
         count = 0;
         return;
     }
     locations = new GeographicLocationTO[mdo.Length];
     for (int i = 0; i < mdo.Length; i++)
     {
         locations[i] = new GeographicLocationTO(mdo[i]);
     }
     count = mdo.Length;
 }