コード例 #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;
 }