Skip to content

Commit 7823c50

Browse files
XAML-KnightNirmal4G
authored andcommitted
Refactoring done while removing the .NET targeted only projects
These are some sof the refactoring done while removing the .NET targeted only projects. Do mind that they are no complete cleanup of the aftermath of the projects removal. Authored-By: Darren Batchelor <[email protected]> Modified-By: Nirmal Guru <[email protected]>
1 parent 568b6ef commit 7823c50

File tree

14 files changed

+12
-17
lines changed

14 files changed

+12
-17
lines changed

Microsoft.Toolkit.Uwp.SampleApp/Controls/SampleAppMarkdownRenderer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System;
66
using System.Collections.Generic;
77
using System.Linq;
8-
using Microsoft.Toolkit.Helpers;
98
using Microsoft.Toolkit.Parsers.Markdown;
109
using Microsoft.Toolkit.Parsers.Markdown.Blocks;
1110
using Microsoft.Toolkit.Parsers.Markdown.Inlines;

Microsoft.Toolkit.Uwp.SampleApp/Models/Sample.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
// TODO Reintroduce graph controls
2121
// using Microsoft.Toolkit.Graph.Converters;
2222
// using Microsoft.Toolkit.Graph.Providers;
23-
using Microsoft.Toolkit.Helpers;
2423
using Microsoft.Toolkit.Uwp.Helpers;
2524
using Microsoft.Toolkit.Uwp.Input.GazeInteraction;
2625
using Microsoft.Toolkit.Uwp.SampleApp.Models;

Microsoft.Toolkit.Uwp.SampleApp/Models/Samples.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
using System.Text.Json;
1010
using System.Threading;
1111
using System.Threading.Tasks;
12-
using Microsoft.Toolkit.Helpers;
1312
using Microsoft.Toolkit.Uwp.Helpers;
1413

1514
namespace Microsoft.Toolkit.Uwp.SampleApp

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Incremental Loading Collection/PeopleSource.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
using System.Linq;
88
using System.Threading;
99
using System.Threading.Tasks;
10+
using Microsoft.Toolkit.Collections;
1011

1112
namespace Microsoft.Toolkit.Uwp.SampleApp.SamplePages
1213
{
1314
/// <summary>
14-
/// A sample implementation of the <see cref="Collections.IIncrementalSource{TSource}"/> interface.
15+
/// A sample implementation of the <see cref="IIncrementalSource{TSource}"/> interface.
1516
/// </summary>
16-
/// <seealso cref="Collections.IIncrementalSource{TSource}"/>
17-
public class PeopleSource : Collections.IIncrementalSource<Person>
17+
/// <seealso cref="IIncrementalSource{TSource}"/>
18+
public class PeopleSource : IIncrementalSource<Person>
1819
{
1920
private readonly List<Person> _people;
2021

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Object Storage/ObjectStoragePage.xaml.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 Microsoft.Toolkit.Helpers;
65
using Microsoft.Toolkit.Uwp.Helpers;
76
using Windows.UI.Xaml;
87

Microsoft.Toolkit.Uwp/Helpers/ObjectStorage/ApplicationDataStorageHelper.CacheFolder.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 System;
65
using System.Collections.Generic;
76
using System.Threading.Tasks;
87
using Microsoft.Toolkit.Helpers;

Microsoft.Toolkit.Uwp/Helpers/ObjectStorage/ApplicationDataStorageHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static ApplicationDataStorageHelper GetCurrent(Toolkit.Helpers.IObjectSer
6666
/// Get a new instance using the ApplicationData for the provided user and serializer.
6767
/// </summary>
6868
/// <param name="user">App data user owner.</param>
69-
/// <param name="objectSerializer">Serializer for converting stored values. Defaults to <see cref="Toolkit.Helpers.SystemSerializer"/>.</param>
69+
/// <param name="objectSerializer">Serializer for converting stored values. Defaults to <see cref="SystemSerializer"/>.</param>
7070
/// <returns>A new instance of ApplicationDataStorageHelper.</returns>
7171
public static async Task<ApplicationDataStorageHelper> GetForUserAsync(User user, Toolkit.Helpers.IObjectSerializer? objectSerializer = null)
7272
{

Microsoft.Toolkit.Uwp/Helpers/SystemInformation.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
using System.Globalization;
77
using System.Linq;
88
using System.Threading.Tasks;
9-
using Microsoft.Toolkit.Helpers;
109
using Windows.ApplicationModel;
1110
using Windows.ApplicationModel.Activation;
1211
using Windows.Security.ExchangeActiveSyncProvisioning;

Microsoft.Toolkit.Uwp/IncrementalLoadingCollection/IncrementalLoadingCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Toolkit.Uwp
2828
/// <seealso cref="ISupportIncrementalLoading"/>
2929
public class IncrementalLoadingCollection<TSource, IType> : ObservableCollection<IType>,
3030
ISupportIncrementalLoading
31-
where TSource : Collections.IIncrementalSource<IType>
31+
where TSource : IIncrementalSource<IType>
3232
{
3333
private readonly SemaphoreSlim _mutex = new SemaphoreSlim(1);
3434

UnitTests/UnitTests.UWP/Helpers/JsonObjectSerializer2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace UnitTests.Helpers
1111
{
1212
/// <summary>
1313
/// This is a Serializer which should mimic the previous functionality of 6.1.1 release of the Toolkit with Newtonsoft.Json.
14-
/// Based on <see cref="Microsoft.Toolkit.Helpers.IObjectSerializer"/>.
14+
/// Based on <see cref="IObjectSerializer"/>.
1515
/// </summary>
1616
internal class JsonObjectSerializer2 : IObjectSerializer
1717
{

0 commit comments

Comments
 (0)