Added support for .NET Standard 1.1 and 1.2

This commit is contained in:
RogueException
2016-12-16 05:51:07 -04:00
parent a1addd4016
commit 8f87b2cc71
49 changed files with 533 additions and 348 deletions

View File

@@ -21,12 +21,12 @@ namespace Discord.Rest
protected override Task OnLoginAsync(TokenType tokenType, string token)
{
base.CurrentUser = RestSelfUser.Create(this, ApiClient.CurrentUser);
return Task.CompletedTask;
return Task.Delay(0);
}
protected override Task OnLogoutAsync()
{
_applicationInfo = null;
return Task.CompletedTask;
return Task.Delay(0);
}
/// <inheritdoc />