Skip to content

Commit ee20305

Browse files
committed
Rename ApiService() to Service()
1 parent 2059a4e commit ee20305

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

SSLLWrapper.ConsoleAppTester/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace SSLLWrapper.ConsoleAppTester
66
class Program
77
{
88
private const string ApiUrl = "https://api.dev.ssllabs.com/api/fa78d5a4";
9-
static readonly ApiService ApiService = new ApiService(ApiUrl);
9+
static readonly Service ApiService = new Service(ApiUrl);
1010

1111
static void Main(string[] args)
1212
{

SSLLWrapper/Api.cs

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

55
namespace SSLLWrapper
66
{
7-
public class Api : IApi
7+
class Api : IApi
88
{
99
public HttpWebResponse MakeGetRequest(RequestModel requestModel)
1010
{

SSLLWrapper/SSLLWrapper.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</ItemGroup>
4646
<ItemGroup>
4747
<Compile Include="Api.cs" />
48-
<Compile Include="ApiService.cs" />
48+
<Compile Include="Service.cs" />
4949
<Compile Include="Helpers\HttpWebResponseHelper.cs" />
5050
<Compile Include="Interfaces\IApi.cs" />
5151
<Compile Include="Interfaces\IHttpWebResponseHelper.cs" />

SSLLWrapper/ApiService.cs renamed to SSLLWrapper/Service.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace SSLLWrapper
88
{
9-
public class ApiService
9+
public class Service
1010
{
1111
#region construction
1212

@@ -43,7 +43,7 @@ public enum All
4343
Done
4444
}
4545

46-
public ApiService(string apiUrl)
46+
public Service(string apiUrl)
4747
{
4848
_api = new Api();
4949
_webResponseHelper = new HttpWebResponseHelper();

0 commit comments

Comments
 (0)