Is there some way I can make an Extension Method asynchronous?
I have looked around for a while now, but haven’t yet found anything related. Will keep looking though…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An extension method is just a normal static method, with syntactic sugar to invoke it.
So work out how you’d make a normal method asynchronous (e.g. by starting a Task within it, in .NET 4) and go from there.