System.Threading.Tasks.Task.FromResult(UserBase)

Here are the examples of the csharp api System.Threading.Tasks.Task.FromResult(UserBase) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : NullIdentityService.cs
with Apache License 2.0
from endink

public Task<UserBase> GetByIdAsync(long userId)
        {
            return Task.FromResult<UserBase>(null);
        }