Skip to content

Commit

Permalink
Remove all un necessary usings in the solution
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Feb 12, 2022
1 parent 84242c2 commit f1abb16
Show file tree
Hide file tree
Showing 37 changed files with 0 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Shared;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests.Controllers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using System;
using System.Linq;
using System.Threading.Tasks;

Expand Down
7 changes: 0 additions & 7 deletions src/AzureIoTHub.Portal.Server.Tests/Helpers/HelpersTest.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
using AzureIoTHub.Portal.Server.Helpers;
using Microsoft.Azure.Devices.Provisioning.Service;
using Microsoft.Azure.Devices.Shared;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace AzureIoTHub.Portal.Server.Tests
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using AzureIoTHub.Portal.Shared.Models.Device;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Threading;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
using Moq.Protected;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,10 @@
using Microsoft.Azure.Devices.Shared;
using Microsoft.Extensions.Configuration;
using Moq;
using Moq.Protected;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using static AzureIoTHub.Portal.Server.Startup;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using AzureIoTHub.Portal.Shared.Models;
using Moq;
using NUnit.Framework;
using System;

namespace AzureIoTHub.Portal.Server.Tests.Mappers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
using AzureIoTHub.Portal.Server.Factories;
using AzureIoTHub.Portal.Server.Managers;
using AzureIoTHub.Portal.Server.Mappers;
using AzureIoTHub.Portal.Shared.Models;
using AzureIoTHub.Portal.Shared.Models.Device;
using AzureIoTHub.Portal.Server.Extensions;
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Shared;
using Moq;
using NUnit.Framework;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Microsoft.Azure.Devices;
using Moq;
using NUnit.Framework;
using System;
using System.Linq;
using System.Threading.Tasks;

Expand Down
1 change: 0 additions & 1 deletion src/AzureIoTHub.Portal/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace AzureIoTHub.Portal.Client

using AzureIoTHub.Portal.Shared.Settings;
using Blazored.Modal;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using MudBlazor.Services;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Controllers
{
using System;
using System.Threading.Tasks;
using Azure.Data.Tables;
using AzureIoTHub.Portal.Server.Factories;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ namespace AzureIoTHub.Portal.Server.Controllers
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AzureIoTHub.Portal.Server.Helpers;
using AzureIoTHub.Portal.Server.Managers;
using AzureIoTHub.Portal.Server.Mappers;
using AzureIoTHub.Portal.Server.Services;
using AzureIoTHub.Portal.Shared.Models.Concentrator;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Common.Exceptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ namespace AzureIoTHub.Portal.Server.Controllers
using AzureIoTHub.Portal.Shared.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Devices;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;

[ApiController]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace AzureIoTHub.Portal.Server.Controllers
using AzureIoTHub.Portal.Shared.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;

[ApiController]
[Route("api/[controller]")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ namespace AzureIoTHub.Portal.Server.Controllers
using System.Threading.Tasks;
using Azure.Data.Tables;
using AzureIoTHub.Portal.Server.Factories;
using AzureIoTHub.Portal.Server.Helpers;
using AzureIoTHub.Portal.Server.Managers;
using AzureIoTHub.Portal.Server.Mappers;
using AzureIoTHub.Portal.Server.Services;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ namespace AzureIoTHub.Portal.Server.Controllers
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Common.Exceptions;
using Microsoft.Azure.Devices.Provisioning.Service;
using Microsoft.Azure.Devices.Shared;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Controllers
{
using System;
using AzureIoTHub.Portal.Server.Identity;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Factories
{
using System.Threading.Tasks;
using Azure.Data.Tables;

public class TableClientFactory : ITableClientFactory
Expand Down
1 change: 0 additions & 1 deletion src/AzureIoTHub.Portal/Server/Interfaces/IConfigs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ namespace AzureIoTHub.Portal.Server.Interfaces
{
using System.Collections.Generic;
using System.Threading.Tasks;
using AzureIoTHub.Portal.Shared.Models;
using Microsoft.Azure.Devices;

public interface IConfigs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Managers
{
using System;
using System.Collections.Generic;
using Azure.Data.Tables;
using AzureIoTHub.Portal.Server.Factories;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Managers
{
using System;
using System.IO;
using System.Net.Http;
using System.Reflection;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace AzureIoTHub.Portal.Server.Managers
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Provisioning.Service;
using Microsoft.Azure.Devices.Shared;
using Microsoft.Extensions.Configuration;
using static AzureIoTHub.Portal.Server.Startup;

public class DeviceProvisioningServiceManager : IDeviceProvisioningServiceManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Managers
{
using System;
using System.IO;
using System.Threading.Tasks;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@

namespace AzureIoTHub.Portal.Server.Mappers
{
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using AzureIoTHub.Portal.Server.Helpers;
using AzureIoTHub.Portal.Shared.Models.Concentrator;
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Shared;
using Microsoft.Extensions.Configuration;
using Newtonsoft.Json.Linq;
using static AzureIoTHub.Portal.Server.Startup;

public class ConcentratorTwinMapper : IConcentratorTwinMapper
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AzureIoTHub.Portal.Server.Mappers
{
using System.Threading.Tasks;
using AzureIoTHub.Portal.Shared.Models.Concentrator;
using Microsoft.Azure.Devices.Shared;

Expand Down
1 change: 0 additions & 1 deletion src/AzureIoTHub.Portal/Server/Services/ConfigsServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace AzureIoTHub.Portal.Server.Services
using System.Collections.Generic;
using System.Threading.Tasks;
using AzureIoTHub.Portal.Server.Interfaces;
using AzureIoTHub.Portal.Shared.Models;
using Microsoft.Azure.Devices;

public class ConfigsServices : IConfigs
Expand Down
2 changes: 0 additions & 2 deletions src/AzureIoTHub.Portal/Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ namespace AzureIoTHub.Portal.Server
using System.Threading.Tasks;
using Azure.Storage.Blobs;
using AzureIoTHub.Portal.Server.Factories;
using AzureIoTHub.Portal.Server.Filters;
using AzureIoTHub.Portal.Server.Identity;
using AzureIoTHub.Portal.Server.Managers;
using AzureIoTHub.Portal.Server.Mappers;
using AzureIoTHub.Portal.Server.Services;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
Expand Down
6 changes: 0 additions & 6 deletions src/AzureIoTHub.Portal/Shared/Models/C2Dresult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class C2Dresult
{
public string Payload { get; set; }
Expand Down
6 changes: 0 additions & 6 deletions src/AzureIoTHub.Portal/Shared/Models/Concentrator/Channel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

namespace AzureIoTHub.Portal.Shared.Models.Concentrator
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class Channel
{
public bool? Enable { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@

namespace AzureIoTHub.Portal.Shared.Models.Concentrator
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class Concentrator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

namespace AzureIoTHub.Portal.Shared.Models.Concentrator
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class RouterConfig
{
Expand Down
4 changes: 0 additions & 4 deletions src/AzureIoTHub.Portal/Shared/Models/ConfigItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class ConfigItem
{
Expand Down
4 changes: 0 additions & 4 deletions src/AzureIoTHub.Portal/Shared/Models/Gateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@

namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class Gateway
{
Expand Down
6 changes: 0 additions & 6 deletions src/AzureIoTHub.Portal/Shared/Models/GatewayListItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class GatewayListItem
{
public string DeviceId { get; set; }
Expand Down
4 changes: 0 additions & 4 deletions src/AzureIoTHub.Portal/Shared/Models/GatewayModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@

namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class GatewayModule
{
Expand Down
6 changes: 0 additions & 6 deletions src/AzureIoTHub.Portal/Shared/Models/RequestPayload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@

namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

class RequestPayload
{
}
Expand Down
7 changes: 0 additions & 7 deletions src/AzureIoTHub.Portal/Shared/Models/SearchModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@

namespace AzureIoTHub.Portal.Shared.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

public class SearchModel
{
public string DeviceId { get; set; }
Expand Down

0 comments on commit f1abb16

Please sign in to comment.