5
爲什麼HttpListener顯式實現IDisposable。這意味着你必須在調用dispose之前將其投射到IDisposable,並且在我看來使得你必須調用dispose更不明顯。System.Net.HttpListener只顯式實現IDisposable
爲什麼HttpListener顯式實現IDisposable。這意味着你必須在調用dispose之前將其投射到IDisposable,並且在我看來使得你必須調用dispose更不明顯。System.Net.HttpListener只顯式實現IDisposable
也許使用的是爲什麼他們已明確實施IDisposable接口。我正在使用異步方法,所以很難去使用路由。 – avid 2011-06-06 13:00:08