Thursday, August 9, 2012

Working around GetListItemsAsync

First to step through References.cs comment out [System.Diagnostics.DebuggerStepThroughAttribute()] of ListsSoapClient. Tried making OnBeginGetListItems public and calling from custom class.cs without success. See this for possible workaround.
I could just chain call backs but IMO that is code smell (i.e. a leaky abstraction) because it "violate[s] implementation visibility by requiring consumers to know that they shouldn't expect to receive a return value [...]".

No comments:

Post a Comment