CUAHIS-HIS
RSS

Navigation





Quick Search
»
Advanced Search »

PoweredBy

Lambda Notes

RSS
Modified on 2011/09/17 11:55 by valentinedwv Categorized as Uncategorized
Notes from a .net meeting on lambdas

-- async Service.MethodCOmpleted =+ eventHandler Service.MethodAsync ();

Stubs out eventHandler (object sender, args e) { do something }

delegate Proxy.MethodCompleted += delegate (object sender, event e) { do something ListBoxItem.ItemSource = e.result; } Proxy.methodAsync

lamda Proxy.MethodCompleted += (sender, e) => { do something ListBoxItem.ItemSource = e.result; } Proxy.methodAsync

As person (if this is not a person, it will retur null; a null is also ok.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.