How to conditionally return from an async method returning Task?

前端 未结 0 1788
我寻月下人不归
我寻月下人不归 2020-12-21 23:07

I have the following function:

    Task LoadResourcesAsync(IReadOnlyList files)
    {
        if (files is null)
        {
            retu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题