コード例 #1
0
		void nsIWifiListener.OnChange( nsIWifiAccessPoint[] accessPoints, uint aLen )
		{
			if (AccessPointsChanged == null) return;
			WifiAccessPoint[] array = new WifiAccessPoint[aLen];
			for (int i = 0; i < accessPoints.Length; i++)
			{
				array[i]=new WifiAccessPoint( accessPoints[i] );
			}
			AccessPointsChanged( array );
		}
コード例 #2
0
 void nsIWifiListener.OnChange(nsIWifiAccessPoint[] accessPoints, uint aLen)
 {
     if (AccessPointsChanged == null)
     {
         return;
     }
     WifiAccessPoint[] array = new WifiAccessPoint[aLen];
     for (int i = 0; i < accessPoints.Length; i++)
     {
         array[i] = new WifiAccessPoint(accessPoints[i]);
     }
     AccessPointsChanged(array);
 }