diff --git a/Disco.Client/ErrorReporting.cs b/Disco.Client/ErrorReporting.cs index 738ed849..c18eb604 100644 --- a/Disco.Client/ErrorReporting.cs +++ b/Disco.Client/ErrorReporting.cs @@ -1,11 +1,8 @@ using System; -using System.Collections.Generic; using System.Diagnostics; using System.IO; -using System.Linq; using System.Net; using System.Reflection; -using System.Text; using Disco.Client.Extensions; using Newtonsoft.Json; diff --git a/Disco.Client/Extensions/WhoAmIExtensions.cs b/Disco.Client/Extensions/WhoAmIExtensions.cs index 66547623..9e2d2aa6 100644 --- a/Disco.Client/Extensions/WhoAmIExtensions.cs +++ b/Disco.Client/Extensions/WhoAmIExtensions.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Text; using Disco.Models.ClientServices; namespace Disco.Client.Extensions diff --git a/Disco.Client/Interop/Native/NetworkConnectionStatuses.cs b/Disco.Client/Interop/Native/NetworkConnectionStatuses.cs index e07bda77..1a2e0ddf 100644 --- a/Disco.Client/Interop/Native/NetworkConnectionStatuses.cs +++ b/Disco.Client/Interop/Native/NetworkConnectionStatuses.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Client.Interop.Native +namespace Disco.Client.Interop.Native { public enum NetworkConnectionStatuses : ushort { diff --git a/Disco.Client/Presentation.cs b/Disco.Client/Presentation.cs index 40211d37..c0ddc7e4 100644 --- a/Disco.Client/Presentation.cs +++ b/Disco.Client/Presentation.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; using System.Text; using System.Threading; diff --git a/Disco.Client/Program.cs b/Disco.Client/Program.cs index a45386ec..8cf2e98e 100644 --- a/Disco.Client/Program.cs +++ b/Disco.Client/Program.cs @@ -1,9 +1,6 @@ using System; -using System.Collections.Generic; using System.Linq; using System.Net; -using System.Text; -using System.Threading.Tasks; using Disco.Models.ClientServices; using Disco.Client.Extensions; diff --git a/Disco.ClientBootstrapper/FormStatus.cs b/Disco.ClientBootstrapper/FormStatus.cs index c7bdc964..ecc91f78 100644 --- a/Disco.ClientBootstrapper/FormStatus.cs +++ b/Disco.ClientBootstrapper/FormStatus.cs @@ -1,10 +1,4 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; using System.Windows.Forms; namespace Disco.ClientBootstrapper diff --git a/Disco.ClientBootstrapper/IStatus.cs b/Disco.ClientBootstrapper/IStatus.cs index 706dc301..6d680fbd 100644 --- a/Disco.ClientBootstrapper/IStatus.cs +++ b/Disco.ClientBootstrapper/IStatus.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace Disco.ClientBootstrapper { diff --git a/Disco.ClientBootstrapper/Interop/CertificateInterop.cs b/Disco.ClientBootstrapper/Interop/CertificateInterop.cs index ce4bcecc..6986eb7f 100644 --- a/Disco.ClientBootstrapper/Interop/CertificateInterop.cs +++ b/Disco.ClientBootstrapper/Interop/CertificateInterop.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; using System.IO; diff --git a/Disco.ClientBootstrapper/Interop/NetworkAdapter.cs b/Disco.ClientBootstrapper/Interop/NetworkAdapter.cs index b4cdc187..ccbf53b0 100644 --- a/Disco.ClientBootstrapper/Interop/NetworkAdapter.cs +++ b/Disco.ClientBootstrapper/Interop/NetworkAdapter.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Management; using System.Runtime.InteropServices; diff --git a/Disco.ClientBootstrapper/Interop/NetworkInterop.cs b/Disco.ClientBootstrapper/Interop/NetworkInterop.cs index c22fc811..297ca536 100644 --- a/Disco.ClientBootstrapper/Interop/NetworkInterop.cs +++ b/Disco.ClientBootstrapper/Interop/NetworkInterop.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Net.NetworkInformation; using System.Management; using System.Runtime.InteropServices; diff --git a/Disco.ClientBootstrapper/Interop/RegistryInterop.cs b/Disco.ClientBootstrapper/Interop/RegistryInterop.cs index 32cf0348..98e1f151 100644 --- a/Disco.ClientBootstrapper/Interop/RegistryInterop.cs +++ b/Disco.ClientBootstrapper/Interop/RegistryInterop.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Runtime.InteropServices; namespace Disco.ClientBootstrapper.Interop diff --git a/Disco.ClientBootstrapper/Interop/ShutdownInterop.cs b/Disco.ClientBootstrapper/Interop/ShutdownInterop.cs index 80db7c25..4ecd2092 100644 --- a/Disco.ClientBootstrapper/Interop/ShutdownInterop.cs +++ b/Disco.ClientBootstrapper/Interop/ShutdownInterop.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Management; using System.Runtime.InteropServices; namespace Disco.ClientBootstrapper.Interop diff --git a/Disco.ClientBootstrapper/Interop/WIMInterop.cs b/Disco.ClientBootstrapper/Interop/WIMInterop.cs index f39fa3fd..e68cb9a9 100644 --- a/Disco.ClientBootstrapper/Interop/WIMInterop.cs +++ b/Disco.ClientBootstrapper/Interop/WIMInterop.cs @@ -4,7 +4,6 @@ using System.Globalization; using System.IO; using System.Runtime.InteropServices; using System.Text; -using System.Xml; namespace Disco.ClientBootstrapper.Interop.WIMInterop { diff --git a/Disco.ClientBootstrapper/NullStatus.cs b/Disco.ClientBootstrapper/NullStatus.cs index d31ffc19..254b1a26 100644 --- a/Disco.ClientBootstrapper/NullStatus.cs +++ b/Disco.ClientBootstrapper/NullStatus.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.ClientBootstrapper +namespace Disco.ClientBootstrapper { class NullStatus : IStatus { diff --git a/Disco.Data/Configuration/Modules/JobPreferencesConfiguration.cs b/Disco.Data/Configuration/Modules/JobPreferencesConfiguration.cs index ad74595a..2661e826 100644 --- a/Disco.Data/Configuration/Modules/JobPreferencesConfiguration.cs +++ b/Disco.Data/Configuration/Modules/JobPreferencesConfiguration.cs @@ -1,5 +1,4 @@ using Disco.Data.Repository; -using Disco.Models.Services.Devices.Exporting; using Disco.Models.Services.Jobs; using Disco.Models.Services.Jobs.Exporting; using System; diff --git a/Disco.Data/Migrations/Configuration.cs b/Disco.Data/Migrations/Configuration.cs index 25c0b270..abfb3d61 100644 --- a/Disco.Data/Migrations/Configuration.cs +++ b/Disco.Data/Migrations/Configuration.cs @@ -1,9 +1,6 @@ namespace Disco.Data.Migrations { - using System; - using System.Data.Entity; using System.Data.Entity.Migrations; - using System.Linq; using Disco.Data.Repository; internal sealed class Configuration : DbMigrationsConfiguration diff --git a/Disco.Data/Migrations/DiscoDataMigrator.cs b/Disco.Data/Migrations/DiscoDataMigrator.cs index 5b9dae75..741f3700 100644 --- a/Disco.Data/Migrations/DiscoDataMigrator.cs +++ b/Disco.Data/Migrations/DiscoDataMigrator.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using Disco.Data.Repository; diff --git a/Disco.Data/Repository/DiscoDatabaseConnectionFactory.cs b/Disco.Data/Repository/DiscoDatabaseConnectionFactory.cs index a401bbcd..47d575e9 100644 --- a/Disco.Data/Repository/DiscoDatabaseConnectionFactory.cs +++ b/Disco.Data/Repository/DiscoDatabaseConnectionFactory.cs @@ -1,12 +1,8 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Data.Entity.Infrastructure; using Microsoft.Win32; using System.Data.Common; using System.Security; -using System.Security.Permissions; namespace Disco.Data.Repository { diff --git a/Disco.Data/Repository/Monitor/RepositoryMonitor.cs b/Disco.Data/Repository/Monitor/RepositoryMonitor.cs index 57a494cf..726e35a8 100644 --- a/Disco.Data/Repository/Monitor/RepositoryMonitor.cs +++ b/Disco.Data/Repository/Monitor/RepositoryMonitor.cs @@ -1,9 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Reactive; using System.Reactive.Subjects; using System.Data.Entity.Infrastructure; using System.Collections.Concurrent; diff --git a/Disco.Data/Repository/Monitor/RepositoryMonitorEvent.cs b/Disco.Data/Repository/Monitor/RepositoryMonitorEvent.cs index 36e89136..1be8d49b 100644 --- a/Disco.Data/Repository/Monitor/RepositoryMonitorEvent.cs +++ b/Disco.Data/Repository/Monitor/RepositoryMonitorEvent.cs @@ -3,9 +3,6 @@ using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure; using System.Data.Objects; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Data.Repository.Monitor { diff --git a/Disco.Data/Repository/Monitor/RepositoryMonitorEventType.cs b/Disco.Data/Repository/Monitor/RepositoryMonitorEventType.cs index 68e7aa10..f2f18dec 100644 --- a/Disco.Data/Repository/Monitor/RepositoryMonitorEventType.cs +++ b/Disco.Data/Repository/Monitor/RepositoryMonitorEventType.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Data.Repository.Monitor +namespace Disco.Data.Repository.Monitor { public enum RepositoryMonitorEventType { diff --git a/Disco.Models/ClientServices/EnrolmentInformation/WirelessProfile.cs b/Disco.Models/ClientServices/EnrolmentInformation/WirelessProfile.cs index d7b6c4a5..5952da62 100644 --- a/Disco.Models/ClientServices/EnrolmentInformation/WirelessProfile.cs +++ b/Disco.Models/ClientServices/EnrolmentInformation/WirelessProfile.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; namespace Disco.Models.ClientServices.EnrolmentInformation { diff --git a/Disco.Models/ClientServices/MacEnrol.cs b/Disco.Models/ClientServices/MacEnrol.cs index 8c3cd05f..b6a3281d 100644 --- a/Disco.Models/ClientServices/MacEnrol.cs +++ b/Disco.Models/ClientServices/MacEnrol.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Models.ClientServices +namespace Disco.Models.ClientServices { public class MacEnrol : ServiceBase { diff --git a/Disco.Models/ClientServices/MacEnrolResponse.cs b/Disco.Models/ClientServices/MacEnrolResponse.cs index 3aaf8bed..d6bff405 100644 --- a/Disco.Models/ClientServices/MacEnrolResponse.cs +++ b/Disco.Models/ClientServices/MacEnrolResponse.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Models.ClientServices +namespace Disco.Models.ClientServices { public class MacEnrolResponse { diff --git a/Disco.Models/ClientServices/MacSecureEnrolResponse.cs b/Disco.Models/ClientServices/MacSecureEnrolResponse.cs index 5c7bf649..a48cf714 100644 --- a/Disco.Models/ClientServices/MacSecureEnrolResponse.cs +++ b/Disco.Models/ClientServices/MacSecureEnrolResponse.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Models.ClientServices +namespace Disco.Models.ClientServices { public class MacSecureEnrolResponse { diff --git a/Disco.Models/ClientServices/ServiceBase.cs b/Disco.Models/ClientServices/ServiceBase.cs index 875ff63a..ed84be5c 100644 --- a/Disco.Models/ClientServices/ServiceBase.cs +++ b/Disco.Models/ClientServices/ServiceBase.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Models.ClientServices +namespace Disco.Models.ClientServices { public abstract class ServiceBase { diff --git a/Disco.Models/ClientServices/WhoAmI.cs b/Disco.Models/ClientServices/WhoAmI.cs index e563c322..bd5c6b4d 100644 --- a/Disco.Models/ClientServices/WhoAmI.cs +++ b/Disco.Models/ClientServices/WhoAmI.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Models.ClientServices +namespace Disco.Models.ClientServices { public class WhoAmI : ServiceBase { diff --git a/Disco.Models/ClientServices/WhoAmIResponse.cs b/Disco.Models/ClientServices/WhoAmIResponse.cs index 108b6487..ff1f9221 100644 --- a/Disco.Models/ClientServices/WhoAmIResponse.cs +++ b/Disco.Models/ClientServices/WhoAmIResponse.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Disco.Models.ClientServices +namespace Disco.Models.ClientServices { public class WhoAmIResponse { diff --git a/Disco.Models/Repository/ConfigurationItem.cs b/Disco.Models/Repository/ConfigurationItem.cs index 2c29ef26..afd72daf 100644 --- a/Disco.Models/Repository/ConfigurationItem.cs +++ b/Disco.Models/Repository/ConfigurationItem.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Disco.Models.Repository diff --git a/Disco.Models/Repository/Device/Device.cs b/Disco.Models/Repository/Device/Device.cs index f4ce4d23..691680c9 100644 --- a/Disco.Models/Repository/Device/Device.cs +++ b/Disco.Models/Repository/Device/Device.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Device/DeviceBatch.cs b/Disco.Models/Repository/Device/DeviceBatch.cs index 4617a50c..83a57f4a 100644 --- a/Disco.Models/Repository/Device/DeviceBatch.cs +++ b/Disco.Models/Repository/Device/DeviceBatch.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Device/DeviceCertificate.cs b/Disco.Models/Repository/Device/DeviceCertificate.cs index 92c1b034..b4322941 100644 --- a/Disco.Models/Repository/Device/DeviceCertificate.cs +++ b/Disco.Models/Repository/Device/DeviceCertificate.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Device/DeviceComponent.cs b/Disco.Models/Repository/Device/DeviceComponent.cs index c2f3df92..4022f551 100644 --- a/Disco.Models/Repository/Device/DeviceComponent.cs +++ b/Disco.Models/Repository/Device/DeviceComponent.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Device/DeviceModel.cs b/Disco.Models/Repository/Device/DeviceModel.cs index cc99b734..d428d380 100644 --- a/Disco.Models/Repository/Device/DeviceModel.cs +++ b/Disco.Models/Repository/Device/DeviceModel.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; namespace Disco.Models.Repository diff --git a/Disco.Models/Repository/Device/DeviceProfile.cs b/Disco.Models/Repository/Device/DeviceProfile.cs index c50b25e1..6146a1b0 100644 --- a/Disco.Models/Repository/Device/DeviceProfile.cs +++ b/Disco.Models/Repository/Device/DeviceProfile.cs @@ -1,11 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.ComponentModel; -using System.Linq.Expressions; namespace Disco.Models.Repository { diff --git a/Disco.Models/Repository/Job/JobComponent.cs b/Disco.Models/Repository/Job/JobComponent.cs index 57977376..aa614f38 100644 --- a/Disco.Models/Repository/Job/JobComponent.cs +++ b/Disco.Models/Repository/Job/JobComponent.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Disco.Models.Repository diff --git a/Disco.Models/Repository/Job/JobLog.cs b/Disco.Models/Repository/Job/JobLog.cs index 6ebe4778..c677aa51 100644 --- a/Disco.Models/Repository/Job/JobLog.cs +++ b/Disco.Models/Repository/Job/JobLog.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Job/JobMeta/JobMetaNonWarranty.cs b/Disco.Models/Repository/Job/JobMeta/JobMetaNonWarranty.cs index ad78c922..79d333e0 100644 --- a/Disco.Models/Repository/Job/JobMeta/JobMetaNonWarranty.cs +++ b/Disco.Models/Repository/Job/JobMeta/JobMetaNonWarranty.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Job/JobMeta/JobMetaWarranty.cs b/Disco.Models/Repository/Job/JobMeta/JobMetaWarranty.cs index 267e8308..1393da1e 100644 --- a/Disco.Models/Repository/Job/JobMeta/JobMetaWarranty.cs +++ b/Disco.Models/Repository/Job/JobMeta/JobMetaWarranty.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Job/JobSubType.cs b/Disco.Models/Repository/Job/JobSubType.cs index 8fd0aad4..80dc137a 100644 --- a/Disco.Models/Repository/Job/JobSubType.cs +++ b/Disco.Models/Repository/Job/JobSubType.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/Job/JobType.cs b/Disco.Models/Repository/Job/JobType.cs index febef3af..62e0d18d 100644 --- a/Disco.Models/Repository/Job/JobType.cs +++ b/Disco.Models/Repository/Job/JobType.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Disco.Models.Repository diff --git a/Disco.Models/Repository/Job/Queue/JobQueue.cs b/Disco.Models/Repository/Job/Queue/JobQueue.cs index 79dc24fe..c5d188f0 100644 --- a/Disco.Models/Repository/Job/Queue/JobQueue.cs +++ b/Disco.Models/Repository/Job/Queue/JobQueue.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Repository { diff --git a/Disco.Models/Repository/Job/Queue/JobQueueJob.cs b/Disco.Models/Repository/Job/Queue/JobQueueJob.cs index c574a70b..05269388 100644 --- a/Disco.Models/Repository/Job/Queue/JobQueueJob.cs +++ b/Disco.Models/Repository/Job/Queue/JobQueueJob.cs @@ -1,10 +1,6 @@ using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Repository { diff --git a/Disco.Models/Repository/Job/Queue/JobQueuePriority.cs b/Disco.Models/Repository/Job/Queue/JobQueuePriority.cs index db4e17ff..b49469fc 100644 --- a/Disco.Models/Repository/Job/Queue/JobQueuePriority.cs +++ b/Disco.Models/Repository/Job/Queue/JobQueuePriority.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.Repository +namespace Disco.Models.Repository { public enum JobQueuePriority : byte { diff --git a/Disco.Models/Repository/User/AuthorizationRole.cs b/Disco.Models/Repository/User/AuthorizationRole.cs index 9ced2ca0..68439cbb 100644 --- a/Disco.Models/Repository/User/AuthorizationRole.cs +++ b/Disco.Models/Repository/User/AuthorizationRole.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.ComponentModel.DataAnnotations; namespace Disco.Models.Repository { diff --git a/Disco.Models/Repository/User/User.cs b/Disco.Models/Repository/User/User.cs index fadbf285..9780e4e2 100644 --- a/Disco.Models/Repository/User/User.cs +++ b/Disco.Models/Repository/User/User.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; diff --git a/Disco.Models/Repository/User/UserDetail.cs b/Disco.Models/Repository/User/UserDetail.cs index 0768c212..66384d4c 100644 --- a/Disco.Models/Repository/User/UserDetail.cs +++ b/Disco.Models/Repository/User/UserDetail.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Disco.Models.Repository diff --git a/Disco.Models/Services/Devices/Importing/IDeviceImportDataReader.cs b/Disco.Models/Services/Devices/Importing/IDeviceImportDataReader.cs index 070d824b..d7263c80 100644 --- a/Disco.Models/Services/Devices/Importing/IDeviceImportDataReader.cs +++ b/Disco.Models/Services/Devices/Importing/IDeviceImportDataReader.cs @@ -1,8 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Services.Devices.Importing { diff --git a/Disco.Models/Services/Devices/Importing/IDeviceImportRecord.cs b/Disco.Models/Services/Devices/Importing/IDeviceImportRecord.cs index 0af19d32..1b191ecb 100644 --- a/Disco.Models/Services/Devices/Importing/IDeviceImportRecord.cs +++ b/Disco.Models/Services/Devices/Importing/IDeviceImportRecord.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Services.Devices.Importing { diff --git a/Disco.Models/Services/Jobs/Exporting/JobExportRecord.cs b/Disco.Models/Services/Jobs/Exporting/JobExportRecord.cs index 2b7be9a8..9df3186f 100644 --- a/Disco.Models/Services/Jobs/Exporting/JobExportRecord.cs +++ b/Disco.Models/Services/Jobs/Exporting/JobExportRecord.cs @@ -1,6 +1,5 @@ using Disco.Models.Exporting; using Disco.Models.Repository; -using Disco.Models.Services.Jobs.JobLists; using System; using System.Collections.Generic; diff --git a/Disco.Models/Services/Jobs/JobLists/JobLocationReference.cs b/Disco.Models/Services/Jobs/JobLists/JobLocationReference.cs index 1ec1de0d..e31686d0 100644 --- a/Disco.Models/Services/Jobs/JobLists/JobLocationReference.cs +++ b/Disco.Models/Services/Jobs/JobLists/JobLocationReference.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.Services.Jobs.JobLists { diff --git a/Disco.Models/Services/Jobs/Noticeboards/IHeldDeviceItem.cs b/Disco.Models/Services/Jobs/Noticeboards/IHeldDeviceItem.cs index eb43fc8f..a329371a 100644 --- a/Disco.Models/Services/Jobs/Noticeboards/IHeldDeviceItem.cs +++ b/Disco.Models/Services/Jobs/Noticeboards/IHeldDeviceItem.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Services.Jobs.Noticeboards { diff --git a/Disco.Models/Services/Searching/DeviceSearchResultItem.cs b/Disco.Models/Services/Searching/DeviceSearchResultItem.cs index 6816f635..9914487e 100644 --- a/Disco.Models/Services/Searching/DeviceSearchResultItem.cs +++ b/Disco.Models/Services/Searching/DeviceSearchResultItem.cs @@ -1,9 +1,6 @@ using Disco.Models.Repository; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Services.Searching { diff --git a/Disco.Models/Services/Searching/ISearchResultItem.cs b/Disco.Models/Services/Searching/ISearchResultItem.cs index 41e5127b..3b73fbc6 100644 --- a/Disco.Models/Services/Searching/ISearchResultItem.cs +++ b/Disco.Models/Services/Searching/ISearchResultItem.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.Services.Searching +namespace Disco.Models.Services.Searching { public interface ISearchResultItem { diff --git a/Disco.Models/Services/Searching/JobSearchResultItem.cs b/Disco.Models/Services/Searching/JobSearchResultItem.cs index 16ad600c..c3e96a80 100644 --- a/Disco.Models/Services/Searching/JobSearchResultItem.cs +++ b/Disco.Models/Services/Searching/JobSearchResultItem.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Services.Searching { diff --git a/Disco.Models/Services/Searching/UserSearchResultItem.cs b/Disco.Models/Services/Searching/UserSearchResultItem.cs index 9290c6a6..f2722c00 100644 --- a/Disco.Models/Services/Searching/UserSearchResultItem.cs +++ b/Disco.Models/Services/Searching/UserSearchResultItem.cs @@ -1,9 +1,6 @@ using Disco.Models.Repository; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.Services.Searching { diff --git a/Disco.Models/UI/BaseUIModel.cs b/Disco.Models/UI/BaseUIModel.cs index 693910e3..e0d93f52 100644 --- a/Disco.Models/UI/BaseUIModel.cs +++ b/Disco.Models/UI/BaseUIModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI +namespace Disco.Models.UI { public interface BaseUIModel { diff --git a/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleCreateModel.cs b/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleCreateModel.cs index a73a6a11..aeecc3a0 100644 --- a/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleCreateModel.cs +++ b/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleCreateModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.AuthorizationRole +namespace Disco.Models.UI.Config.AuthorizationRole { public interface ConfigAuthorizationRoleCreateModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleIndexModel.cs b/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleIndexModel.cs index 74a96805..ab72fc66 100644 --- a/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleIndexModel.cs +++ b/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleIndexModel.cs @@ -1,9 +1,5 @@ using Disco.Models.Services.Authorization; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.UI.Config.AuthorizationRole { diff --git a/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleShowModel.cs b/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleShowModel.cs index 6d00a7b8..90f598a8 100644 --- a/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleShowModel.cs +++ b/Disco.Models/UI/Config/AuthorizationRole/ConfigAuthorizationRoleShowModel.cs @@ -1,9 +1,4 @@ using Disco.Models.Services.Authorization; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.UI.Config.AuthorizationRole { diff --git a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchCreateModel.cs b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchCreateModel.cs index 8b4e552e..14088226 100644 --- a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchCreateModel.cs +++ b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchCreateModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.DeviceBatch +namespace Disco.Models.UI.Config.DeviceBatch { public interface ConfigDeviceBatchCreateModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModel.cs b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModel.cs index 46eb2bf6..7d409eba 100644 --- a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModel.cs +++ b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DeviceBatch { diff --git a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModelItem.cs b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModelItem.cs index fa976a7f..246d975e 100644 --- a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModelItem.cs +++ b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchIndexModelItem.cs @@ -1,9 +1,5 @@ using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.UI.Config.DeviceBatch { diff --git a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchShowModelMembership.cs b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchShowModelMembership.cs index 843acda7..dc84820c 100644 --- a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchShowModelMembership.cs +++ b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchShowModelMembership.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.DeviceBatch +namespace Disco.Models.UI.Config.DeviceBatch { public interface ConfigDeviceBatchShowModelMembership : BaseUIModel { diff --git a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchTimelineModel.cs b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchTimelineModel.cs index 7ff3546c..adfad4bd 100644 --- a/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchTimelineModel.cs +++ b/Disco.Models/UI/Config/DeviceBatch/ConfigDeviceBatchTimelineModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.DeviceBatch +namespace Disco.Models.UI.Config.DeviceBatch { public interface ConfigDeviceBatchTimelineModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelComponentsModel.cs b/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelComponentsModel.cs index 0b38d068..23c16741 100644 --- a/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelComponentsModel.cs +++ b/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelComponentsModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DeviceModel { diff --git a/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModel.cs b/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModel.cs index 69f8df00..9a4fe88c 100644 --- a/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModel.cs +++ b/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DeviceModel { diff --git a/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModelItem.cs b/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModelItem.cs index 234ffa86..2659ac43 100644 --- a/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModelItem.cs +++ b/Disco.Models/UI/Config/DeviceModel/ConfigDeviceModelIndexModelItem.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.DeviceModel +namespace Disco.Models.UI.Config.DeviceModel { public interface ConfigDeviceModelIndexModelItem { diff --git a/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileCreateModel.cs b/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileCreateModel.cs index 05288a39..cafd5979 100644 --- a/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileCreateModel.cs +++ b/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileCreateModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.DeviceProfile +namespace Disco.Models.UI.Config.DeviceProfile { public interface ConfigDeviceProfileCreateModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileDefaultsModel.cs b/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileDefaultsModel.cs index 1677c425..8597b000 100644 --- a/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileDefaultsModel.cs +++ b/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileDefaultsModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DeviceProfile { diff --git a/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileIndexModel.cs b/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileIndexModel.cs index d7a9be59..c49a80e1 100644 --- a/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileIndexModel.cs +++ b/Disco.Models/UI/Config/DeviceProfile/ConfigDeviceProfileIndexModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DeviceProfile { diff --git a/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateExpressionBrowserModel.cs b/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateExpressionBrowserModel.cs index 77586212..d5ab0748 100644 --- a/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateExpressionBrowserModel.cs +++ b/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateExpressionBrowserModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DocumentTemplate { diff --git a/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateImportStatusModel.cs b/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateImportStatusModel.cs index fe9dd509..26c183b2 100644 --- a/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateImportStatusModel.cs +++ b/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateImportStatusModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.DocumentTemplate +namespace Disco.Models.UI.Config.DocumentTemplate { public interface ConfigDocumentTemplateImportStatusModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateUndetectedPagesModel.cs b/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateUndetectedPagesModel.cs index c21d83e5..afe946c1 100644 --- a/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateUndetectedPagesModel.cs +++ b/Disco.Models/UI/Config/DocumentTemplate/ConfigDocumentTemplateUndetectedPagesModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Config.DocumentTemplate { diff --git a/Disco.Models/UI/Config/Enrolment/ConfigEnrolmentStatusModel.cs b/Disco.Models/UI/Config/Enrolment/ConfigEnrolmentStatusModel.cs index 82e50dbc..fc79d730 100644 --- a/Disco.Models/UI/Config/Enrolment/ConfigEnrolmentStatusModel.cs +++ b/Disco.Models/UI/Config/Enrolment/ConfigEnrolmentStatusModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.Enrolment +namespace Disco.Models.UI.Config.Enrolment { public interface ConfigEnrolmentStatusModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/JobQueue/ConfigJobQueueCreateModel.cs b/Disco.Models/UI/Config/JobQueue/ConfigJobQueueCreateModel.cs index 473ed2ba..ba3c8d4e 100644 --- a/Disco.Models/UI/Config/JobQueue/ConfigJobQueueCreateModel.cs +++ b/Disco.Models/UI/Config/JobQueue/ConfigJobQueueCreateModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.JobQueue +namespace Disco.Models.UI.Config.JobQueue { public interface ConfigJobQueueCreateModel : BaseUIModel { diff --git a/Disco.Models/UI/Config/JobQueue/ConfigJobQueueIndexModel.cs b/Disco.Models/UI/Config/JobQueue/ConfigJobQueueIndexModel.cs index 087c4579..cd65cdad 100644 --- a/Disco.Models/UI/Config/JobQueue/ConfigJobQueueIndexModel.cs +++ b/Disco.Models/UI/Config/JobQueue/ConfigJobQueueIndexModel.cs @@ -1,9 +1,5 @@ using Disco.Models.Services.Jobs.JobQueues; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Disco.Models.UI.Config.JobQueue { diff --git a/Disco.Models/UI/Config/Logging/ConfigLoggingIndexModel.cs b/Disco.Models/UI/Config/Logging/ConfigLoggingIndexModel.cs index f33ce7e0..5670bbae 100644 --- a/Disco.Models/UI/Config/Logging/ConfigLoggingIndexModel.cs +++ b/Disco.Models/UI/Config/Logging/ConfigLoggingIndexModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Config.Logging +namespace Disco.Models.UI.Config.Logging { public interface ConfigLoggingIndexModel : BaseUIModel { diff --git a/Disco.Models/UI/Device/DeviceAddOfflineModel.cs b/Disco.Models/UI/Device/DeviceAddOfflineModel.cs index 28500092..c43de63e 100644 --- a/Disco.Models/UI/Device/DeviceAddOfflineModel.cs +++ b/Disco.Models/UI/Device/DeviceAddOfflineModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Device { diff --git a/Disco.Models/UI/Device/DeviceImportModel.cs b/Disco.Models/UI/Device/DeviceImportModel.cs index fcd5a4cc..d92103b7 100644 --- a/Disco.Models/UI/Device/DeviceImportModel.cs +++ b/Disco.Models/UI/Device/DeviceImportModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Device +namespace Disco.Models.UI.Device { public interface DeviceImportModel : BaseUIModel { diff --git a/Disco.Models/UI/Device/DeviceIndexModel.cs b/Disco.Models/UI/Device/DeviceIndexModel.cs index 4277e555..38ac68ee 100644 --- a/Disco.Models/UI/Device/DeviceIndexModel.cs +++ b/Disco.Models/UI/Device/DeviceIndexModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.Device +namespace Disco.Models.UI.Device { public interface DeviceIndexModel : BaseUIModel { diff --git a/Disco.Models/UI/Job/JobCreateModel.cs b/Disco.Models/UI/Job/JobCreateModel.cs index 3513e343..cbedc49a 100644 --- a/Disco.Models/UI/Job/JobCreateModel.cs +++ b/Disco.Models/UI/Job/JobCreateModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace Disco.Models.UI.Job { diff --git a/Disco.Models/UI/User/UserIndexModel.cs b/Disco.Models/UI/User/UserIndexModel.cs index ae2f0733..9c980820 100644 --- a/Disco.Models/UI/User/UserIndexModel.cs +++ b/Disco.Models/UI/User/UserIndexModel.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Disco.Models.UI.User +namespace Disco.Models.UI.User { public interface UserIndexModel : BaseUIModel { diff --git a/Disco.Services/Devices/Exporting/DeviceExport.cs b/Disco.Services/Devices/Exporting/DeviceExport.cs index c66ea7d9..b4e3c80e 100644 --- a/Disco.Services/Devices/Exporting/DeviceExport.cs +++ b/Disco.Services/Devices/Exporting/DeviceExport.cs @@ -11,7 +11,6 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data; using System.Data.Entity; -using System.IO; using System.Linq; namespace Disco.Services.Devices.Exporting diff --git a/Disco.Services/Devices/Importing/Fields/DeviceDecommissionedDateImportField.cs b/Disco.Services/Devices/Importing/Fields/DeviceDecommissionedDateImportField.cs index 8cd547cd..e1a17df4 100644 --- a/Disco.Services/Devices/Importing/Fields/DeviceDecommissionedDateImportField.cs +++ b/Disco.Services/Devices/Importing/Fields/DeviceDecommissionedDateImportField.cs @@ -6,7 +6,6 @@ using Disco.Services.Logging; using System; using System.Collections.Generic; using System.Data; -using System.Data.Entity; using System.Globalization; using System.Linq; diff --git a/Disco.Services/Documents/ManagedGroups/DocumentTemplateDevicesManagedGroup.cs b/Disco.Services/Documents/ManagedGroups/DocumentTemplateDevicesManagedGroup.cs index 9fed41b6..8b9116ad 100644 --- a/Disco.Services/Documents/ManagedGroups/DocumentTemplateDevicesManagedGroup.cs +++ b/Disco.Services/Documents/ManagedGroups/DocumentTemplateDevicesManagedGroup.cs @@ -1,9 +1,7 @@ using Disco.Data.Repository; using Disco.Data.Repository.Monitor; using Disco.Models.Repository; -using Disco.Models.Services.Documents; using Disco.Models.Services.Interop.ActiveDirectory; -using Disco.Services.Expressions; using Disco.Services.Interop.ActiveDirectory; using System; using System.Collections.Generic; diff --git a/Disco.Services/Documents/ManagedGroups/DocumentTemplateUsersManagedGroup.cs b/Disco.Services/Documents/ManagedGroups/DocumentTemplateUsersManagedGroup.cs index c780bb62..a54417ca 100644 --- a/Disco.Services/Documents/ManagedGroups/DocumentTemplateUsersManagedGroup.cs +++ b/Disco.Services/Documents/ManagedGroups/DocumentTemplateUsersManagedGroup.cs @@ -1,9 +1,7 @@ using Disco.Data.Repository; using Disco.Data.Repository.Monitor; using Disco.Models.Repository; -using Disco.Models.Services.Documents; using Disco.Models.Services.Interop.ActiveDirectory; -using Disco.Services.Expressions; using Disco.Services.Interop.ActiveDirectory; using System; using System.Collections.Generic; diff --git a/Disco.Services/Extensions/EnumerableExtensions.cs b/Disco.Services/Extensions/EnumerableExtensions.cs index 7f6448e0..b817c865 100644 --- a/Disco.Services/Extensions/EnumerableExtensions.cs +++ b/Disco.Services/Extensions/EnumerableExtensions.cs @@ -1,6 +1,5 @@ using System.Collections; using System.Collections.Generic; -using System.Linq; namespace Disco { diff --git a/Disco.Services/Interop/ActiveDirectory/ADMachineAccount.cs b/Disco.Services/Interop/ActiveDirectory/ADMachineAccount.cs index 940494f0..5b05aedf 100644 --- a/Disco.Services/Interop/ActiveDirectory/ADMachineAccount.cs +++ b/Disco.Services/Interop/ActiveDirectory/ADMachineAccount.cs @@ -1,7 +1,6 @@ using Disco.Models.Repository; using System; using System.Collections.Generic; -using System.DirectoryServices; using System.Linq; using System.Security.Principal; using System.Text; diff --git a/Disco.Services/Interop/ActiveDirectory/ActiveDirectoryExtensions.cs b/Disco.Services/Interop/ActiveDirectory/ActiveDirectoryExtensions.cs index cd0ba636..dd5c438a 100644 --- a/Disco.Services/Interop/ActiveDirectory/ActiveDirectoryExtensions.cs +++ b/Disco.Services/Interop/ActiveDirectory/ActiveDirectoryExtensions.cs @@ -1,14 +1,11 @@ using Disco.Models.Repository; using Disco.Services.Interop.ActiveDirectory; -using DocumentFormat.OpenXml.Vml.Office; using System; using System.Collections.Generic; using System.DirectoryServices; using System.DirectoryServices.ActiveDirectory; -using System.IO; using System.Linq; using System.Net.NetworkInformation; -using ZXing; namespace Disco.Services { diff --git a/Disco.Services/Plugins/Plugins.cs b/Disco.Services/Plugins/Plugins.cs index bbbd98ec..e3b77209 100644 --- a/Disco.Services/Plugins/Plugins.cs +++ b/Disco.Services/Plugins/Plugins.cs @@ -3,7 +3,6 @@ using Disco.Models.Services.Interop.DiscoServices; using Disco.Services.Interop.DiscoServices; using System; using System.Collections.Generic; -using System.Configuration.Assemblies; using System.IO; using System.IO.Compression; using System.Linq; diff --git a/Disco.Services/Users/Contact/UserContactService.cs b/Disco.Services/Users/Contact/UserContactService.cs index 8aa054fd..a1a33de0 100644 --- a/Disco.Services/Users/Contact/UserContactService.cs +++ b/Disco.Services/Users/Contact/UserContactService.cs @@ -4,7 +4,6 @@ using Disco.Models.Services.Users.Contact; using Disco.Services.Plugins.Features.DetailsProvider; using System.Collections.Generic; using System.Linq; -using ZXing; namespace Disco.Services.Users.Contact { diff --git a/Disco.Web.Extensions/BIModelExtensions/OrganisationAddressExtensions.cs b/Disco.Web.Extensions/BIModelExtensions/OrganisationAddressExtensions.cs index 77a0d8fc..67e44e06 100644 --- a/Disco.Web.Extensions/BIModelExtensions/OrganisationAddressExtensions.cs +++ b/Disco.Web.Extensions/BIModelExtensions/OrganisationAddressExtensions.cs @@ -1,9 +1,8 @@ -using System; +using Disco.Models.BI.Config; +using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Web.Mvc; -using Disco.Models.BI.Config; namespace Disco.Web.Extensions { diff --git a/Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs b/Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs index 7228f208..4e3c7fc0 100644 --- a/Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs +++ b/Disco.Web.Extensions/BIModelExtensions/PluginExtensions.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Web.Mvc; using Disco.Services.Plugins; diff --git a/Disco.Web.Extensions/BIModelExtensions/UtilityExtensions.cs b/Disco.Web.Extensions/BIModelExtensions/UtilityExtensions.cs index 999ce918..b459b464 100644 --- a/Disco.Web.Extensions/BIModelExtensions/UtilityExtensions.cs +++ b/Disco.Web.Extensions/BIModelExtensions/UtilityExtensions.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace Disco.Web.Extensions { diff --git a/Disco.Web.Extensions/DataModelExtension/DeviceBatchExtensions.cs b/Disco.Web.Extensions/DataModelExtension/DeviceBatchExtensions.cs index ff9853e5..25c1d23e 100644 --- a/Disco.Web.Extensions/DataModelExtension/DeviceBatchExtensions.cs +++ b/Disco.Web.Extensions/DataModelExtension/DeviceBatchExtensions.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; using System.Web.Mvc; using Disco.Models.Repository; diff --git a/Disco.Web.Extensions/DataModelExtension/DeviceModelExtensions.cs b/Disco.Web.Extensions/DataModelExtension/DeviceModelExtensions.cs index ea38546c..26f6dda7 100644 --- a/Disco.Web.Extensions/DataModelExtension/DeviceModelExtensions.cs +++ b/Disco.Web.Extensions/DataModelExtension/DeviceModelExtensions.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; using System.Web.Mvc; using Disco.Models.Repository; diff --git a/Disco.Web.Extensions/DataModelExtension/DeviceProfileExtensions.cs b/Disco.Web.Extensions/DataModelExtension/DeviceProfileExtensions.cs index 5560f412..ccffb83c 100644 --- a/Disco.Web.Extensions/DataModelExtension/DeviceProfileExtensions.cs +++ b/Disco.Web.Extensions/DataModelExtension/DeviceProfileExtensions.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; using System.Web.Mvc; using Disco.Models.Repository; diff --git a/Disco.Web.Extensions/DataModelExtension/JobSubTypeExtensions.cs b/Disco.Web.Extensions/DataModelExtension/JobSubTypeExtensions.cs index a2be31d2..a8dbe937 100644 --- a/Disco.Web.Extensions/DataModelExtension/JobSubTypeExtensions.cs +++ b/Disco.Web.Extensions/DataModelExtension/JobSubTypeExtensions.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; using System.Web.Mvc; using Disco.Models.Repository; diff --git a/Disco.Web.Extensions/DataModelExtension/JobTypeExtensions.cs b/Disco.Web.Extensions/DataModelExtension/JobTypeExtensions.cs index 170ee3ab..847fd52e 100644 --- a/Disco.Web.Extensions/DataModelExtension/JobTypeExtensions.cs +++ b/Disco.Web.Extensions/DataModelExtension/JobTypeExtensions.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; using Disco.Models.Repository; using System.Web.Mvc; diff --git a/Disco.Web.Extensions/MvcExtensions/JsonNet/JsonNetResult.cs b/Disco.Web.Extensions/MvcExtensions/JsonNet/JsonNetResult.cs index 2f272405..8e58924a 100644 --- a/Disco.Web.Extensions/MvcExtensions/JsonNet/JsonNetResult.cs +++ b/Disco.Web.Extensions/MvcExtensions/JsonNet/JsonNetResult.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; using System.Text; using System.Web.Mvc; using Newtonsoft.Json; diff --git a/Disco.Web.Extensions/MvcExtensions/PartialCompiled/PartialCompiledHtmlExtensions.cs b/Disco.Web.Extensions/MvcExtensions/PartialCompiled/PartialCompiledHtmlExtensions.cs index 9393a436..1368749d 100644 --- a/Disco.Web.Extensions/MvcExtensions/PartialCompiled/PartialCompiledHtmlExtensions.cs +++ b/Disco.Web.Extensions/MvcExtensions/PartialCompiled/PartialCompiledHtmlExtensions.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Web.Mvc; using System.Web; using System.Web.WebPages; diff --git a/Disco.Web.Extensions/MvcExtensions/XmlResult.cs b/Disco.Web.Extensions/MvcExtensions/XmlResult.cs index 3b6d53a2..b046ac31 100644 --- a/Disco.Web.Extensions/MvcExtensions/XmlResult.cs +++ b/Disco.Web.Extensions/MvcExtensions/XmlResult.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Mvc; +using System.Web.Mvc; using System.Xml.Serialization; namespace Disco.Web.Extensions diff --git a/Disco.Web/App_Start/RazorGeneratorMvcStart.cs b/Disco.Web/App_Start/RazorGeneratorMvcStart.cs index e259ccc1..301ba032 100644 --- a/Disco.Web/App_Start/RazorGeneratorMvcStart.cs +++ b/Disco.Web/App_Start/RazorGeneratorMvcStart.cs @@ -1,4 +1,3 @@ -using System.Web; using System.Web.Mvc; using System.Web.WebPages; using RazorGenerator.Mvc; diff --git a/Disco.Web/App_Start/WebApiConfig.cs b/Disco.Web/App_Start/WebApiConfig.cs index 2dbd4abd..7f09d1cd 100644 --- a/Disco.Web/App_Start/WebApiConfig.cs +++ b/Disco.Web/App_Start/WebApiConfig.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web.Http; +using System.Web.Http; namespace Disco.Web { diff --git a/Disco.Web/Areas/API/APIAreaRegistration.cs b/Disco.Web/Areas/API/APIAreaRegistration.cs index 8eacdc6d..2d1943be 100644 --- a/Disco.Web/Areas/API/APIAreaRegistration.cs +++ b/Disco.Web/Areas/API/APIAreaRegistration.cs @@ -1,6 +1,4 @@ using System.Web.Mvc; -using System.Web.Routing; -using Microsoft.AspNet.SignalR; namespace Disco.Web.Areas.API { diff --git a/Disco.Web/Areas/API/Controllers/DeviceBatchController.cs b/Disco.Web/Areas/API/Controllers/DeviceBatchController.cs index f2c04b16..69e11499 100644 --- a/Disco.Web/Areas/API/Controllers/DeviceBatchController.cs +++ b/Disco.Web/Areas/API/Controllers/DeviceBatchController.cs @@ -1,7 +1,6 @@ using Disco.Models.Repository; using Disco.Services; using Disco.Services.Authorization; -using Disco.Services.Devices; using Disco.Services.Devices.ManagedGroups; using Disco.Services.Interop; using Disco.Services.Interop.ActiveDirectory; diff --git a/Disco.Web/Areas/API/Controllers/DeviceController.cs b/Disco.Web/Areas/API/Controllers/DeviceController.cs index 2ed350be..717acbaf 100644 --- a/Disco.Web/Areas/API/Controllers/DeviceController.cs +++ b/Disco.Web/Areas/API/Controllers/DeviceController.cs @@ -1,14 +1,11 @@ -using Disco.BI.Extensions; -using Disco.Models.Repository; +using Disco.Models.Repository; using Disco.Models.Services.Devices.Exporting; using Disco.Models.Services.Devices.Importing; -using Disco.Models.Services.Documents; using System.Data.Entity; using Disco.Services; using Disco.Services.Authorization; using Disco.Services.Devices.Exporting; using Disco.Services.Devices.Importing; -using Disco.Services.Documents; using Disco.Services.Exporting; using Disco.Services.Interop; using Disco.Services.Interop.ActiveDirectory; @@ -18,7 +15,6 @@ using Disco.Web.Extensions; using Disco.Web.Models.Device; using System; using System.Collections.Generic; -using System.IO; using System.Linq; using System.Web; using System.Web.Caching; diff --git a/Disco.Web/Areas/API/Controllers/DocumentTemplatePackageController.cs b/Disco.Web/Areas/API/Controllers/DocumentTemplatePackageController.cs index 5e4c99a8..2b0728f1 100644 --- a/Disco.Web/Areas/API/Controllers/DocumentTemplatePackageController.cs +++ b/Disco.Web/Areas/API/Controllers/DocumentTemplatePackageController.cs @@ -8,10 +8,8 @@ using Disco.Services.Users; using Disco.Services.Web; using System; using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; -using System.Web; using System.Web.Mvc; namespace Disco.Web.Areas.API.Controllers diff --git a/Disco.Web/Areas/API/Controllers/SearchController.cs b/Disco.Web/Areas/API/Controllers/SearchController.cs index 9aa98693..51ebd0b9 100644 --- a/Disco.Web/Areas/API/Controllers/SearchController.cs +++ b/Disco.Web/Areas/API/Controllers/SearchController.cs @@ -6,7 +6,6 @@ using Disco.Services.Web; using System; using System.Collections.Generic; using System.Linq; -using System.Web; using System.Web.Mvc; namespace Disco.Web.Areas.API.Controllers diff --git a/Disco.Web/Areas/API/Models/Attachment/AttachmentModel.cs b/Disco.Web/Areas/API/Models/Attachment/AttachmentModel.cs index e1b41f4e..fa4ddbf1 100644 --- a/Disco.Web/Areas/API/Models/Attachment/AttachmentModel.cs +++ b/Disco.Web/Areas/API/Models/Attachment/AttachmentModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.Attachment +namespace Disco.Web.Areas.API.Models.Attachment { public class AttachmentModel { diff --git a/Disco.Web/Areas/API/Models/Attachment/AttachmentsModel.cs b/Disco.Web/Areas/API/Models/Attachment/AttachmentsModel.cs index b9081261..d14cc320 100644 --- a/Disco.Web/Areas/API/Models/Attachment/AttachmentsModel.cs +++ b/Disco.Web/Areas/API/Models/Attachment/AttachmentsModel.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using System.Collections.Generic; namespace Disco.Web.Areas.API.Models.Attachment { diff --git a/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEvent.cs b/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEvent.cs index 64eab401..e648d49a 100644 --- a/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEvent.cs +++ b/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEvent.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.API.Models.DeviceBatch { diff --git a/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEventSource.cs b/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEventSource.cs index de403f9f..e2f19732 100644 --- a/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEventSource.cs +++ b/Disco.Web/Areas/API/Models/DeviceBatch/DeviceBatchTimelineEventSource.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.DeviceBatch +namespace Disco.Web.Areas.API.Models.DeviceBatch { public class DeviceBatchTimelineEventSource { diff --git a/Disco.Web/Areas/API/Models/DeviceModel/ComponentModel.cs b/Disco.Web/Areas/API/Models/DeviceModel/ComponentModel.cs index 705d057f..74eff9cc 100644 --- a/Disco.Web/Areas/API/Models/DeviceModel/ComponentModel.cs +++ b/Disco.Web/Areas/API/Models/DeviceModel/ComponentModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.DeviceModel +namespace Disco.Web.Areas.API.Models.DeviceModel { public class ComponentModel { diff --git a/Disco.Web/Areas/API/Models/DeviceModel/_ComponentModel.cs b/Disco.Web/Areas/API/Models/DeviceModel/_ComponentModel.cs index d009dbe6..7da95ee3 100644 --- a/Disco.Web/Areas/API/Models/DeviceModel/_ComponentModel.cs +++ b/Disco.Web/Areas/API/Models/DeviceModel/_ComponentModel.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Web; namespace Disco.Web.Areas.API.Models.DeviceModel { diff --git a/Disco.Web/Areas/API/Models/DeviceModel/_DeviceModel.cs b/Disco.Web/Areas/API/Models/DeviceModel/_DeviceModel.cs index 46fa9496..d292f19c 100644 --- a/Disco.Web/Areas/API/Models/DeviceModel/_DeviceModel.cs +++ b/Disco.Web/Areas/API/Models/DeviceModel/_DeviceModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.DeviceModel +namespace Disco.Web.Areas.API.Models.DeviceModel { public class _DeviceModel { diff --git a/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedDataIdLookupModel.cs b/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedDataIdLookupModel.cs index a3cd4210..f8708a81 100644 --- a/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedDataIdLookupModel.cs +++ b/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedDataIdLookupModel.cs @@ -1,9 +1,5 @@ using Disco.Models.Services.Jobs.JobLists; using Disco.Models.Services.Searching; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.API.Models.DocumentTemplate { diff --git a/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedFilesModel.cs b/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedFilesModel.cs index ef6c7670..740c6a74 100644 --- a/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedFilesModel.cs +++ b/Disco.Web/Areas/API/Models/DocumentTemplate/ImporterUndetectedFilesModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.DocumentTemplate +namespace Disco.Web.Areas.API.Models.DocumentTemplate { public class ImporterUndetectedFilesModel { diff --git a/Disco.Web/Areas/API/Models/Job/CommentPostModel.cs b/Disco.Web/Areas/API/Models/Job/CommentPostModel.cs index 2a8772d7..7ae71db7 100644 --- a/Disco.Web/Areas/API/Models/Job/CommentPostModel.cs +++ b/Disco.Web/Areas/API/Models/Job/CommentPostModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.Job +namespace Disco.Web.Areas.API.Models.Job { public class CommentPostModel { diff --git a/Disco.Web/Areas/API/Models/Job/CommentsModel.cs b/Disco.Web/Areas/API/Models/Job/CommentsModel.cs index a3d338ef..6d6650ee 100644 --- a/Disco.Web/Areas/API/Models/Job/CommentsModel.cs +++ b/Disco.Web/Areas/API/Models/Job/CommentsModel.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using System.Collections.Generic; namespace Disco.Web.Areas.API.Models.Job { diff --git a/Disco.Web/Areas/API/Models/Job/ComponentModel.cs b/Disco.Web/Areas/API/Models/Job/ComponentModel.cs index aadc3d6a..370a41d9 100644 --- a/Disco.Web/Areas/API/Models/Job/ComponentModel.cs +++ b/Disco.Web/Areas/API/Models/Job/ComponentModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.Job +namespace Disco.Web.Areas.API.Models.Job { public class ComponentModel { diff --git a/Disco.Web/Areas/API/Models/Job/DeviceHeldLocationModel.cs b/Disco.Web/Areas/API/Models/Job/DeviceHeldLocationModel.cs index 25e1503f..1041bfea 100644 --- a/Disco.Web/Areas/API/Models/Job/DeviceHeldLocationModel.cs +++ b/Disco.Web/Areas/API/Models/Job/DeviceHeldLocationModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.Job +namespace Disco.Web.Areas.API.Models.Job { public class DeviceHeldLocationModel { diff --git a/Disco.Web/Areas/API/Models/Job/_CommentModel.cs b/Disco.Web/Areas/API/Models/Job/_CommentModel.cs index deda0cf8..831a32a5 100644 --- a/Disco.Web/Areas/API/Models/Job/_CommentModel.cs +++ b/Disco.Web/Areas/API/Models/Job/_CommentModel.cs @@ -1,9 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Disco.BI; -using Disco.BI.Extensions; namespace Disco.Web.Areas.API.Models.Job { diff --git a/Disco.Web/Areas/API/Models/Job/_ComponentModel.cs b/Disco.Web/Areas/API/Models/Job/_ComponentModel.cs index a70fc744..c9940671 100644 --- a/Disco.Web/Areas/API/Models/Job/_ComponentModel.cs +++ b/Disco.Web/Areas/API/Models/Job/_ComponentModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.Job +namespace Disco.Web.Areas.API.Models.Job { public class _ComponentModel { diff --git a/Disco.Web/Areas/API/Models/Job/_DateChangeModel.cs b/Disco.Web/Areas/API/Models/Job/_DateChangeModel.cs index b91fb7c4..7b2fb714 100644 --- a/Disco.Web/Areas/API/Models/Job/_DateChangeModel.cs +++ b/Disco.Web/Areas/API/Models/Job/_DateChangeModel.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Disco.BI.Extensions; namespace Disco.Web.Areas.API.Models.Job { diff --git a/Disco.Web/Areas/API/Models/Logs/LogEventTypeModel.cs b/Disco.Web/Areas/API/Models/Logs/LogEventTypeModel.cs index ded522ff..c7ba40ca 100644 --- a/Disco.Web/Areas/API/Models/Logs/LogEventTypeModel.cs +++ b/Disco.Web/Areas/API/Models/Logs/LogEventTypeModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Disco.Services.Logging.Models; +using Disco.Services.Logging.Models; namespace Disco.Web.Areas.API.Models.Logs { diff --git a/Disco.Web/Areas/API/Models/Logs/LogModuleModel.cs b/Disco.Web/Areas/API/Models/Logs/LogModuleModel.cs index be5e196d..f396b37f 100644 --- a/Disco.Web/Areas/API/Models/Logs/LogModuleModel.cs +++ b/Disco.Web/Areas/API/Models/Logs/LogModuleModel.cs @@ -1,9 +1,6 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Web; using Disco.Services.Logging; -using System.Web.WebPages.Html; namespace Disco.Web.Areas.API.Models.Logs { diff --git a/Disco.Web/Areas/API/Models/Shared/SubjectDescriptorModel.cs b/Disco.Web/Areas/API/Models/Shared/SubjectDescriptorModel.cs index 4b672980..3699998b 100644 --- a/Disco.Web/Areas/API/Models/Shared/SubjectDescriptorModel.cs +++ b/Disco.Web/Areas/API/Models/Shared/SubjectDescriptorModel.cs @@ -1,8 +1,4 @@ using Disco.Services.Interop.ActiveDirectory; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.API.Models.Shared { diff --git a/Disco.Web/Areas/API/Models/System/UpdateLastNetworkLogonDatesModel.cs b/Disco.Web/Areas/API/Models/System/UpdateLastNetworkLogonDatesModel.cs index 9ed67926..1d6641ab 100644 --- a/Disco.Web/Areas/API/Models/System/UpdateLastNetworkLogonDatesModel.cs +++ b/Disco.Web/Areas/API/Models/System/UpdateLastNetworkLogonDatesModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.API.Models.System +namespace Disco.Web.Areas.API.Models.System { public class UpdateLastNetworkLogonDatesModel { diff --git a/Disco.Web/Areas/Config/Controllers/DeviceProfileController.cs b/Disco.Web/Areas/Config/Controllers/DeviceProfileController.cs index e9a80394..7e7aa5d1 100644 --- a/Disco.Web/Areas/Config/Controllers/DeviceProfileController.cs +++ b/Disco.Web/Areas/Config/Controllers/DeviceProfileController.cs @@ -12,7 +12,6 @@ using Disco.Services.Plugins.Features.WirelessProfileProvider; using Disco.Services.Web; using System; using System.Collections.Generic; -using System.DirectoryServices.ActiveDirectory; using System.Linq; using System.Web.Mvc; diff --git a/Disco.Web/Areas/Config/Controllers/JobQueueController.cs b/Disco.Web/Areas/Config/Controllers/JobQueueController.cs index 0334edd4..e6ad4504 100644 --- a/Disco.Web/Areas/Config/Controllers/JobQueueController.cs +++ b/Disco.Web/Areas/Config/Controllers/JobQueueController.cs @@ -11,7 +11,6 @@ using Disco.Web.Areas.API.Models.Shared; using System; using System.Collections.Generic; using System.Linq; -using System.Web; using System.Web.Mvc; namespace Disco.Web.Areas.Config.Controllers diff --git a/Disco.Web/Areas/Config/Controllers/UserFlagController.cs b/Disco.Web/Areas/Config/Controllers/UserFlagController.cs index eb261bfb..be499034 100644 --- a/Disco.Web/Areas/Config/Controllers/UserFlagController.cs +++ b/Disco.Web/Areas/Config/Controllers/UserFlagController.cs @@ -1,6 +1,5 @@ using Disco.Models.Areas.Config.UI.UserFlag; using Disco.Models.Repository; -using Disco.Models.Services.Devices.Exporting; using Disco.Models.Services.Users.UserFlags; using Disco.Models.UI.Config.UserFlag; using Disco.Services.Authorization; diff --git a/Disco.Web/Areas/Config/Models/AuthorizationRole/CreateModel.cs b/Disco.Web/Areas/Config/Models/AuthorizationRole/CreateModel.cs index b42d645a..917cedf6 100644 --- a/Disco.Web/Areas/Config/Models/AuthorizationRole/CreateModel.cs +++ b/Disco.Web/Areas/Config/Models/AuthorizationRole/CreateModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.AuthorizationRole; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.AuthorizationRole { diff --git a/Disco.Web/Areas/Config/Models/AuthorizationRole/IndexModel.cs b/Disco.Web/Areas/Config/Models/AuthorizationRole/IndexModel.cs index 5c882ba3..86cd3e58 100644 --- a/Disco.Web/Areas/Config/Models/AuthorizationRole/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/AuthorizationRole/IndexModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Disco.Data.Repository; +using System.Collections.Generic; using Disco.Models.UI.Config.AuthorizationRole; using Disco.Models.Services.Authorization; using Disco.Web.Areas.API.Models.Shared; diff --git a/Disco.Web/Areas/Config/Models/AuthorizationRole/ShowModel.cs b/Disco.Web/Areas/Config/Models/AuthorizationRole/ShowModel.cs index 63d13b25..11a14902 100644 --- a/Disco.Web/Areas/Config/Models/AuthorizationRole/ShowModel.cs +++ b/Disco.Web/Areas/Config/Models/AuthorizationRole/ShowModel.cs @@ -2,10 +2,7 @@ using Disco.Models.UI.Config.AuthorizationRole; using Disco.Web.Areas.API.Models.Shared; using Disco.Web.Models.Shared; -using System; using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.AuthorizationRole { diff --git a/Disco.Web/Areas/Config/Models/DeviceBatch/CreateModel.cs b/Disco.Web/Areas/Config/Models/DeviceBatch/CreateModel.cs index e70f9641..c869332a 100644 --- a/Disco.Web/Areas/Config/Models/DeviceBatch/CreateModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceBatch/CreateModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.DeviceBatch; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DeviceBatch { diff --git a/Disco.Web/Areas/Config/Models/DeviceBatch/IndexModel.cs b/Disco.Web/Areas/Config/Models/DeviceBatch/IndexModel.cs index 05c13b38..2d926f46 100644 --- a/Disco.Web/Areas/Config/Models/DeviceBatch/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceBatch/IndexModel.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Web; using Disco.Data.Repository; using Disco.Models.UI.Config.DeviceBatch; diff --git a/Disco.Web/Areas/Config/Models/DeviceBatch/TimelineModel.cs b/Disco.Web/Areas/Config/Models/DeviceBatch/TimelineModel.cs index b483d01c..377a1e4d 100644 --- a/Disco.Web/Areas/Config/Models/DeviceBatch/TimelineModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceBatch/TimelineModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.DeviceBatch; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DeviceBatch { diff --git a/Disco.Web/Areas/Config/Models/DeviceBatch/_IndexModelItem.cs b/Disco.Web/Areas/Config/Models/DeviceBatch/_IndexModelItem.cs index cb29a0f3..134d4ac0 100644 --- a/Disco.Web/Areas/Config/Models/DeviceBatch/_IndexModelItem.cs +++ b/Disco.Web/Areas/Config/Models/DeviceBatch/_IndexModelItem.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; using System.ComponentModel.DataAnnotations; using Disco.Models.UI.Config.DeviceBatch; diff --git a/Disco.Web/Areas/Config/Models/DeviceBatch/_ShowModelMembership.cs b/Disco.Web/Areas/Config/Models/DeviceBatch/_ShowModelMembership.cs index b9a4fdd3..0828c52b 100644 --- a/Disco.Web/Areas/Config/Models/DeviceBatch/_ShowModelMembership.cs +++ b/Disco.Web/Areas/Config/Models/DeviceBatch/_ShowModelMembership.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.DeviceBatch; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DeviceBatch { diff --git a/Disco.Web/Areas/Config/Models/DeviceModel/ComponentsModel.cs b/Disco.Web/Areas/Config/Models/DeviceModel/ComponentsModel.cs index 3cde2018..ee94ef3b 100644 --- a/Disco.Web/Areas/Config/Models/DeviceModel/ComponentsModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceModel/ComponentsModel.cs @@ -1,8 +1,5 @@ using Disco.Models.UI.Config.DeviceModel; -using System; using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DeviceModel { diff --git a/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs b/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs index 51c3fa6f..23607116 100644 --- a/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceModel/IndexModel.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Web; using Disco.Data.Repository; using Disco.Models.UI.Config.DeviceModel; diff --git a/Disco.Web/Areas/Config/Models/DeviceModel/_IndexModelItem.cs b/Disco.Web/Areas/Config/Models/DeviceModel/_IndexModelItem.cs index 7c79f144..85abbd6f 100644 --- a/Disco.Web/Areas/Config/Models/DeviceModel/_IndexModelItem.cs +++ b/Disco.Web/Areas/Config/Models/DeviceModel/_IndexModelItem.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.ComponentModel.DataAnnotations; -using Disco.Models.UI.Config.DeviceModel; +using Disco.Models.UI.Config.DeviceModel; namespace Disco.Web.Areas.Config.Models.DeviceModel { diff --git a/Disco.Web/Areas/Config/Models/DeviceProfile/CreateModel.cs b/Disco.Web/Areas/Config/Models/DeviceProfile/CreateModel.cs index 2cd89685..a4c7e363 100644 --- a/Disco.Web/Areas/Config/Models/DeviceProfile/CreateModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceProfile/CreateModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.DeviceProfile; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DeviceProfile { diff --git a/Disco.Web/Areas/Config/Models/DeviceProfile/DefaultsModel.cs b/Disco.Web/Areas/Config/Models/DeviceProfile/DefaultsModel.cs index 0608e66e..fd8bfe52 100644 --- a/Disco.Web/Areas/Config/Models/DeviceProfile/DefaultsModel.cs +++ b/Disco.Web/Areas/Config/Models/DeviceProfile/DefaultsModel.cs @@ -1,8 +1,5 @@ using Disco.Models.UI.Config.DeviceProfile; -using System; using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DeviceProfile { diff --git a/Disco.Web/Areas/Config/Models/DocumentTemplate/CreateModel.cs b/Disco.Web/Areas/Config/Models/DocumentTemplate/CreateModel.cs index cbfad092..1bb6e335 100644 --- a/Disco.Web/Areas/Config/Models/DocumentTemplate/CreateModel.cs +++ b/Disco.Web/Areas/Config/Models/DocumentTemplate/CreateModel.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; diff --git a/Disco.Web/Areas/Config/Models/DocumentTemplate/ExpressionBrowserModel.cs b/Disco.Web/Areas/Config/Models/DocumentTemplate/ExpressionBrowserModel.cs index 6b01bb72..2681a7d8 100644 --- a/Disco.Web/Areas/Config/Models/DocumentTemplate/ExpressionBrowserModel.cs +++ b/Disco.Web/Areas/Config/Models/DocumentTemplate/ExpressionBrowserModel.cs @@ -1,8 +1,5 @@ using Disco.Models.UI.Config.DocumentTemplate; -using System; using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DocumentTemplate { diff --git a/Disco.Web/Areas/Config/Models/DocumentTemplate/ImportStatusModel.cs b/Disco.Web/Areas/Config/Models/DocumentTemplate/ImportStatusModel.cs index bc176971..fd290a96 100644 --- a/Disco.Web/Areas/Config/Models/DocumentTemplate/ImportStatusModel.cs +++ b/Disco.Web/Areas/Config/Models/DocumentTemplate/ImportStatusModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.DocumentTemplate; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.DocumentTemplate { diff --git a/Disco.Web/Areas/Config/Models/Enrolment/StatusModel.cs b/Disco.Web/Areas/Config/Models/Enrolment/StatusModel.cs index 0aa033d3..4a5cdd43 100644 --- a/Disco.Web/Areas/Config/Models/Enrolment/StatusModel.cs +++ b/Disco.Web/Areas/Config/Models/Enrolment/StatusModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.Enrolment; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.Enrolment { diff --git a/Disco.Web/Areas/Config/Models/Expressions/EditorModel.cs b/Disco.Web/Areas/Config/Models/Expressions/EditorModel.cs index 8563c2ca..2612fde1 100644 --- a/Disco.Web/Areas/Config/Models/Expressions/EditorModel.cs +++ b/Disco.Web/Areas/Config/Models/Expressions/EditorModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.Config.Models.Expressions +namespace Disco.Web.Areas.Config.Models.Expressions { public class EditorModel { diff --git a/Disco.Web/Areas/Config/Models/JobQueue/CreateModel.cs b/Disco.Web/Areas/Config/Models/JobQueue/CreateModel.cs index f79e73cd..ea1bb1d4 100644 --- a/Disco.Web/Areas/Config/Models/JobQueue/CreateModel.cs +++ b/Disco.Web/Areas/Config/Models/JobQueue/CreateModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.JobQueue; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.JobQueue { diff --git a/Disco.Web/Areas/Config/Models/JobQueue/IndexModel.cs b/Disco.Web/Areas/Config/Models/JobQueue/IndexModel.cs index e34510fc..2947ec20 100644 --- a/Disco.Web/Areas/Config/Models/JobQueue/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/JobQueue/IndexModel.cs @@ -1,9 +1,6 @@ using Disco.Models.Services.Jobs.JobQueues; using Disco.Models.UI.Config.JobQueue; -using System; using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.JobQueue { diff --git a/Disco.Web/Areas/Config/Models/Logging/IndexModel.cs b/Disco.Web/Areas/Config/Models/Logging/IndexModel.cs index 4d0d0516..887d0e02 100644 --- a/Disco.Web/Areas/Config/Models/Logging/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/Logging/IndexModel.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using System.Collections.Generic; using Disco.Services.Logging; using Disco.Services.Logging.Models; using Disco.Models.UI.Config.Logging; diff --git a/Disco.Web/Areas/Config/Models/Organisation/IndexModel.cs b/Disco.Web/Areas/Config/Models/Organisation/IndexModel.cs index 2fa10315..7ebfc3ff 100644 --- a/Disco.Web/Areas/Config/Models/Organisation/IndexModel.cs +++ b/Disco.Web/Areas/Config/Models/Organisation/IndexModel.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using System.Collections.Generic; using Disco.Models.BI.Config; using System.ComponentModel.DataAnnotations; using Disco.Models.UI.Config.Organisation; diff --git a/Disco.Web/Areas/Config/Models/Shared/LogEventsModel.cs b/Disco.Web/Areas/Config/Models/Shared/LogEventsModel.cs index ad0cc18e..b73aaf1f 100644 --- a/Disco.Web/Areas/Config/Models/Shared/LogEventsModel.cs +++ b/Disco.Web/Areas/Config/Models/Shared/LogEventsModel.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.Shared { diff --git a/Disco.Web/Areas/Config/Models/Shared/TaskStatusModel.cs b/Disco.Web/Areas/Config/Models/Shared/TaskStatusModel.cs index f87bad44..d2312633 100644 --- a/Disco.Web/Areas/Config/Models/Shared/TaskStatusModel.cs +++ b/Disco.Web/Areas/Config/Models/Shared/TaskStatusModel.cs @@ -1,8 +1,4 @@ using Disco.Models.UI.Config.Shared; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Areas.Config.Models.Shared { diff --git a/Disco.Web/Areas/Public/Controllers/PublicController.cs b/Disco.Web/Areas/Public/Controllers/PublicController.cs index 67d98d27..7ea6dc37 100644 --- a/Disco.Web/Areas/Public/Controllers/PublicController.cs +++ b/Disco.Web/Areas/Public/Controllers/PublicController.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Mvc; +using System.Web.Mvc; namespace Disco.Web.Areas.Public.Controllers { diff --git a/Disco.Web/Areas/Public/Models/UserHeldDevices/UserHeldDeviceModel.cs b/Disco.Web/Areas/Public/Models/UserHeldDevices/UserHeldDeviceModel.cs index 35aa2de3..06456819 100644 --- a/Disco.Web/Areas/Public/Models/UserHeldDevices/UserHeldDeviceModel.cs +++ b/Disco.Web/Areas/Public/Models/UserHeldDevices/UserHeldDeviceModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Areas.Public.Models.UserHeldDevices +namespace Disco.Web.Areas.Public.Models.UserHeldDevices { public class UserHeldDeviceModel { diff --git a/Disco.Web/Areas/Public/PublicAreaRegistration.cs b/Disco.Web/Areas/Public/PublicAreaRegistration.cs index 55f9ac7c..a793a7f2 100644 --- a/Disco.Web/Areas/Public/PublicAreaRegistration.cs +++ b/Disco.Web/Areas/Public/PublicAreaRegistration.cs @@ -1,6 +1,4 @@ using System.Web.Mvc; -using System.Web.Routing; -using Microsoft.AspNet.SignalR; namespace Disco.Web.Areas.Public { diff --git a/Disco.Web/ClientSource/Style/Images/AttachmentTypes/MimeTypeIcons.cs b/Disco.Web/ClientSource/Style/Images/AttachmentTypes/MimeTypeIcons.cs index 5444d057..db140175 100644 --- a/Disco.Web/ClientSource/Style/Images/AttachmentTypes/MimeTypeIcons.cs +++ b/Disco.Web/ClientSource/Style/Images/AttachmentTypes/MimeTypeIcons.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.ClientSource.Style.Images.AttachmentTypes { diff --git a/Disco.Web/Controllers/PluginWebHandlerController.cs b/Disco.Web/Controllers/PluginWebHandlerController.cs index c46065cc..f5d21d2f 100644 --- a/Disco.Web/Controllers/PluginWebHandlerController.cs +++ b/Disco.Web/Controllers/PluginWebHandlerController.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.IO; -using System.Linq; -using System.Web; using System.Web.Mvc; using Disco.Services.Plugins; using Disco.Services.Authorization; diff --git a/Disco.Web/Global.asax.cs b/Disco.Web/Global.asax.cs index 54def877..a1f1a7dc 100644 --- a/Disco.Web/Global.asax.cs +++ b/Disco.Web/Global.asax.cs @@ -3,7 +3,6 @@ using Disco.Services.Interop.DiscoServices; using Disco.Services.Web; using System; using System.Configuration; -using System.Diagnostics; using System.Net; using System.Web.Http; using System.Web.Mvc; diff --git a/Disco.Web/Models/Device/AddOfflineModel.cs b/Disco.Web/Models/Device/AddOfflineModel.cs index e2571411..be0e1150 100644 --- a/Disco.Web/Models/Device/AddOfflineModel.cs +++ b/Disco.Web/Models/Device/AddOfflineModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.ComponentModel.DataAnnotations; -using System.Web.Mvc; +using System.Collections.Generic; using Disco.Models.UI.Device; namespace Disco.Web.Models.Device diff --git a/Disco.Web/Models/Device/IndexModel.cs b/Disco.Web/Models/Device/IndexModel.cs index 50692114..74e02f2e 100644 --- a/Disco.Web/Models/Device/IndexModel.cs +++ b/Disco.Web/Models/Device/IndexModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Disco.Models.UI.Device; +using Disco.Models.UI.Device; namespace Disco.Web.Models.Device { diff --git a/Disco.Web/Models/InitialConfig/AdministratorsModel.cs b/Disco.Web/Models/InitialConfig/AdministratorsModel.cs index 35509157..1c999d76 100644 --- a/Disco.Web/Models/InitialConfig/AdministratorsModel.cs +++ b/Disco.Web/Models/InitialConfig/AdministratorsModel.cs @@ -1,5 +1,4 @@ using Disco.Web.Areas.API.Models.Shared; -using Disco.Web.Areas.Config.Models.AuthorizationRole; using System.Collections.Generic; namespace Disco.Web.Models.InitialConfig diff --git a/Disco.Web/Models/InitialConfig/CompleteModel.cs b/Disco.Web/Models/InitialConfig/CompleteModel.cs index 94d80f1b..63e6d3ce 100644 --- a/Disco.Web/Models/InitialConfig/CompleteModel.cs +++ b/Disco.Web/Models/InitialConfig/CompleteModel.cs @@ -1,9 +1,5 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; using System.Net; -using System.IO; namespace Disco.Web.Models.InitialConfig { diff --git a/Disco.Web/Models/InitialConfig/DatabaseModel.cs b/Disco.Web/Models/InitialConfig/DatabaseModel.cs index b3dad804..b2f3e8f3 100644 --- a/Disco.Web/Models/InitialConfig/DatabaseModel.cs +++ b/Disco.Web/Models/InitialConfig/DatabaseModel.cs @@ -2,8 +2,6 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data.SqlClient; -using System.Linq; -using System.Web; using System.Web.Mvc; namespace Disco.Web.Models.InitialConfig diff --git a/Disco.Web/Models/InitialConfig/FileStoreModel.cs b/Disco.Web/Models/InitialConfig/FileStoreModel.cs index 155f6f86..7da6574d 100644 --- a/Disco.Web/Models/InitialConfig/FileStoreModel.cs +++ b/Disco.Web/Models/InitialConfig/FileStoreModel.cs @@ -1,13 +1,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Diagnostics; using System.IO; -using System.Linq; -using System.Security; -using System.Security.Permissions; -using System.Security.Principal; -using System.Web; namespace Disco.Web.Models.InitialConfig { diff --git a/Disco.Web/Models/Job/CreateRedirectModel.cs b/Disco.Web/Models/Job/CreateRedirectModel.cs index 026e6f13..252786d1 100644 --- a/Disco.Web/Models/Job/CreateRedirectModel.cs +++ b/Disco.Web/Models/Job/CreateRedirectModel.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Mvc; namespace Disco.Web.Models.Job { diff --git a/Disco.Web/Models/Job/ProviderJobDetailsModel.cs b/Disco.Web/Models/Job/ProviderJobDetailsModel.cs index 33e4d66a..31f8bd92 100644 --- a/Disco.Web/Models/Job/ProviderJobDetailsModel.cs +++ b/Disco.Web/Models/Job/ProviderJobDetailsModel.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; namespace Disco.Web.Models.Job { diff --git a/Disco.Web/Models/Shared/FancyTreeNode.cs b/Disco.Web/Models/Shared/FancyTreeNode.cs index fdea5d31..896e9984 100644 --- a/Disco.Web/Models/Shared/FancyTreeNode.cs +++ b/Disco.Web/Models/Shared/FancyTreeNode.cs @@ -1,8 +1,5 @@ using Disco.Models.Services.Authorization; -using System; -using System.Collections.Generic; using System.Linq; -using System.Web; namespace Disco.Web.Models.Shared { diff --git a/Disco.Web/Models/Update/IndexModel.cs b/Disco.Web/Models/Update/IndexModel.cs index 66492697..6c4698f5 100644 --- a/Disco.Web/Models/Update/IndexModel.cs +++ b/Disco.Web/Models/Update/IndexModel.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace Disco.Web.Models.Update +namespace Disco.Web.Models.Update { public class IndexModel { diff --git a/Disco.Web/Models/User/IndexModel.cs b/Disco.Web/Models/User/IndexModel.cs index 0b878158..8d327866 100644 --- a/Disco.Web/Models/User/IndexModel.cs +++ b/Disco.Web/Models/User/IndexModel.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Disco.Models.UI.User; +using Disco.Models.UI.User; namespace Disco.Web.Models.User { diff --git a/Resources/Libraries/DotNetZip/Source/BZip2/BZip2Compressor.cs b/Resources/Libraries/DotNetZip/Source/BZip2/BZip2Compressor.cs index b09b16b2..bd87dddc 100644 --- a/Resources/Libraries/DotNetZip/Source/BZip2/BZip2Compressor.cs +++ b/Resources/Libraries/DotNetZip/Source/BZip2/BZip2Compressor.cs @@ -85,7 +85,6 @@ // using System; -using System.IO; // flymake: csc.exe /t:module BZip2InputStream.cs BZip2OutputStream.cs Rand.cs BCRC32.cs @@FILE@@ diff --git a/Resources/Libraries/DotNetZip/Source/BZip2/BitWriter.cs b/Resources/Libraries/DotNetZip/Source/BZip2/BitWriter.cs index b739f021..9788edd0 100644 --- a/Resources/Libraries/DotNetZip/Source/BZip2/BitWriter.cs +++ b/Resources/Libraries/DotNetZip/Source/BZip2/BitWriter.cs @@ -80,7 +80,6 @@ // -using System; using System.IO; namespace Ionic.BZip2 diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ComHelper.cs b/Resources/Libraries/DotNetZip/Source/Zip/ComHelper.cs index 385cef27..6fb836bb 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ComHelper.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ComHelper.cs @@ -24,8 +24,6 @@ // Created: Tue, 08 Sep 2009 22:03 // -using Interop=System.Runtime.InteropServices; - namespace Ionic.Zip { /// diff --git a/Resources/Libraries/DotNetZip/Source/Zip/Events.cs b/Resources/Libraries/DotNetZip/Source/Zip/Events.cs index e51ff78f..2cee9cc9 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/Events.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/Events.cs @@ -24,8 +24,6 @@ // using System; -using System.Collections.Generic; -using System.Text; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/Exceptions.cs b/Resources/Libraries/DotNetZip/Source/Zip/Exceptions.cs index 9f67077e..f3ae36b6 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/Exceptions.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/Exceptions.cs @@ -25,8 +25,6 @@ using System; -using System.Collections.Generic; -using System.Text; #if !NETCF using System.Runtime.Serialization; #endif diff --git a/Resources/Libraries/DotNetZip/Source/Zip/WinZipAes.cs b/Resources/Libraries/DotNetZip/Source/Zip/WinZipAes.cs index a316b91b..376f02f1 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/WinZipAes.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/WinZipAes.cs @@ -28,11 +28,6 @@ // // ------------------------------------------------------------------ -using System; -using System.IO; -using System.Collections.Generic; -using System.Security.Cryptography; - #if AESCRYPTO namespace Ionic.Zip { @@ -310,7 +305,7 @@ namespace Ionic.Zip } #endif - #endregion +#endregion diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipEntry.Write.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipEntry.Write.cs index b4e87f6e..99c3448d 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipEntry.Write.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipEntry.Write.cs @@ -28,7 +28,6 @@ using System; using System.IO; -using RE = System.Text.RegularExpressions; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.AddUpdate.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.AddUpdate.cs index db4bb967..370b6ed8 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.AddUpdate.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.AddUpdate.cs @@ -28,7 +28,6 @@ using System; using System.IO; -using System.Collections.Generic; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Check.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Check.cs index b8307d50..239c658d 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Check.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Check.cs @@ -29,7 +29,6 @@ using System; using System.IO; -using System.Collections.Generic; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Events.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Events.cs index 110ee6d1..6e6711a6 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Events.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Events.cs @@ -25,7 +25,6 @@ // using System; -using System.IO; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Extract.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Extract.cs index 531c0f3a..9a551933 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Extract.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipFile.Extract.cs @@ -27,7 +27,6 @@ using System; using System.IO; -using System.Collections.Generic; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipInputStream.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipInputStream.cs index 25622f6c..177fa847 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipInputStream.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipInputStream.cs @@ -30,12 +30,9 @@ // using System; -using System.Threading; -using System.Collections.Generic; using System.IO; -using Ionic.Zip; -namespace Ionic.Zip +namespace Ionic.Zip { /// /// Provides a stream metaphor for reading zip files. diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipOutputStream.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipOutputStream.cs index 71f7633e..dc99b9fd 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipOutputStream.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipOutputStream.cs @@ -46,7 +46,6 @@ using System; using System.Threading; using System.Collections.Generic; using System.IO; -using Ionic.Zip; namespace Ionic.Zip { diff --git a/Resources/Libraries/DotNetZip/Source/Zip/ZipSegmentedStream.cs b/Resources/Libraries/DotNetZip/Source/Zip/ZipSegmentedStream.cs index 7fe4f116..7f321525 100644 --- a/Resources/Libraries/DotNetZip/Source/Zip/ZipSegmentedStream.cs +++ b/Resources/Libraries/DotNetZip/Source/Zip/ZipSegmentedStream.cs @@ -25,7 +25,6 @@ using System; -using System.Collections.Generic; using System.IO; namespace Ionic.Zip diff --git a/Resources/Libraries/DotNetZip/Source/Zlib/ParallelDeflateOutputStream.cs b/Resources/Libraries/DotNetZip/Source/Zlib/ParallelDeflateOutputStream.cs index f7514159..77295418 100644 --- a/Resources/Libraries/DotNetZip/Source/Zlib/ParallelDeflateOutputStream.cs +++ b/Resources/Libraries/DotNetZip/Source/Zlib/ParallelDeflateOutputStream.cs @@ -27,7 +27,6 @@ using System; using System.Collections.Generic; using System.Threading; -using Ionic.Zlib; using System.IO; diff --git a/Resources/Libraries/DotNetZip/Source/Zlib/Tree.cs b/Resources/Libraries/DotNetZip/Source/Zlib/Tree.cs index 1db8c4f4..dac52606 100644 --- a/Resources/Libraries/DotNetZip/Source/Zlib/Tree.cs +++ b/Resources/Libraries/DotNetZip/Source/Zlib/Tree.cs @@ -60,9 +60,6 @@ // // ----------------------------------------------------------------------- - -using System; - namespace Ionic.Zlib { sealed class Tree diff --git a/Resources/Libraries/DotNetZip/Source/Zlib/Zlib.cs b/Resources/Libraries/DotNetZip/Source/Zlib/Zlib.cs index dcfe7252..45fca2c8 100644 --- a/Resources/Libraries/DotNetZip/Source/Zlib/Zlib.cs +++ b/Resources/Libraries/DotNetZip/Source/Zlib/Zlib.cs @@ -88,8 +88,7 @@ -using System; -using Interop=System.Runtime.InteropServices; +using Interop = System.Runtime.InteropServices; namespace Ionic.Zlib { diff --git a/Resources/Libraries/DotNetZip/Source/Zlib/ZlibConstants.cs b/Resources/Libraries/DotNetZip/Source/Zlib/ZlibConstants.cs index 59ae7300..e9f492e9 100644 --- a/Resources/Libraries/DotNetZip/Source/Zlib/ZlibConstants.cs +++ b/Resources/Libraries/DotNetZip/Source/Zlib/ZlibConstants.cs @@ -60,9 +60,6 @@ // // ----------------------------------------------------------------------- - -using System; - namespace Ionic.Zlib { ///