Skip to content

Commit aaa20db

Browse files
authored
Use ImplicitUsings (#158)
1 parent 3cc27b0 commit aaa20db

13 files changed

Lines changed: 4 additions & 37 deletions

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>net9.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
6+
<ImplicitUsings>enable</ImplicitUsings>
67
<UsingBrowserRuntimeWorkload>false</UsingBrowserRuntimeWorkload>
78
</PropertyGroup>
89

src/MudBlazor.Examples.Data/AmericanStates.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
51
namespace MudBlazor.Examples.Data
62
{
73
public static class AmericanStates

src/MudBlazor.Examples.Data/IPeriodicTableService.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Collections.Generic;
2-
using System.Threading.Tasks;
31
using MudBlazor.Examples.Data.Models;
42

53
namespace MudBlazor.Examples.Data

src/MudBlazor.Examples.Data/Models/Element.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System.Collections.Generic;
2-
using System.Text.Json.Serialization;
1+
using System.Text.Json.Serialization;
32

43
namespace MudBlazor.Examples.Data.Models
54
{

src/MudBlazor.Examples.Data/Models/ElementGroup.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Collections.Generic;
2-
31
namespace MudBlazor.Examples.Data.Models
42
{
53
public class ElementGroup

src/MudBlazor.Examples.Data/Models/Table.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Collections.Generic;
21
using System.Text.Json.Serialization;
32

43
namespace MudBlazor.Examples.Data.Models

src/MudBlazor.Examples.Data/PeriodicTableService.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Reflection;
1+
using System.Reflection;
52
using System.Text.Json;
6-
using System.Threading.Tasks;
73
using MudBlazor.Examples.Data.Models;
84

95
namespace MudBlazor.Examples.Data

src/TryMudBlazor.Server/Controllers/AmericanStatesController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System.Collections.Generic;
21
using Microsoft.AspNetCore.Mvc;
32
using MudBlazor.Examples.Data;
43

src/TryMudBlazor.Server/Controllers/PeriodicTableController.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Collections.Generic;
2-
using System.Threading.Tasks;
31
using Microsoft.AspNetCore.Mvc;
42
using MudBlazor.Examples.Data;
53
using MudBlazor.Examples.Data.Models;

src/TryMudBlazor.Server/Controllers/SnippetsController.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
using System;
2-
using System.IO;
3-
using System.Threading.Tasks;
4-
using Azure.Identity;
1+
using Azure.Identity;
52
using Azure.Storage;
63
using Azure.Storage.Blobs;
74
using Microsoft.AspNetCore.Mvc;
8-
using Microsoft.Extensions.Configuration;
95
using static TryMudBlazor.Server.Utilities.SnippetsEncoder;
106

117
namespace TryMudBlazor.Server.Controllers;

0 commit comments

Comments
 (0)