如何在 Visual Studio 2012 中自动执行大量重复操作?需要将同步方法转换为异步。比如需要从
public void SomeMethod(String something)
{
//action
}
public Some SomeMethodOneMore(String something)
{
//action
}
至
public async Task SomeMethodAsync(String something)
{
//action
}
public async Task<Some> SomeMethodOneMoreAsync(String something)
{
//action
}