Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Activout.RestClient/AcceptAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
namespace Activout.RestClient
{
public class AcceptAttribute : HeaderAttribute
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/Activout.RestClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>CS0618;CS0619</WarningsNotAsErrors>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/ContentTypeAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient.DomainExceptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient.DomainExceptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Net;

namespace Activout.RestClient.DomainExceptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Net.Http;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Reflection;

Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/ErrorResponseAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient
{
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/FormKeyAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/FormParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient
{
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/HeaderAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/HeaderParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Helpers/IDuckTyping.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace Activout.RestClient.Helpers
#nullable disable
namespace Activout.RestClient.Helpers
{
public interface IDuckTyping
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Helpers/ITaskConverter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Threading.Tasks;
#nullable disable
using System.Threading.Tasks;

namespace Activout.RestClient.Helpers
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Helpers/ITaskConverterFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient.Helpers
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Helpers/Implementation/DuckTyping.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using ImpromptuInterface;
#nullable disable
using ImpromptuInterface;

namespace Activout.RestClient.Helpers.Implementation
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Helpers/Implementation/TaskConverter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Reflection;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient.Helpers.Implementation
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System.Diagnostics;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient.Helpers.Implementation;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient.Helpers.Implementation
{
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/HttpMethodAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Net.Http;

Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/IRequestLogger.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Net.Http;

Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/IRestClientBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Net.Http;
using Activout.RestClient.DomainExceptions;
using Activout.RestClient.Helpers;
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/IRestClientFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace Activout.RestClient
#nullable disable
namespace Activout.RestClient
{
public interface IRestClientFactory
{
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/Implementation/HeaderListExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Collections.Generic;

Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Implementation/RequestHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Implementation/RestClient.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Dynamic;
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Implementation/RestClientBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Implementation/RestClientContext.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Implementation/RestClientFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Activout.RestClient.Helpers;
#nullable disable
using Activout.RestClient.Helpers;
using Activout.RestClient.ParamConverter;

namespace Activout.RestClient.Implementation
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/Implementation/StringExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
namespace Activout.RestClient.Implementation
{
public static class StringExtensions
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/MediaType.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Net.Http.Headers;

Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/NamedParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/ParamConverter/IParamConverter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Reflection;

namespace Activout.RestClient.ParamConverter
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/ParamConverter/IParamConverterManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Reflection;

namespace Activout.RestClient.ParamConverter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Reflection;

namespace Activout.RestClient.ParamConverter.Implementation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Reflection;

namespace Activout.RestClient.ParamConverter.Implementation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Reflection;

namespace Activout.RestClient.ParamConverter.Implementation
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/Part.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
namespace Activout.RestClient
{
public class Part
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/PartParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/PathAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/PathParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace Activout.RestClient
#nullable disable
namespace Activout.RestClient
{
public class PathParamAttribute : NamedParamAttribute
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/QueryParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace Activout.RestClient
#nullable disable
namespace Activout.RestClient
{
public class QueryParamAttribute : NamedParamAttribute
{
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/RestClientBuilderExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;
using System.Net.Http.Headers;

Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/RestClientException.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Net;

namespace Activout.RestClient
Expand Down
1 change: 1 addition & 0 deletions Activout.RestClient/RouteAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System;

namespace Activout.RestClient
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/RouteParamAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;

namespace Activout.RestClient
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Serialization/IDeserializer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Net.Http;
using System.Threading.Tasks;

Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Serialization/ISerializationManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
namespace Activout.RestClient.Serialization
#nullable disable
namespace Activout.RestClient.Serialization
{
public interface ISerializationManager
{
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Serialization/ISerializer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Net.Http;
#nullable disable
using System.Net.Http;
using System.Text;

namespace Activout.RestClient.Serialization
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Net.Http;
#nullable disable
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#nullable disable
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
#nullable disable
using System;
using System.Net.Http;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Net.Http;
#nullable disable
using System.Net.Http;
using System.Text;

namespace Activout.RestClient.Serialization.Implementation
Expand Down
3 changes: 2 additions & 1 deletion Activout.RestClient/Services.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Activout.RestClient.Helpers;
#nullable disable
using Activout.RestClient.Helpers;
using Activout.RestClient.Helpers.Implementation;
using Activout.RestClient.Implementation;
using Activout.RestClient.ParamConverter;
Expand Down
Loading
Loading