Enable TreatWarningsAsErrors and Nullable for test projects

This commit is contained in:
Bond_009
2020-01-31 22:46:10 +01:00
parent cd13f718fb
commit 71abf1d3ce
8 changed files with 22 additions and 10 deletions

View File

@@ -1,3 +1,5 @@
#nullable enable
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Services;
using Microsoft.AspNetCore.Http;
@@ -7,6 +9,6 @@ namespace MediaBrowser.Controller.Net
public interface IAuthService
{
void Authenticate(IRequest request, IAuthenticationAttributes authAttribtues);
User Authenticate(HttpRequest request, IAuthenticationAttributes authAttribtues);
User? Authenticate(HttpRequest request, IAuthenticationAttributes authAttribtues);
}
}