Skip to content

Commit da9dc94

Browse files
committed
Code grooming
1 parent 0098729 commit da9dc94

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed
13 Bytes
Binary file not shown.
1.57 MB
Binary file not shown.

src/c#/GeneralUpdate.Infrastructure/DataServices/Http/HttpService.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace GeneralUpdate.Infrastructure.DataServices.Http
55
{
6-
public class HttpService
6+
public sealed class HttpService
77
{
88
private static HttpService _instance;
99
private static object _lock = new object();
@@ -24,6 +24,15 @@ public static HttpService Instance
2424
}
2525
}
2626

27+
/// <summary>
28+
/// Upload file.
29+
/// </summary>
30+
/// <typeparam name="T"></typeparam>
31+
/// <param name="url"></param>
32+
/// <param name="parameters"></param>
33+
/// <param name="filePath"></param>
34+
/// <param name="reponseCallback"></param>
35+
/// <returns></returns>
2736
public async Task PostFileRequest<T>(string url, Dictionary<string, string> parameters, string filePath , Action<T> reponseCallback) where T : class
2837
{
2938
try

src/c#/GeneralUpdate.PacketTool/Models/MainModel.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/c#/GeneralUpdate.PacketTool/ViewModels/MainViewModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public List<string> Formats
9595
{
9696
".zip"
9797
};
98-
//_formats.Add(".7z");
9998
}
10099
return _formats;
101100
}

0 commit comments

Comments
 (0)