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 ); }
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); }