Skip to content

Commit b1fdbdb

Browse files
committed
Move trace utilities to Shared namespace
GeneralTracer and WindowsOutputDebugListener were relocated from Internal/Trace to Shared/Trace, updating all references and project files accordingly. This improves code organization and clarifies the intended usage of tracing utilities across the solution.
1 parent ef0f9b1 commit b1fdbdb

20 files changed

+23
-22
lines changed

src/c#/GeneralUpdate.Bowl/GeneralUpdate.Bowl.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@
6969
<Compile Include="..\GeneralUpdate.Common\Internal\Pipeline\PipelineContext.cs" Link="Common\PipelineContext.cs" />
7070
<Compile Include="..\GeneralUpdate.Common\Internal\Strategy\AbstractStrategy.cs" Link="Common\AbstractStrategy.cs" />
7171
<Compile Include="..\GeneralUpdate.Common\Internal\Strategy\IStrategy.cs" Link="Common\IStrategy.cs" />
72-
<Compile Include="..\GeneralUpdate.Common\Internal\Trace\GeneralTracer.cs" Link="Common\GeneralTracer.cs" />
73-
<Compile Include="..\GeneralUpdate.Common\Internal\Trace\WindowsOutputDebugListener.cs" Link="Common\WindowsOutputDebugListener.cs" />
7472
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Configinfo.cs" Link="Common\Configinfo.cs" />
7573
<Compile Include="..\GeneralUpdate.Common\Shared\Object\DTO\BaseResponseDTO.cs" Link="Common\BaseResponseDTO.cs" />
7674
<Compile Include="..\GeneralUpdate.Common\Shared\Object\DTO\VersionRespDTO.cs" Link="Common\VersionRespDTO.cs" />
@@ -85,6 +83,8 @@
8583
<Compile Include="..\GeneralUpdate.Common\Shared\Object\VersionInfo.cs" Link="Common\VersionInfo.cs" />
8684
<Compile Include="..\GeneralUpdate.Common\Shared\Object\VersionOSS.cs" Link="Common\VersionOSS.cs" />
8785
<Compile Include="..\GeneralUpdate.Common\Shared\Service\VersionService.cs" Link="Common\VersionService.cs" />
86+
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\GeneralTracer.cs" Link="Common\GeneralTracer.cs" />
87+
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\WindowsOutputDebugListener.cs" Link="Common\WindowsOutputDebugListener.cs" />
8888
</ItemGroup>
8989

9090
<ItemGroup>

src/c#/GeneralUpdate.ClientCore/GeneralClientBootstrap.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
using GeneralUpdate.Common.Internal.Event;
1616
using GeneralUpdate.Common.Internal.JsonContext;
1717
using GeneralUpdate.Common.Internal.Strategy;
18+
using GeneralUpdate.Common.Shared;
1819
using GeneralUpdate.Common.Shared.Object;
1920
using GeneralUpdate.Common.Shared.Object.Enum;
2021
using GeneralUpdate.Common.Shared.Service;

src/c#/GeneralUpdate.ClientCore/GeneralClientOSS.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using System.Threading;
99
using System.Threading.Tasks;
1010
using GeneralUpdate.Common.FileBasic;
11-
using GeneralUpdate.Common.Internal;
11+
using GeneralUpdate.Common.Shared;
1212
using GeneralUpdate.Common.Internal.Bootstrap;
1313
using GeneralUpdate.Common.Internal.JsonContext;
1414
using GeneralUpdate.Common.Shared.Object;

src/c#/GeneralUpdate.ClientCore/GeneralUpdate.ClientCore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@
5959
<Compile Include="..\GeneralUpdate.Common\Internal\Pipeline\PipelineContext.cs" Link="Common\PipelineContext.cs" />
6060
<Compile Include="..\GeneralUpdate.Common\Internal\Strategy\AbstractStrategy.cs" Link="Common\AbstractStrategy.cs" />
6161
<Compile Include="..\GeneralUpdate.Common\Internal\Strategy\IStrategy.cs" Link="Common\IStrategy.cs" />
62-
<Compile Include="..\GeneralUpdate.Common\Internal\Trace\GeneralTracer.cs" Link="Common\GeneralTracer.cs" />
63-
<Compile Include="..\GeneralUpdate.Common\Internal\Trace\WindowsOutputDebugListener.cs" Link="Common\WindowsOutputDebugListener.cs" />
6462
<Compile Include="..\GeneralUpdate.Common\Shared\Object\Configinfo.cs" Link="Common\Configinfo.cs" />
6563
<Compile Include="..\GeneralUpdate.Common\Shared\Object\DTO\BaseResponseDTO.cs" Link="Common\BaseResponseDTO.cs" />
6664
<Compile Include="..\GeneralUpdate.Common\Shared\Object\DTO\VersionRespDTO.cs" Link="Common\VersionRespDTO.cs" />
@@ -75,6 +73,8 @@
7573
<Compile Include="..\GeneralUpdate.Common\Shared\Object\VersionInfo.cs" Link="Common\VersionInfo.cs" />
7674
<Compile Include="..\GeneralUpdate.Common\Shared\Object\VersionOSS.cs" Link="Common\VersionOSS.cs" />
7775
<Compile Include="..\GeneralUpdate.Common\Shared\Service\VersionService.cs" Link="Common\VersionService.cs" />
76+
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\GeneralTracer.cs" Link="Common\GeneralTracer.cs" />
77+
<Compile Include="..\GeneralUpdate.Common\Shared\Trace\WindowsOutputDebugListener.cs" Link="Common\WindowsOutputDebugListener.cs" />
7878
<Compile Include="..\GeneralUpdate.Differential\Binary\BinaryHandler.cs" Link="Common\BinaryHandler.cs" />
7979
<Compile Include="..\GeneralUpdate.Differential\Binary\BZip2Constants.cs" Link="Common\BZip2Constants.cs" />
8080
<Compile Include="..\GeneralUpdate.Differential\Binary\BZip2InputStream.cs" Link="Common\BZip2InputStream.cs" />

src/c#/GeneralUpdate.ClientCore/Hubs/UpgradeHubService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
22
using System.Threading.Tasks;
3-
using GeneralUpdate.Common.Internal;
3+
using GeneralUpdate.Common.Shared;
44
using GeneralUpdate.Common.Internal.JsonContext;
55
using Microsoft.AspNetCore.SignalR;
66
using Microsoft.AspNetCore.SignalR.Client;

src/c#/GeneralUpdate.ClientCore/Strategys/LinuxStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
using System;
22
using System.Diagnostics;
33
using System.IO;
4-
using System.Threading;
54
using System.Threading.Tasks;
65
using GeneralUpdate.ClientCore.Pipeline;
76
using GeneralUpdate.Common.FileBasic;
87
using GeneralUpdate.Common.Internal;
98
using GeneralUpdate.Common.Internal.Event;
109
using GeneralUpdate.Common.Internal.Pipeline;
1110
using GeneralUpdate.Common.Internal.Strategy;
11+
using GeneralUpdate.Common.Shared;
1212
using GeneralUpdate.Common.Shared.Object;
1313
using GeneralUpdate.Common.Shared.Object.Enum;
1414
using GeneralUpdate.Common.Shared.Service;

src/c#/GeneralUpdate.ClientCore/Strategys/WindowsStrategy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using GeneralUpdate.Common.Internal.Event;
1010
using GeneralUpdate.Common.Internal.Pipeline;
1111
using GeneralUpdate.Common.Internal.Strategy;
12+
using GeneralUpdate.Common.Shared;
1213
using GeneralUpdate.Common.Shared.Object;
1314
using GeneralUpdate.Common.Shared.Object.Enum;
1415
using GeneralUpdate.Common.Shared.Service;

src/c#/GeneralUpdate.Common/Compress/ZipCompressionStrategy.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Diagnostics;
43
using System.IO;
54
using System.IO.Compression;
65
using System.Linq;
76
using System.Text;
87
using System.Text.RegularExpressions;
9-
using GeneralUpdate.Common.FileBasic;
10-
using GeneralUpdate.Common.Internal;
8+
using GeneralUpdate.Common.Shared;
119

1210
namespace GeneralUpdate.Common.Compress;
1311

src/c#/GeneralUpdate.Common/Download/DownloadTask.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Diagnostics;
43
using System.IO;
54
using System.Net.Http;
65
using System.Threading;
76
using System.Threading.Tasks;
8-
using GeneralUpdate.Common.Internal;
7+
using GeneralUpdate.Common.Shared;
98
using GeneralUpdate.Common.Shared.Object;
109

1110
namespace GeneralUpdate.Common.Download

src/c#/GeneralUpdate.Common/FileBasic/FileTree.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System.Collections.Generic;
2-
using GeneralUpdate.Common.Internal;
2+
using GeneralUpdate.Common.Shared;
33

44
namespace GeneralUpdate.Common.FileBasic;
55

0 commit comments

Comments
 (0)