Here are the examples of the csharp api System.Threading.Tasks.Task.FromResult(WorldUploadCount) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : MockWorldUploadCountDbAccess.cs
with MIT License
from Universalis-FFXIV
with MIT License
from Universalis-FFXIV
public Task<WorldUploadCount> Retrieve(WorldUploadCountQuery query)
{
return !_collection.TryGetValue(query.WorldName, out var taxRates)
? Task.FromResult<WorldUploadCount>(null)
: Task.FromResult(taxRates);
}