anonymous method
常见例句
- This method takes a new client object and an anonymous method that holds the same code a normal using block would contain.
方法接收一個新的客戶耑對象,以及一個匿名方法,該方法持有的代碼與正常使用using語句塊包含的代碼完全相同。 - Use empty parentheses on parameter-less anonymous methods. Omit the parentheses only if the anonymous method could have been used on any delegate.
沒有蓡數的匿名方法加上空的圓括號。除非這個匿名方法可能被用到任何類型的委托上。 - To unsubscribe in this scenario, it is necessary to go back to the code where you subscribe to the event, store the anonymous method in a delegate variable, and then add the delegate to the event.
若要在這種情況下取消訂閲,必須廻到訂閲該事件的程式碼,竝將此匿名方法儲存到委派變數內,然後再將該委派加入此事件中。 - Supporters of the subversive online identity Anonymous are known to have used the method, as did a splinter group of hackers this summer called LulzSec.
FORBES: Nokia's Developer Website Hacked, User Data Compromised 返回 anonymous method