Skip to content

Commit b6a2c3b

Browse files
authored
feat: Additional overloads for normal usage of the service client. (#58)
1 parent 47d38e3 commit b6a2c3b

File tree

8 files changed

+252
-10
lines changed

8 files changed

+252
-10
lines changed

src/CommunityToolkit.Datasync.Client/Query/IDatasyncQueryMethods.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
using CommunityToolkit.Datasync.Client.Service;
65
using System.Linq.Expressions;
76

87
namespace CommunityToolkit.Datasync.Client.Query;

src/CommunityToolkit.Datasync.Client/Query/IDatasyncQueryable.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// See the LICENSE file in the project root for more information.
44

55
using CommunityToolkit.Datasync.Client.Query;
6-
using CommunityToolkit.Datasync.Client.Service;
76

87
namespace CommunityToolkit.Datasync.Client;
98

src/CommunityToolkit.Datasync.Client/Query/IDatasyncQueryableExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
using CommunityToolkit.Datasync.Client.Service;
6-
75
namespace CommunityToolkit.Datasync.Client;
86

97
/// <summary>

src/CommunityToolkit.Datasync.Client/Service/DatasyncServiceClient.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77
using CommunityToolkit.Datasync.Client.Query.Linq;
88
using CommunityToolkit.Datasync.Client.Query.OData;
99
using CommunityToolkit.Datasync.Client.Serialization;
10-
using Microsoft.Extensions.Options;
10+
using CommunityToolkit.Datasync.Client.Service;
1111
using System.Linq.Expressions;
1212
using System.Net;
1313
using System.Net.Http.Headers;
1414
using System.Net.Http.Json;
1515
using System.Text.Json;
16-
using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
1716

18-
namespace CommunityToolkit.Datasync.Client.Service;
17+
namespace CommunityToolkit.Datasync.Client;
1918

2019
/// <summary>
2120
/// The concrete implementation of the <see cref="IDatasyncServiceClient{TEntity}"/> interface.

src/CommunityToolkit.Datasync.Client/Service/DatasyncServiceOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
namespace CommunityToolkit.Datasync.Client.Service;
5+
namespace CommunityToolkit.Datasync.Client;
66

77
/// <summary>
88
/// The options that can be used to modify the request for the service.

src/CommunityToolkit.Datasync.Client/Service/IDatasyncServiceClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
using CommunityToolkit.Datasync.Client.Query;
66

7-
namespace CommunityToolkit.Datasync.Client.Service;
7+
namespace CommunityToolkit.Datasync.Client;
88

99
/// <summary>
1010
/// A read-only version of the service client that talks to a datasync service.

src/CommunityToolkit.Datasync.Client/Service/IDatasyncServiceClientExtensions.cs

Lines changed: 246 additions & 0 deletions
Large diffs are not rendered by default.

src/CommunityToolkit.Datasync.Client/Service/ServiceResponse.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5+
using CommunityToolkit.Datasync.Client.Service;
56
using System.Diagnostics.CodeAnalysis;
67
using System.Net.Http.Headers;
78
using System.Text.Json;
89

9-
namespace CommunityToolkit.Datasync.Client.Service;
10+
namespace CommunityToolkit.Datasync.Client;
1011

1112
/// <summary>
1213
/// A response from a remote datasync service.

0 commit comments

Comments
 (0)