Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit e04ac25

Browse files
committed
Remove unnecessary using in dotnetcore samples
1 parent 384e0f1 commit e04ac25

File tree

7 files changed

+1
-34
lines changed

7 files changed

+1
-34
lines changed

samples/dotnetcore/getting-started/mywebapi/Controllers/ValuesController.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
54
using System.Collections.Generic;
6-
using System.Linq;
7-
using System.Threading.Tasks;
85
using Microsoft.AspNetCore.Mvc;
96

107
namespace mywebapi.Controllers

samples/dotnetcore/getting-started/mywebapi/Program.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.IO;
7-
using System.Linq;
8-
using System.Threading.Tasks;
94
using Microsoft.AspNetCore;
105
using Microsoft.AspNetCore.Hosting;
11-
using Microsoft.Extensions.Configuration;
12-
using Microsoft.Extensions.Logging;
136

147
namespace mywebapi
158
{

samples/dotnetcore/getting-started/mywebapi/Startup.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Linq;
7-
using System.Threading.Tasks;
84
using Microsoft.AspNetCore.Builder;
95
using Microsoft.AspNetCore.Hosting;
106
using Microsoft.Extensions.Configuration;
117
using Microsoft.Extensions.DependencyInjection;
12-
using Microsoft.Extensions.Logging;
13-
using Microsoft.Extensions.Options;
148

159
namespace mywebapi
1610
{

samples/dotnetcore/getting-started/webfrontend/Controllers/HomeController.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
5-
using System.Collections.Generic;
64
using System.Diagnostics;
7-
using System.Linq;
8-
using System.Threading.Tasks;
95
using Microsoft.AspNetCore.Mvc;
106
using webfrontend.Models;
117

samples/dotnetcore/getting-started/webfrontend/Models/ErrorViewModel.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
5-
64
namespace webfrontend.Models
75
{
86
public class ErrorViewModel

samples/dotnetcore/getting-started/webfrontend/Program.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.IO;
7-
using System.Linq;
8-
using System.Threading.Tasks;
94
using Microsoft.AspNetCore;
105
using Microsoft.AspNetCore.Hosting;
11-
using Microsoft.Extensions.Configuration;
12-
using Microsoft.Extensions.Logging;
136

147
namespace webfrontend
158
{

samples/dotnetcore/getting-started/webfrontend/Startup.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4-
using System;
5-
using System.Collections.Generic;
6-
using System.Linq;
7-
using System.Threading.Tasks;
84
using Microsoft.AspNetCore.Builder;
95
using Microsoft.AspNetCore.Hosting;
106
using Microsoft.Extensions.Configuration;
@@ -49,4 +45,4 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
4945
});
5046
}
5147
}
52-
}
48+
}

0 commit comments

Comments
 (0)