开发者

EnqueueCallback in VB.net

I would like to perform a unit test in Silverlight, with VB.net.

I have read an example of how to perform an asynchronous test (http://j开发者_运维知识库onas.follesoe.no/UnitTestingAsynchronousSilverlightCode.aspx), but I do not know how to translate the following from C# to VB.net:

EnqueueCallback(() => Assert.AreEqual(value, expectedValue));

Can somebody help me?


Try this:

EnqueueCallback(Function() Assert.AreEqual(value, expectedValue))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜