diff --git a/Directory.Build.targets b/Directory.Build.targets index b316c89c6..0b2be7693 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,6 +1,7 @@ $([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)')) + true diff --git a/core/Piranha.AspNetCore.Hosting/Extensions/PiranhaHostingExtensions.cs b/core/Piranha.AspNetCore.Hosting/Extensions/PiranhaHostingExtensions.cs index 414e40a10..7191a4017 100644 --- a/core/Piranha.AspNetCore.Hosting/Extensions/PiranhaHostingExtensions.cs +++ b/core/Piranha.AspNetCore.Hosting/Extensions/PiranhaHostingExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Piranha; diff --git a/core/Piranha.AspNetCore.Hosting/Http/HttpCacheInfo.cs b/core/Piranha.AspNetCore.Hosting/Http/HttpCacheInfo.cs index c1a6f93b9..627ef16d0 100644 --- a/core/Piranha.AspNetCore.Hosting/Http/HttpCacheInfo.cs +++ b/core/Piranha.AspNetCore.Hosting/Http/HttpCacheInfo.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AspNetCore.Http { /// diff --git a/core/Piranha.AspNetCore.Hosting/Http/HttpCaching.cs b/core/Piranha.AspNetCore.Hosting/Http/HttpCaching.cs index a7119cc5a..2496c57f4 100644 --- a/core/Piranha.AspNetCore.Hosting/Http/HttpCaching.cs +++ b/core/Piranha.AspNetCore.Hosting/Http/HttpCaching.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Http; namespace Piranha.AspNetCore.Http diff --git a/core/Piranha.AspNetCore.Hosting/PiranhaApplicationBuilder.cs b/core/Piranha.AspNetCore.Hosting/PiranhaApplicationBuilder.cs index 672fabd70..f731de175 100644 --- a/core/Piranha.AspNetCore.Hosting/PiranhaApplicationBuilder.cs +++ b/core/Piranha.AspNetCore.Hosting/PiranhaApplicationBuilder.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; diff --git a/core/Piranha.AspNetCore.SimpleSecurity/Extensions/SimpleSecurityExtensions.cs b/core/Piranha.AspNetCore.SimpleSecurity/Extensions/SimpleSecurityExtensions.cs index 986bdbfab..1853d648d 100644 --- a/core/Piranha.AspNetCore.SimpleSecurity/Extensions/SimpleSecurityExtensions.cs +++ b/core/Piranha.AspNetCore.SimpleSecurity/Extensions/SimpleSecurityExtensions.cs @@ -11,7 +11,6 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; -using System; using Piranha.Manager.LocalAuth; public static class SimpleSecurityExtensions diff --git a/core/Piranha.AspNetCore.SimpleSecurity/SimpleSecurity.cs b/core/Piranha.AspNetCore.SimpleSecurity/SimpleSecurity.cs index 93c2141a9..52af97ef2 100644 --- a/core/Piranha.AspNetCore.SimpleSecurity/SimpleSecurity.cs +++ b/core/Piranha.AspNetCore.SimpleSecurity/SimpleSecurity.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using System.Security.Claims; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using Piranha.Manager.LocalAuth; diff --git a/core/Piranha.AspNetCore.SimpleSecurity/SimpleUser.cs b/core/Piranha.AspNetCore.SimpleSecurity/SimpleUser.cs index 0f4e79508..2aaa4ae27 100644 --- a/core/Piranha.AspNetCore.SimpleSecurity/SimpleUser.cs +++ b/core/Piranha.AspNetCore.SimpleSecurity/SimpleUser.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.AspNetCore { /// diff --git a/core/Piranha.AspNetCore/Extensions/PiranhaSecurityExtensions.cs b/core/Piranha.AspNetCore/Extensions/PiranhaSecurityExtensions.cs index fbffa69e1..0cdaf6a87 100644 --- a/core/Piranha.AspNetCore/Extensions/PiranhaSecurityExtensions.cs +++ b/core/Piranha.AspNetCore/Extensions/PiranhaSecurityExtensions.cs @@ -8,10 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.Security.Claims; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; diff --git a/core/Piranha.AspNetCore/Extensions/PiranhaStartupExtensions.cs b/core/Piranha.AspNetCore/Extensions/PiranhaStartupExtensions.cs index 464600359..211844606 100644 --- a/core/Piranha.AspNetCore/Extensions/PiranhaStartupExtensions.cs +++ b/core/Piranha.AspNetCore/Extensions/PiranhaStartupExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Piranha; diff --git a/core/Piranha.AspNetCore/Helpers/ISiteHelper.cs b/core/Piranha.AspNetCore/Helpers/ISiteHelper.cs index 9ae186e45..67a1d8a77 100644 --- a/core/Piranha.AspNetCore/Helpers/ISiteHelper.cs +++ b/core/Piranha.AspNetCore/Helpers/ISiteHelper.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Piranha.AspNetCore.Models; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Helpers/MediaHelper.cs b/core/Piranha.AspNetCore/Helpers/MediaHelper.cs index 0cda66761..21c9bb149 100644 --- a/core/Piranha.AspNetCore/Helpers/MediaHelper.cs +++ b/core/Piranha.AspNetCore/Helpers/MediaHelper.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; using Piranha.Extend.Blocks; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Helpers/SiteHelper.cs b/core/Piranha.AspNetCore/Helpers/SiteHelper.cs index 77d3f686b..92c6e0939 100644 --- a/core/Piranha.AspNetCore/Helpers/SiteHelper.cs +++ b/core/Piranha.AspNetCore/Helpers/SiteHelper.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Piranha.AspNetCore.Models; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Hosting/PiranhaStartupFilter.cs b/core/Piranha.AspNetCore/Hosting/PiranhaStartupFilter.cs index 40aa5d9d8..10a110847 100644 --- a/core/Piranha.AspNetCore/Hosting/PiranhaStartupFilter.cs +++ b/core/Piranha.AspNetCore/Hosting/PiranhaStartupFilter.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Piranha.AspNetCore.Http; diff --git a/core/Piranha.AspNetCore/Http/MiddlewareBase.cs b/core/Piranha.AspNetCore/Http/MiddlewareBase.cs index 2f6315479..7577b03b9 100644 --- a/core/Piranha.AspNetCore/Http/MiddlewareBase.cs +++ b/core/Piranha.AspNetCore/Http/MiddlewareBase.cs @@ -10,7 +10,6 @@ using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; -using System.Threading.Tasks; using Piranha.AspNetCore.Services; namespace Piranha.AspNetCore.Http diff --git a/core/Piranha.AspNetCore/Http/RoutingMiddleware.cs b/core/Piranha.AspNetCore/Http/RoutingMiddleware.cs index 50653bddb..0b8517590 100644 --- a/core/Piranha.AspNetCore/Http/RoutingMiddleware.cs +++ b/core/Piranha.AspNetCore/Http/RoutingMiddleware.cs @@ -8,11 +8,8 @@ * */ -using System; using System.Globalization; -using System.Linq; using System.Text; -using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; diff --git a/core/Piranha.AspNetCore/Http/SecurityMiddleware.cs b/core/Piranha.AspNetCore/Http/SecurityMiddleware.cs index 6a80024f6..b79057e98 100644 --- a/core/Piranha.AspNetCore/Http/SecurityMiddleware.cs +++ b/core/Piranha.AspNetCore/Http/SecurityMiddleware.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; using Piranha.AspNetCore.Security; diff --git a/core/Piranha.AspNetCore/Http/SitemapMiddleware.cs b/core/Piranha.AspNetCore/Http/SitemapMiddleware.cs index a1eebad2e..ca6066cc1 100644 --- a/core/Piranha.AspNetCore/Http/SitemapMiddleware.cs +++ b/core/Piranha.AspNetCore/Http/SitemapMiddleware.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; diff --git a/core/Piranha.AspNetCore/Models/ArchivePage.cs b/core/Piranha.AspNetCore/Models/ArchivePage.cs index 631928446..68286f1b9 100644 --- a/core/Piranha.AspNetCore/Models/ArchivePage.cs +++ b/core/Piranha.AspNetCore/Models/ArchivePage.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Piranha.AspNetCore.Services; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Models/SinglePage.cs b/core/Piranha.AspNetCore/Models/SinglePage.cs index 5476c8d1d..2a8e2f376 100644 --- a/core/Piranha.AspNetCore/Models/SinglePage.cs +++ b/core/Piranha.AspNetCore/Models/SinglePage.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Piranha.AspNetCore.Services; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Models/SinglePageWithComments.cs b/core/Piranha.AspNetCore/Models/SinglePageWithComments.cs index 1e6006668..a992ed069 100644 --- a/core/Piranha.AspNetCore/Models/SinglePageWithComments.cs +++ b/core/Piranha.AspNetCore/Models/SinglePageWithComments.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Piranha.AspNetCore.Services; diff --git a/core/Piranha.AspNetCore/Models/SinglePost.cs b/core/Piranha.AspNetCore/Models/SinglePost.cs index 61bf14ec4..62983fb9a 100644 --- a/core/Piranha.AspNetCore/Models/SinglePost.cs +++ b/core/Piranha.AspNetCore/Models/SinglePost.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Piranha.AspNetCore.Services; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Models/SinglePostWithComments.cs b/core/Piranha.AspNetCore/Models/SinglePostWithComments.cs index e0bcecaee..918536767 100644 --- a/core/Piranha.AspNetCore/Models/SinglePostWithComments.cs +++ b/core/Piranha.AspNetCore/Models/SinglePostWithComments.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Piranha.AspNetCore.Services; diff --git a/core/Piranha.AspNetCore/Services/ApplicationService.cs b/core/Piranha.AspNetCore/Services/ApplicationService.cs index abe941143..ec3f6e4b6 100644 --- a/core/Piranha.AspNetCore/Services/ApplicationService.cs +++ b/core/Piranha.AspNetCore/Services/ApplicationService.cs @@ -8,12 +8,9 @@ * */ -using Microsoft.AspNetCore.Http; -using System; -using System.Linq; using System.Security.Cryptography; using System.Text; -using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; using Piranha.AspNetCore.Helpers; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Services/IApplicationService.cs b/core/Piranha.AspNetCore/Services/IApplicationService.cs index f90665871..4980ee560 100644 --- a/core/Piranha.AspNetCore/Services/IApplicationService.cs +++ b/core/Piranha.AspNetCore/Services/IApplicationService.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Piranha.AspNetCore.Helpers; using Piranha.Models; diff --git a/core/Piranha.AspNetCore/Services/IModelLoader.cs b/core/Piranha.AspNetCore/Services/IModelLoader.cs index 5e218d1bd..e3bec2999 100644 --- a/core/Piranha.AspNetCore/Services/IModelLoader.cs +++ b/core/Piranha.AspNetCore/Services/IModelLoader.cs @@ -8,9 +8,7 @@ * */ -using System; using System.Security.Claims; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.AspNetCore.Services diff --git a/core/Piranha.AspNetCore/Services/ModelLoader.cs b/core/Piranha.AspNetCore/Services/ModelLoader.cs index 60c45e230..c4928576c 100644 --- a/core/Piranha.AspNetCore/Services/ModelLoader.cs +++ b/core/Piranha.AspNetCore/Services/ModelLoader.cs @@ -8,10 +8,7 @@ * */ -using System; using System.Security.Claims; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Piranha.Models; diff --git a/core/Piranha.AttributeBuilder/ContentTypeAttribute.cs b/core/Piranha.AttributeBuilder/ContentTypeAttribute.cs index 64d70ea71..425ef0e6a 100644 --- a/core/Piranha.AttributeBuilder/ContentTypeAttribute.cs +++ b/core/Piranha.AttributeBuilder/ContentTypeAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/ContentTypeBaseAttribute.cs b/core/Piranha.AttributeBuilder/ContentTypeBaseAttribute.cs index c19d5836d..afb605be4 100644 --- a/core/Piranha.AttributeBuilder/ContentTypeBaseAttribute.cs +++ b/core/Piranha.AttributeBuilder/ContentTypeBaseAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/ContentTypeBuilder.cs b/core/Piranha.AttributeBuilder/ContentTypeBuilder.cs index de3ce8146..046441f43 100644 --- a/core/Piranha.AttributeBuilder/ContentTypeBuilder.cs +++ b/core/Piranha.AttributeBuilder/ContentTypeBuilder.cs @@ -8,14 +8,10 @@ * */ -using Piranha.Extend; -using Piranha.Models; -using System; using System.Collections; -using System.Collections.Generic; using System.Reflection; -using System.Linq; -using System.Threading.Tasks; +using Piranha.Extend; +using Piranha.Models; namespace Piranha.AttributeBuilder { diff --git a/core/Piranha.AttributeBuilder/ContentTypeEditorAttribute.cs b/core/Piranha.AttributeBuilder/ContentTypeEditorAttribute.cs index f8fc02b34..dd424238b 100644 --- a/core/Piranha.AttributeBuilder/ContentTypeEditorAttribute.cs +++ b/core/Piranha.AttributeBuilder/ContentTypeEditorAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/ContentTypeRouteAttribute.cs b/core/Piranha.AttributeBuilder/ContentTypeRouteAttribute.cs index 6ba31f936..dcae0f1ff 100644 --- a/core/Piranha.AttributeBuilder/ContentTypeRouteAttribute.cs +++ b/core/Piranha.AttributeBuilder/ContentTypeRouteAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/PageTypeArchiveItemAttribute.cs b/core/Piranha.AttributeBuilder/PageTypeArchiveItemAttribute.cs index 0b2070307..2e4b4763b 100644 --- a/core/Piranha.AttributeBuilder/PageTypeArchiveItemAttribute.cs +++ b/core/Piranha.AttributeBuilder/PageTypeArchiveItemAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/PageTypeAttribute.cs b/core/Piranha.AttributeBuilder/PageTypeAttribute.cs index b22745216..3ccc42b24 100644 --- a/core/Piranha.AttributeBuilder/PageTypeAttribute.cs +++ b/core/Piranha.AttributeBuilder/PageTypeAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/PostTypeAttribute.cs b/core/Piranha.AttributeBuilder/PostTypeAttribute.cs index 199bc49d8..0523c3d33 100644 --- a/core/Piranha.AttributeBuilder/PostTypeAttribute.cs +++ b/core/Piranha.AttributeBuilder/PostTypeAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.AttributeBuilder/SiteTypeAttribute.cs b/core/Piranha.AttributeBuilder/SiteTypeAttribute.cs index 98116542d..274e24b0a 100644 --- a/core/Piranha.AttributeBuilder/SiteTypeAttribute.cs +++ b/core/Piranha.AttributeBuilder/SiteTypeAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.AttributeBuilder { /// diff --git a/core/Piranha.Azure.BlobStorage/BlobStorage.cs b/core/Piranha.Azure.BlobStorage/BlobStorage.cs index 6cf419353..017a3795e 100644 --- a/core/Piranha.Azure.BlobStorage/BlobStorage.cs +++ b/core/Piranha.Azure.BlobStorage/BlobStorage.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.IO; -using System.Threading.Tasks; using Azure.Core; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; diff --git a/core/Piranha.Azure.BlobStorage/Extensions/BlobStorageExtensions.cs b/core/Piranha.Azure.BlobStorage/Extensions/BlobStorageExtensions.cs index 8f052af6c..fcc6eab4e 100644 --- a/core/Piranha.Azure.BlobStorage/Extensions/BlobStorageExtensions.cs +++ b/core/Piranha.Azure.BlobStorage/Extensions/BlobStorageExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Azure.Core; using Microsoft.Extensions.DependencyInjection; using Piranha; diff --git a/core/Piranha.Azure.Search/Content.cs b/core/Piranha.Azure.Search/Content.cs index 6d7ba6a05..177c1ffc4 100644 --- a/core/Piranha.Azure.Search/Content.cs +++ b/core/Piranha.Azure.Search/Content.cs @@ -8,12 +8,9 @@ * */ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.Azure.Search; using Microsoft.Azure.Search.Models; -using Microsoft.Spatial; -using Piranha.Models; namespace Piranha.Azure.Search { diff --git a/core/Piranha.Azure.Search/Services/AzureSearchService.cs b/core/Piranha.Azure.Search/Services/AzureSearchService.cs index c8d65d3e9..afc7f19f7 100644 --- a/core/Piranha.Azure.Search/Services/AzureSearchService.cs +++ b/core/Piranha.Azure.Search/Services/AzureSearchService.cs @@ -8,11 +8,8 @@ * */ -using System.Collections.Generic; -using System.Linq; using System.Text; using System.Text.RegularExpressions; -using System.Threading.Tasks; using Microsoft.Azure.Search; using Microsoft.Azure.Search.Models; using Piranha.Extend; diff --git a/core/Piranha.ImageSharp/ImageSharpProcessor.cs b/core/Piranha.ImageSharp/ImageSharpProcessor.cs index 83e9995a9..1435b2152 100644 --- a/core/Piranha.ImageSharp/ImageSharpProcessor.cs +++ b/core/Piranha.ImageSharp/ImageSharpProcessor.cs @@ -11,8 +11,6 @@ using SixLabors.ImageSharp; using SixLabors.ImageSharp.Formats; using SixLabors.ImageSharp.Processing; -using System; -using System.IO; namespace Piranha.ImageSharp { diff --git a/core/Piranha.Local.FileStorage/FileStorage.cs b/core/Piranha.Local.FileStorage/FileStorage.cs index 8c7c11866..74ec8645e 100644 --- a/core/Piranha.Local.FileStorage/FileStorage.cs +++ b/core/Piranha.Local.FileStorage/FileStorage.cs @@ -8,8 +8,6 @@ * */ -using System.IO; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Local diff --git a/core/Piranha.Local.FileStorage/FileStorageSession.cs b/core/Piranha.Local.FileStorage/FileStorageSession.cs index ec10cce4a..6f1fefc37 100644 --- a/core/Piranha.Local.FileStorage/FileStorageSession.cs +++ b/core/Piranha.Local.FileStorage/FileStorageSession.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.IO; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Local diff --git a/core/Piranha.Manager.LocalAuth/ISecurity.cs b/core/Piranha.Manager.LocalAuth/ISecurity.cs index 3cb142889..873014395 100644 --- a/core/Piranha.Manager.LocalAuth/ISecurity.cs +++ b/core/Piranha.Manager.LocalAuth/ISecurity.cs @@ -8,8 +8,6 @@ * */ -using System.Threading.Tasks; - namespace Piranha.Manager.LocalAuth { /// diff --git a/core/Piranha.Manager/Controllers/AliasApiController.cs b/core/Piranha.Manager/Controllers/AliasApiController.cs index d4b4e2d0b..4ada7921b 100644 --- a/core/Piranha.Manager/Controllers/AliasApiController.cs +++ b/core/Piranha.Manager/Controllers/AliasApiController.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/CommentApiController.cs b/core/Piranha.Manager/Controllers/CommentApiController.cs index 330b8461b..930310272 100644 --- a/core/Piranha.Manager/Controllers/CommentApiController.cs +++ b/core/Piranha.Manager/Controllers/CommentApiController.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/ContentApiController.cs b/core/Piranha.Manager/Controllers/ContentApiController.cs index d44ae660b..1c9a017bf 100644 --- a/core/Piranha.Manager/Controllers/ContentApiController.cs +++ b/core/Piranha.Manager/Controllers/ContentApiController.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/LanguageApiController.cs b/core/Piranha.Manager/Controllers/LanguageApiController.cs index fdeeafd31..40556749a 100644 --- a/core/Piranha.Manager/Controllers/LanguageApiController.cs +++ b/core/Piranha.Manager/Controllers/LanguageApiController.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/MediaApiController.cs b/core/Piranha.Manager/Controllers/MediaApiController.cs index b9e466acf..9bc3e8b33 100644 --- a/core/Piranha.Manager/Controllers/MediaApiController.cs +++ b/core/Piranha.Manager/Controllers/MediaApiController.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/ModuleApiController.cs b/core/Piranha.Manager/Controllers/ModuleApiController.cs index 99a5a5a2d..567a67d18 100644 --- a/core/Piranha.Manager/Controllers/ModuleApiController.cs +++ b/core/Piranha.Manager/Controllers/ModuleApiController.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/PageApiController.cs b/core/Piranha.Manager/Controllers/PageApiController.cs index 2789fd10b..b78c36e85 100644 --- a/core/Piranha.Manager/Controllers/PageApiController.cs +++ b/core/Piranha.Manager/Controllers/PageApiController.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; diff --git a/core/Piranha.Manager/Controllers/PermissionApiController.cs b/core/Piranha.Manager/Controllers/PermissionApiController.cs index 7e0905c51..791215052 100644 --- a/core/Piranha.Manager/Controllers/PermissionApiController.cs +++ b/core/Piranha.Manager/Controllers/PermissionApiController.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Controllers/PostApiController.cs b/core/Piranha.Manager/Controllers/PostApiController.cs index 700684d0f..cfea4142a 100644 --- a/core/Piranha.Manager/Controllers/PostApiController.cs +++ b/core/Piranha.Manager/Controllers/PostApiController.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; diff --git a/core/Piranha.Manager/Controllers/SiteApiController.cs b/core/Piranha.Manager/Controllers/SiteApiController.cs index 9206e3c84..4030221c9 100644 --- a/core/Piranha.Manager/Controllers/SiteApiController.cs +++ b/core/Piranha.Manager/Controllers/SiteApiController.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Editor/EditorConfig.cs b/core/Piranha.Manager/Editor/EditorConfig.cs index e53266412..efba02741 100644 --- a/core/Piranha.Manager/Editor/EditorConfig.cs +++ b/core/Piranha.Manager/Editor/EditorConfig.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.IO; using Newtonsoft.Json; namespace Piranha.Manager.Editor diff --git a/core/Piranha.Manager/Extend/ActionList.cs b/core/Piranha.Manager/Extend/ActionList.cs index 91926f0cc..39370fa66 100644 --- a/core/Piranha.Manager/Extend/ActionList.cs +++ b/core/Piranha.Manager/Extend/ActionList.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Manager.Extend { public class ActionList : List where T : IAction diff --git a/core/Piranha.Manager/Extend/ModalAction.cs b/core/Piranha.Manager/Extend/ModalAction.cs index 695a91448..d00b5029e 100644 --- a/core/Piranha.Manager/Extend/ModalAction.cs +++ b/core/Piranha.Manager/Extend/ModalAction.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager.Extend { public class ModalAction : IAction diff --git a/core/Piranha.Manager/Extensions/ManagerExtensions.cs b/core/Piranha.Manager/Extensions/ManagerExtensions.cs index 8af28ef85..da83e0533 100644 --- a/core/Piranha.Manager/Extensions/ManagerExtensions.cs +++ b/core/Piranha.Manager/Extensions/ManagerExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/core/Piranha.Manager/Extensions/ManagerStartupExtensions.cs b/core/Piranha.Manager/Extensions/ManagerStartupExtensions.cs index a0c8043ac..9774bf30e 100644 --- a/core/Piranha.Manager/Extensions/ManagerStartupExtensions.cs +++ b/core/Piranha.Manager/Extensions/ManagerStartupExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; diff --git a/core/Piranha.Manager/Extensions/RoutedContentExtensions.cs b/core/Piranha.Manager/Extensions/RoutedContentExtensions.cs index 491e49032..e5ef9657c 100644 --- a/core/Piranha.Manager/Extensions/RoutedContentExtensions.cs +++ b/core/Piranha.Manager/Extensions/RoutedContentExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Manager.Models; using Piranha.Models; diff --git a/core/Piranha.Manager/ManagerOptions.cs b/core/Piranha.Manager/ManagerOptions.cs index c39a4349e..58f7f1a6d 100644 --- a/core/Piranha.Manager/ManagerOptions.cs +++ b/core/Piranha.Manager/ManagerOptions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Mvc; namespace Piranha.Manager diff --git a/core/Piranha.Manager/ManagerScriptDefinition.cs b/core/Piranha.Manager/ManagerScriptDefinition.cs index c0389874b..dd603104c 100644 --- a/core/Piranha.Manager/ManagerScriptDefinition.cs +++ b/core/Piranha.Manager/ManagerScriptDefinition.cs @@ -8,8 +8,6 @@ * */ - using System; - namespace Piranha.Manager { public enum ECrossOriginPolicy diff --git a/core/Piranha.Manager/MenuExtensions.cs b/core/Piranha.Manager/MenuExtensions.cs index fb6750f45..b701f1e3e 100644 --- a/core/Piranha.Manager/MenuExtensions.cs +++ b/core/Piranha.Manager/MenuExtensions.cs @@ -9,7 +9,6 @@ */ using System.Security.Claims; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; namespace Piranha.Manager diff --git a/core/Piranha.Manager/MenuItem.cs b/core/Piranha.Manager/MenuItem.cs index 53fafc71a..0c81d34c0 100644 --- a/core/Piranha.Manager/MenuItem.cs +++ b/core/Piranha.Manager/MenuItem.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Manager { /// diff --git a/core/Piranha.Manager/MenuItemList.cs b/core/Piranha.Manager/MenuItemList.cs index b9ae6137f..6ea736449 100644 --- a/core/Piranha.Manager/MenuItemList.cs +++ b/core/Piranha.Manager/MenuItemList.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Manager { public class MenuItemList : List diff --git a/core/Piranha.Manager/Models/AliasListModel.cs b/core/Piranha.Manager/Models/AliasListModel.cs index 85215ed1d..9565b73ab 100644 --- a/core/Piranha.Manager/Models/AliasListModel.cs +++ b/core/Piranha.Manager/Models/AliasListModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models { /// diff --git a/core/Piranha.Manager/Models/AsyncResult.cs b/core/Piranha.Manager/Models/AsyncResult.cs index 847ab8dee..5787f5a22 100644 --- a/core/Piranha.Manager/Models/AsyncResult.cs +++ b/core/Piranha.Manager/Models/AsyncResult.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager.Models { public class AsyncResult diff --git a/core/Piranha.Manager/Models/BlockListModel.cs b/core/Piranha.Manager/Models/BlockListModel.cs index b6ab0fec5..fd1adc555 100644 --- a/core/Piranha.Manager/Models/BlockListModel.cs +++ b/core/Piranha.Manager/Models/BlockListModel.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Manager.Models { /// diff --git a/core/Piranha.Manager/Models/CommentListModel.cs b/core/Piranha.Manager/Models/CommentListModel.cs index ce65175d1..41b368cee 100644 --- a/core/Piranha.Manager/Models/CommentListModel.cs +++ b/core/Piranha.Manager/Models/CommentListModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models { public class CommentListModel diff --git a/core/Piranha.Manager/Models/Content/BlockGenericModel.cs b/core/Piranha.Manager/Models/Content/BlockGenericModel.cs index 528283125..71ac7a673 100644 --- a/core/Piranha.Manager/Models/Content/BlockGenericModel.cs +++ b/core/Piranha.Manager/Models/Content/BlockGenericModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/BlockGroupModel.cs b/core/Piranha.Manager/Models/Content/BlockGroupModel.cs index 8969c8d0b..baf16eacb 100644 --- a/core/Piranha.Manager/Models/Content/BlockGroupModel.cs +++ b/core/Piranha.Manager/Models/Content/BlockGroupModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/BlockMeta.cs b/core/Piranha.Manager/Models/Content/BlockMeta.cs index 05ccbad7f..262702cc2 100644 --- a/core/Piranha.Manager/Models/Content/BlockMeta.cs +++ b/core/Piranha.Manager/Models/Content/BlockMeta.cs @@ -8,8 +8,6 @@ * */ -using Piranha.Models; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/ContentEditModel.cs b/core/Piranha.Manager/Models/Content/ContentEditModel.cs index 2260b9957..e5dfc6ce1 100644 --- a/core/Piranha.Manager/Models/Content/ContentEditModel.cs +++ b/core/Piranha.Manager/Models/Content/ContentEditModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/ContentMeta.cs b/core/Piranha.Manager/Models/Content/ContentMeta.cs index 539978c7f..07beda827 100644 --- a/core/Piranha.Manager/Models/Content/ContentMeta.cs +++ b/core/Piranha.Manager/Models/Content/ContentMeta.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/EditorModel.cs b/core/Piranha.Manager/Models/Content/EditorModel.cs index aaa782d18..3f1289a84 100644 --- a/core/Piranha.Manager/Models/Content/EditorModel.cs +++ b/core/Piranha.Manager/Models/Content/EditorModel.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/FieldMeta.cs b/core/Piranha.Manager/Models/Content/FieldMeta.cs index 4a1eb7dad..213557ce0 100644 --- a/core/Piranha.Manager/Models/Content/FieldMeta.cs +++ b/core/Piranha.Manager/Models/Content/FieldMeta.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/RegionItemModel.cs b/core/Piranha.Manager/Models/Content/RegionItemModel.cs index f863331ab..5aefb8f38 100644 --- a/core/Piranha.Manager/Models/Content/RegionItemModel.cs +++ b/core/Piranha.Manager/Models/Content/RegionItemModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/Content/RegionModel.cs b/core/Piranha.Manager/Models/Content/RegionModel.cs index 29bad9737..bc02e77b0 100644 --- a/core/Piranha.Manager/Models/Content/RegionModel.cs +++ b/core/Piranha.Manager/Models/Content/RegionModel.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Manager.Models.Content { /// diff --git a/core/Piranha.Manager/Models/ContentEditModel.cs b/core/Piranha.Manager/Models/ContentEditModel.cs index e5ee5a76a..f0d34e6cb 100644 --- a/core/Piranha.Manager/Models/ContentEditModel.cs +++ b/core/Piranha.Manager/Models/ContentEditModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Extend.Fields; using Piranha.Models; diff --git a/core/Piranha.Manager/Models/ContentListModel.cs b/core/Piranha.Manager/Models/ContentListModel.cs index da3150c46..093b05358 100644 --- a/core/Piranha.Manager/Models/ContentListModel.cs +++ b/core/Piranha.Manager/Models/ContentListModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Manager.Models.Content; using Piranha.Models; diff --git a/core/Piranha.Manager/Models/LanguageEditModel.cs b/core/Piranha.Manager/Models/LanguageEditModel.cs index bb9752112..9b77ca629 100644 --- a/core/Piranha.Manager/Models/LanguageEditModel.cs +++ b/core/Piranha.Manager/Models/LanguageEditModel.cs @@ -8,7 +8,6 @@ * */ -using System.Collections.Generic; using Piranha.Models; namespace Piranha.Manager.Models diff --git a/core/Piranha.Manager/Models/MediaFolderModel.cs b/core/Piranha.Manager/Models/MediaFolderModel.cs index dfa1ef776..edea53015 100644 --- a/core/Piranha.Manager/Models/MediaFolderModel.cs +++ b/core/Piranha.Manager/Models/MediaFolderModel.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager.Models { public class MediaFolderModel diff --git a/core/Piranha.Manager/Models/MediaListModel.cs b/core/Piranha.Manager/Models/MediaListModel.cs index 3137e92ec..94d73f191 100644 --- a/core/Piranha.Manager/Models/MediaListModel.cs +++ b/core/Piranha.Manager/Models/MediaListModel.cs @@ -9,8 +9,6 @@ */ using Piranha.Models; -using System; -using System.Collections.Generic; namespace Piranha.Manager.Models { diff --git a/core/Piranha.Manager/Models/MediaUploadModel.cs b/core/Piranha.Manager/Models/MediaUploadModel.cs index ef8dbf492..2daeaa8d7 100644 --- a/core/Piranha.Manager/Models/MediaUploadModel.cs +++ b/core/Piranha.Manager/Models/MediaUploadModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Microsoft.AspNetCore.Http; namespace Piranha.Manager.Models diff --git a/core/Piranha.Manager/Models/ModuleListModel.cs b/core/Piranha.Manager/Models/ModuleListModel.cs index 823e61384..d44287251 100644 --- a/core/Piranha.Manager/Models/ModuleListModel.cs +++ b/core/Piranha.Manager/Models/ModuleListModel.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Manager.Models { /// diff --git a/core/Piranha.Manager/Models/PageEditModel.cs b/core/Piranha.Manager/Models/PageEditModel.cs index 3896009b6..4544b5d14 100644 --- a/core/Piranha.Manager/Models/PageEditModel.cs +++ b/core/Piranha.Manager/Models/PageEditModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Extend.Fields; namespace Piranha.Manager.Models diff --git a/core/Piranha.Manager/Models/PageListModel.cs b/core/Piranha.Manager/Models/PageListModel.cs index d588f97d5..98d829d3d 100644 --- a/core/Piranha.Manager/Models/PageListModel.cs +++ b/core/Piranha.Manager/Models/PageListModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Manager.Models.Content; namespace Piranha.Manager.Models diff --git a/core/Piranha.Manager/Models/PermissionModel.cs b/core/Piranha.Manager/Models/PermissionModel.cs index c576a0370..6c88fedcf 100644 --- a/core/Piranha.Manager/Models/PermissionModel.cs +++ b/core/Piranha.Manager/Models/PermissionModel.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager.Models { public class PermissionModel diff --git a/core/Piranha.Manager/Models/PostEditModel.cs b/core/Piranha.Manager/Models/PostEditModel.cs index 8c6d936b6..0900141d6 100644 --- a/core/Piranha.Manager/Models/PostEditModel.cs +++ b/core/Piranha.Manager/Models/PostEditModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Extend.Fields; namespace Piranha.Manager.Models diff --git a/core/Piranha.Manager/Models/PostListModel.cs b/core/Piranha.Manager/Models/PostListModel.cs index c79626d56..fbc6a06b6 100644 --- a/core/Piranha.Manager/Models/PostListModel.cs +++ b/core/Piranha.Manager/Models/PostListModel.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Manager.Models { public class PostListModel diff --git a/core/Piranha.Manager/Models/PostModalModel.cs b/core/Piranha.Manager/Models/PostModalModel.cs index 670451bad..ba0967046 100644 --- a/core/Piranha.Manager/Models/PostModalModel.cs +++ b/core/Piranha.Manager/Models/PostModalModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models { public class PostModalModel diff --git a/core/Piranha.Manager/Models/SiteEditModel.cs b/core/Piranha.Manager/Models/SiteEditModel.cs index fda117136..eb973e8a9 100644 --- a/core/Piranha.Manager/Models/SiteEditModel.cs +++ b/core/Piranha.Manager/Models/SiteEditModel.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Extend.Fields; using Piranha.Models; using Piranha.Manager.Models.Content; diff --git a/core/Piranha.Manager/Models/SiteListModel.cs b/core/Piranha.Manager/Models/SiteListModel.cs index 48249919e..9eb648d03 100644 --- a/core/Piranha.Manager/Models/SiteListModel.cs +++ b/core/Piranha.Manager/Models/SiteListModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models { /// diff --git a/core/Piranha.Manager/Models/StructureModel.cs b/core/Piranha.Manager/Models/StructureModel.cs index df7d9200b..4f380b758 100644 --- a/core/Piranha.Manager/Models/StructureModel.cs +++ b/core/Piranha.Manager/Models/StructureModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Manager.Models { public class StructureModel diff --git a/core/Piranha.Manager/Module.cs b/core/Piranha.Manager/Module.cs index e0c615797..34d47cabb 100644 --- a/core/Piranha.Manager/Module.cs +++ b/core/Piranha.Manager/Module.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System; -using System.IO; using System.Reflection; using Piranha.Extend; using Piranha.Security; diff --git a/core/Piranha.Manager/PermissionStructure.cs b/core/Piranha.Manager/PermissionStructure.cs index 2d04fa539..106dd977c 100644 --- a/core/Piranha.Manager/PermissionStructure.cs +++ b/core/Piranha.Manager/PermissionStructure.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Manager { public record PermissionsStructure diff --git a/core/Piranha.Manager/Services/AliasService.cs b/core/Piranha.Manager/Services/AliasService.cs index f2d3ba204..00983bada 100644 --- a/core/Piranha.Manager/Services/AliasService.cs +++ b/core/Piranha.Manager/Services/AliasService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Manager.Models; diff --git a/core/Piranha.Manager/Services/CommentService.cs b/core/Piranha.Manager/Services/CommentService.cs index acc084828..8c4e6ae38 100644 --- a/core/Piranha.Manager/Services/CommentService.cs +++ b/core/Piranha.Manager/Services/CommentService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Linq; -using System.Threading.Tasks; using Piranha.Manager.Models; using Piranha.Models; diff --git a/core/Piranha.Manager/Services/ContentService.cs b/core/Piranha.Manager/Services/ContentService.cs index ef32452d2..fb20b663e 100644 --- a/core/Piranha.Manager/Services/ContentService.cs +++ b/core/Piranha.Manager/Services/ContentService.cs @@ -8,13 +8,9 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Dynamic; -using System.Linq; -using System.Threading.Tasks; using Piranha.Extend; using Piranha.Extend.Fields; using Piranha.Models; diff --git a/core/Piranha.Manager/Services/ContentTypeService.cs b/core/Piranha.Manager/Services/ContentTypeService.cs index 0bfa8ebb6..6b8afafb1 100644 --- a/core/Piranha.Manager/Services/ContentTypeService.cs +++ b/core/Piranha.Manager/Services/ContentTypeService.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Piranha.Extend; using Piranha.Extend.Fields; using Piranha.Models; diff --git a/core/Piranha.Manager/Services/ContentUtils.cs b/core/Piranha.Manager/Services/ContentUtils.cs index 054299e20..309abe3bb 100644 --- a/core/Piranha.Manager/Services/ContentUtils.cs +++ b/core/Piranha.Manager/Services/ContentUtils.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.Reflection; using Piranha.Extend; using Piranha.Extend.Fields; diff --git a/core/Piranha.Manager/Services/LanguageService.cs b/core/Piranha.Manager/Services/LanguageService.cs index 0e3b30b0b..92d50f159 100644 --- a/core/Piranha.Manager/Services/LanguageService.cs +++ b/core/Piranha.Manager/Services/LanguageService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Linq; -using System.Threading.Tasks; using Piranha.Manager.Models; using Piranha.Models; diff --git a/core/Piranha.Manager/Services/MediaService.cs b/core/Piranha.Manager/Services/MediaService.cs index 95dd5dbbd..7ddbe6035 100644 --- a/core/Piranha.Manager/Services/MediaService.cs +++ b/core/Piranha.Manager/Services/MediaService.cs @@ -8,13 +8,8 @@ * */ -using System; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Manager.Models; -using System.IO; -using System.Collections.Generic; using System.Data; namespace Piranha.Manager.Services diff --git a/core/Piranha.Manager/Services/ModuleService.cs b/core/Piranha.Manager/Services/ModuleService.cs index 2630e0b02..c2d91dc18 100644 --- a/core/Piranha.Manager/Services/ModuleService.cs +++ b/core/Piranha.Manager/Services/ModuleService.cs @@ -8,7 +8,6 @@ * */ -using System.Linq; using Piranha.Manager.Models; namespace Piranha.Manager.Services diff --git a/core/Piranha.Manager/Services/PageService.cs b/core/Piranha.Manager/Services/PageService.cs index f12affef5..c2ba512b3 100644 --- a/core/Piranha.Manager/Services/PageService.cs +++ b/core/Piranha.Manager/Services/PageService.cs @@ -8,13 +8,9 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Dynamic; -using System.Linq; -using System.Threading.Tasks; using Piranha.Extend; using Piranha.Extend.Fields; using Piranha.Manager.Extensions; diff --git a/core/Piranha.Manager/Services/PostService.cs b/core/Piranha.Manager/Services/PostService.cs index 328bba21b..fe86f6f2b 100644 --- a/core/Piranha.Manager/Services/PostService.cs +++ b/core/Piranha.Manager/Services/PostService.cs @@ -8,13 +8,9 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Dynamic; -using System.Linq; -using System.Threading.Tasks; using Piranha.Extend; using Piranha.Extend.Fields; using Piranha.Manager.Extensions; diff --git a/core/Piranha.Manager/Services/SiteService.cs b/core/Piranha.Manager/Services/SiteService.cs index 55aaa8d02..8def5305a 100644 --- a/core/Piranha.Manager/Services/SiteService.cs +++ b/core/Piranha.Manager/Services/SiteService.cs @@ -8,13 +8,9 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Dynamic; -using System.Linq; -using System.Threading.Tasks; using Piranha.Extend; using Piranha.Extend.Fields; using Piranha.Models; diff --git a/core/Piranha.WebApi/MediaApiController.cs b/core/Piranha.WebApi/MediaApiController.cs index d7938b3be..27fa40032 100644 --- a/core/Piranha.WebApi/MediaApiController.cs +++ b/core/Piranha.WebApi/MediaApiController.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/core/Piranha.WebApi/Module.cs b/core/Piranha.WebApi/Module.cs index e040dd638..80c20119a 100644 --- a/core/Piranha.WebApi/Module.cs +++ b/core/Piranha.WebApi/Module.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System; -using System.IO; using System.Reflection; using Piranha.Security; diff --git a/core/Piranha.WebApi/PageApiController.cs b/core/Piranha.WebApi/PageApiController.cs index 02358dc83..b74ab3264 100644 --- a/core/Piranha.WebApi/PageApiController.cs +++ b/core/Piranha.WebApi/PageApiController.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Models; diff --git a/core/Piranha.WebApi/PostApiController.cs b/core/Piranha.WebApi/PostApiController.cs index f8506a7bd..212b0a900 100644 --- a/core/Piranha.WebApi/PostApiController.cs +++ b/core/Piranha.WebApi/PostApiController.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.Models; diff --git a/core/Piranha.WebApi/SitemapApiController.cs b/core/Piranha.WebApi/SitemapApiController.cs index ffc49e831..7e25a0654 100644 --- a/core/Piranha.WebApi/SitemapApiController.cs +++ b/core/Piranha.WebApi/SitemapApiController.cs @@ -10,8 +10,6 @@ using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; -using System; -using System.Threading.Tasks; namespace Piranha.WebApi { diff --git a/core/Piranha.WebApi/WebApiModuleExtensions.cs b/core/Piranha.WebApi/WebApiModuleExtensions.cs index 1f3152a71..51291fed5 100644 --- a/core/Piranha.WebApi/WebApiModuleExtensions.cs +++ b/core/Piranha.WebApi/WebApiModuleExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.Extensions.DependencyInjection; using Piranha; using Piranha.WebApi; diff --git a/core/Piranha/Api.cs b/core/Piranha/Api.cs index 30d43f917..2bff9592d 100644 --- a/core/Piranha/Api.cs +++ b/core/Piranha/Api.cs @@ -10,7 +10,6 @@ using Piranha.Services; using Piranha.Repositories; -using System; namespace Piranha { diff --git a/core/Piranha/App.cs b/core/Piranha/App.cs index d8683db28..8fadf8f11 100644 --- a/core/Piranha/App.cs +++ b/core/Piranha/App.cs @@ -8,7 +8,6 @@ * */ -using System; using System.Reflection; using Newtonsoft.Json; using Piranha.Extend; diff --git a/core/Piranha/Cache/SimpleCache.cs b/core/Piranha/Cache/SimpleCache.cs index 5e5e5bdc7..97cb0f936 100644 --- a/core/Piranha/Cache/SimpleCache.cs +++ b/core/Piranha/Cache/SimpleCache.cs @@ -9,7 +9,6 @@ */ using System.Collections.Concurrent; -using System.Collections.Generic; namespace Piranha.Cache { diff --git a/core/Piranha/Config.cs b/core/Piranha/Config.cs index cb08cfe4b..b62966334 100644 --- a/core/Piranha/Config.cs +++ b/core/Piranha/Config.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; using Piranha.Services; diff --git a/core/Piranha/Extend/Block.cs b/core/Piranha/Extend/Block.cs index 645ae73e7..cf3e93b19 100644 --- a/core/Piranha/Extend/Block.cs +++ b/core/Piranha/Extend/Block.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { /// diff --git a/core/Piranha/Extend/BlockGroup.cs b/core/Piranha/Extend/BlockGroup.cs index 15eb11163..bd720a82b 100644 --- a/core/Piranha/Extend/BlockGroup.cs +++ b/core/Piranha/Extend/BlockGroup.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Extend { /// diff --git a/core/Piranha/Extend/BlockGroupTypeAttribute.cs b/core/Piranha/Extend/BlockGroupTypeAttribute.cs index 62c086906..504a9d747 100644 --- a/core/Piranha/Extend/BlockGroupTypeAttribute.cs +++ b/core/Piranha/Extend/BlockGroupTypeAttribute.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend diff --git a/core/Piranha/Extend/BlockItemTypeAttribute.cs b/core/Piranha/Extend/BlockItemTypeAttribute.cs index 164e3c675..0262d069e 100644 --- a/core/Piranha/Extend/BlockItemTypeAttribute.cs +++ b/core/Piranha/Extend/BlockItemTypeAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] diff --git a/core/Piranha/Extend/BlockTypeAttribute.cs b/core/Piranha/Extend/BlockTypeAttribute.cs index b014cbe7e..77e40c385 100644 --- a/core/Piranha/Extend/BlockTypeAttribute.cs +++ b/core/Piranha/Extend/BlockTypeAttribute.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend diff --git a/core/Piranha/Extend/Blocks/ImageGalleryBlock.cs b/core/Piranha/Extend/Blocks/ImageGalleryBlock.cs index e27eae484..c0f3903ce 100644 --- a/core/Piranha/Extend/Blocks/ImageGalleryBlock.cs +++ b/core/Piranha/Extend/Blocks/ImageGalleryBlock.cs @@ -8,8 +8,6 @@ * */ -using Piranha.Extend.Fields; - namespace Piranha.Extend.Blocks { /// diff --git a/core/Piranha/Extend/ContentGroupAttribute.cs b/core/Piranha/Extend/ContentGroupAttribute.cs index 88ff573c5..1088fbc40 100644 --- a/core/Piranha/Extend/ContentGroupAttribute.cs +++ b/core/Piranha/Extend/ContentGroupAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { [AttributeUsage(AttributeTargets.Class)] diff --git a/core/Piranha/Extend/FieldAttribute.cs b/core/Piranha/Extend/FieldAttribute.cs index 5dfe9e392..64e5fd47f 100644 --- a/core/Piranha/Extend/FieldAttribute.cs +++ b/core/Piranha/Extend/FieldAttribute.cs @@ -9,7 +9,6 @@ */ using Piranha.Models; -using System; namespace Piranha.Extend { diff --git a/core/Piranha/Extend/FieldSettingsAttribute.cs b/core/Piranha/Extend/FieldSettingsAttribute.cs index be00fbe2b..70a6e82f6 100644 --- a/core/Piranha/Extend/FieldSettingsAttribute.cs +++ b/core/Piranha/Extend/FieldSettingsAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { /// diff --git a/core/Piranha/Extend/FieldTypeAttribute.cs b/core/Piranha/Extend/FieldTypeAttribute.cs index dad2f04b2..4e6582a05 100644 --- a/core/Piranha/Extend/FieldTypeAttribute.cs +++ b/core/Piranha/Extend/FieldTypeAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { [AttributeUsage(AttributeTargets.Class)] diff --git a/core/Piranha/Extend/Fields/AudioField.cs b/core/Piranha/Extend/Fields/AudioField.cs index 6679b1171..085ca0b9c 100644 --- a/core/Piranha/Extend/Fields/AudioField.cs +++ b/core/Piranha/Extend/Fields/AudioField.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/Fields/ContentField.cs b/core/Piranha/Extend/Fields/ContentField.cs index a1b1326fc..9fdacc70a 100644 --- a/core/Piranha/Extend/Fields/ContentField.cs +++ b/core/Piranha/Extend/Fields/ContentField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading.Tasks; - namespace Piranha.Extend.Fields { [FieldType(Name = "Content", Shorthand = "Content", Component = "content-field")] diff --git a/core/Piranha/Extend/Fields/DataSelectField.cs b/core/Piranha/Extend/Fields/DataSelectField.cs index 05f14ccf2..e059cacbc 100644 --- a/core/Piranha/Extend/Fields/DataSelectField.cs +++ b/core/Piranha/Extend/Fields/DataSelectField.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using System.Reflection; -using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/Fields/DateField.cs b/core/Piranha/Extend/Fields/DateField.cs index c3c93a058..5aafede68 100644 --- a/core/Piranha/Extend/Fields/DateField.cs +++ b/core/Piranha/Extend/Fields/DateField.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Fields { [FieldType(Name = "Date", Shorthand = "Date", Component = "date-field")] diff --git a/core/Piranha/Extend/Fields/DocumentField.cs b/core/Piranha/Extend/Fields/DocumentField.cs index b8c0fb5f9..34178fe85 100644 --- a/core/Piranha/Extend/Fields/DocumentField.cs +++ b/core/Piranha/Extend/Fields/DocumentField.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/Fields/ImageField.cs b/core/Piranha/Extend/Fields/ImageField.cs index a9837f552..845a9ae3b 100644 --- a/core/Piranha/Extend/Fields/ImageField.cs +++ b/core/Piranha/Extend/Fields/ImageField.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/Fields/MediaField.cs b/core/Piranha/Extend/Fields/MediaField.cs index 9b6cd07e0..fa4ea2a0f 100644 --- a/core/Piranha/Extend/Fields/MediaField.cs +++ b/core/Piranha/Extend/Fields/MediaField.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/Fields/MediaFieldBase.cs b/core/Piranha/Extend/Fields/MediaFieldBase.cs index 0f55932cf..5f4cbb7f9 100644 --- a/core/Piranha/Extend/Fields/MediaFieldBase.cs +++ b/core/Piranha/Extend/Fields/MediaFieldBase.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Threading.Tasks; -using Newtonsoft.Json; - namespace Piranha.Extend.Fields { public class MediaFieldBase : IField, IEquatable where T : MediaFieldBase diff --git a/core/Piranha/Extend/Fields/PageField.cs b/core/Piranha/Extend/Fields/PageField.cs index 2603907d7..3e4fa8dfe 100644 --- a/core/Piranha/Extend/Fields/PageField.cs +++ b/core/Piranha/Extend/Fields/PageField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading.Tasks; - namespace Piranha.Extend.Fields { [FieldType(Name = "Page", Shorthand = "Page", Component = "page-field")] diff --git a/core/Piranha/Extend/Fields/PostField.cs b/core/Piranha/Extend/Fields/PostField.cs index 2a0ea4862..46e0a901f 100644 --- a/core/Piranha/Extend/Fields/PostField.cs +++ b/core/Piranha/Extend/Fields/PostField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading.Tasks; - namespace Piranha.Extend.Fields { [FieldType(Name = "Post", Shorthand = "Post", Component = "post-field")] diff --git a/core/Piranha/Extend/Fields/SelectField.cs b/core/Piranha/Extend/Fields/SelectField.cs index dfa1896e0..39063045f 100644 --- a/core/Piranha/Extend/Fields/SelectField.cs +++ b/core/Piranha/Extend/Fields/SelectField.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/Fields/SelectFieldBase.cs b/core/Piranha/Extend/Fields/SelectFieldBase.cs index 0cb03b762..41eb92c35 100644 --- a/core/Piranha/Extend/Fields/SelectFieldBase.cs +++ b/core/Piranha/Extend/Fields/SelectFieldBase.cs @@ -9,8 +9,6 @@ */ using Newtonsoft.Json; -using System; -using System.Collections.Generic; namespace Piranha.Extend.Fields { diff --git a/core/Piranha/Extend/Fields/SelectFieldItem.cs b/core/Piranha/Extend/Fields/SelectFieldItem.cs index 5d49f1054..cdaa70fc9 100644 --- a/core/Piranha/Extend/Fields/SelectFieldItem.cs +++ b/core/Piranha/Extend/Fields/SelectFieldItem.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Fields { /// diff --git a/core/Piranha/Extend/Fields/Settings/ColorFieldSettingsAttribute.cs b/core/Piranha/Extend/Fields/Settings/ColorFieldSettingsAttribute.cs index 5ddc0fc10..cc2cf37e1 100644 --- a/core/Piranha/Extend/Fields/Settings/ColorFieldSettingsAttribute.cs +++ b/core/Piranha/Extend/Fields/Settings/ColorFieldSettingsAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Fields.Settings { /// diff --git a/core/Piranha/Extend/Fields/Settings/ContentFieldSettingsAttribute.cs b/core/Piranha/Extend/Fields/Settings/ContentFieldSettingsAttribute.cs index 5f3686adb..633226706 100644 --- a/core/Piranha/Extend/Fields/Settings/ContentFieldSettingsAttribute.cs +++ b/core/Piranha/Extend/Fields/Settings/ContentFieldSettingsAttribute.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Extend.Fields.Settings { /// diff --git a/core/Piranha/Extend/Fields/Settings/StringFieldSettingsAttribute.cs b/core/Piranha/Extend/Fields/Settings/StringFieldSettingsAttribute.cs index a2ffb7e3e..1a023dba4 100644 --- a/core/Piranha/Extend/Fields/Settings/StringFieldSettingsAttribute.cs +++ b/core/Piranha/Extend/Fields/Settings/StringFieldSettingsAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Fields.Settings { /// diff --git a/core/Piranha/Extend/Fields/Settings/TextFieldSettingsAttribute.cs b/core/Piranha/Extend/Fields/Settings/TextFieldSettingsAttribute.cs index a58104746..281332a55 100644 --- a/core/Piranha/Extend/Fields/Settings/TextFieldSettingsAttribute.cs +++ b/core/Piranha/Extend/Fields/Settings/TextFieldSettingsAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Fields.Settings { /// diff --git a/core/Piranha/Extend/Fields/SimpleField.cs b/core/Piranha/Extend/Fields/SimpleField.cs index 050c414ab..65303100d 100644 --- a/core/Piranha/Extend/Fields/SimpleField.cs +++ b/core/Piranha/Extend/Fields/SimpleField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Extend.Fields { /// diff --git a/core/Piranha/Extend/Fields/VideoField.cs b/core/Piranha/Extend/Fields/VideoField.cs index c5a13ebb5..2bf7cc6aa 100644 --- a/core/Piranha/Extend/Fields/VideoField.cs +++ b/core/Piranha/Extend/Fields/VideoField.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend.Fields diff --git a/core/Piranha/Extend/RegionAttribute.cs b/core/Piranha/Extend/RegionAttribute.cs index 175dc49ed..dc8371e25 100644 --- a/core/Piranha/Extend/RegionAttribute.cs +++ b/core/Piranha/Extend/RegionAttribute.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; namespace Piranha.Extend diff --git a/core/Piranha/Extend/Serializers/AudioFieldSerializer.cs b/core/Piranha/Extend/Serializers/AudioFieldSerializer.cs index c78694e0d..85cb7d773 100644 --- a/core/Piranha/Extend/Serializers/AudioFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/AudioFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/CheckBoxFieldSerializer.cs b/core/Piranha/Extend/Serializers/CheckBoxFieldSerializer.cs index c8ffe0793..998f0b6fc 100644 --- a/core/Piranha/Extend/Serializers/CheckBoxFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/CheckBoxFieldSerializer.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Serializers { public class CheckBoxFieldSerializer : ISerializer where T : Fields.SimpleField diff --git a/core/Piranha/Extend/Serializers/ContentFieldSerializer.cs b/core/Piranha/Extend/Serializers/ContentFieldSerializer.cs index 73bb4a8ef..9ede45fde 100644 --- a/core/Piranha/Extend/Serializers/ContentFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/ContentFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/DataSelectFieldSerializer.cs b/core/Piranha/Extend/Serializers/DataSelectFieldSerializer.cs index bccf8d4b4..95ff44fc3 100644 --- a/core/Piranha/Extend/Serializers/DataSelectFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/DataSelectFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/DateFieldSerializer.cs b/core/Piranha/Extend/Serializers/DateFieldSerializer.cs index 8aa544d27..3acebffab 100644 --- a/core/Piranha/Extend/Serializers/DateFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/DateFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/DocumentFieldSerializer.cs b/core/Piranha/Extend/Serializers/DocumentFieldSerializer.cs index d0b99793b..a3a03cd76 100644 --- a/core/Piranha/Extend/Serializers/DocumentFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/DocumentFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/ImageFieldSerializer.cs b/core/Piranha/Extend/Serializers/ImageFieldSerializer.cs index f7e643e8c..5fe62d319 100644 --- a/core/Piranha/Extend/Serializers/ImageFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/ImageFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/IntegerFieldSerializer.cs b/core/Piranha/Extend/Serializers/IntegerFieldSerializer.cs index 097c83aa6..df006caeb 100644 --- a/core/Piranha/Extend/Serializers/IntegerFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/IntegerFieldSerializer.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Serializers { public class IntegerFieldSerializer : ISerializer where T : Fields.SimpleField diff --git a/core/Piranha/Extend/Serializers/MediaFieldSerializer.cs b/core/Piranha/Extend/Serializers/MediaFieldSerializer.cs index aba3a128e..c676b8648 100644 --- a/core/Piranha/Extend/Serializers/MediaFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/MediaFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/PageFieldSerializer.cs b/core/Piranha/Extend/Serializers/PageFieldSerializer.cs index a5b8e78f8..88023b1a8 100644 --- a/core/Piranha/Extend/Serializers/PageFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/PageFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/PostFieldSerializer.cs b/core/Piranha/Extend/Serializers/PostFieldSerializer.cs index a6a636141..e4f9cf321 100644 --- a/core/Piranha/Extend/Serializers/PostFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/PostFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/SelectFieldSerializer.cs b/core/Piranha/Extend/Serializers/SelectFieldSerializer.cs index f21259241..437922e21 100644 --- a/core/Piranha/Extend/Serializers/SelectFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/SelectFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extend/Serializers/StringFieldSerializer.cs b/core/Piranha/Extend/Serializers/StringFieldSerializer.cs index a21bafe40..1c44bd2a2 100644 --- a/core/Piranha/Extend/Serializers/StringFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/StringFieldSerializer.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend.Serializers { public class StringFieldSerializer : ISerializer where T : Fields.SimpleField diff --git a/core/Piranha/Extend/Serializers/VideoFieldSerializer.cs b/core/Piranha/Extend/Serializers/VideoFieldSerializer.cs index db86ca49e..5ed12e244 100644 --- a/core/Piranha/Extend/Serializers/VideoFieldSerializer.cs +++ b/core/Piranha/Extend/Serializers/VideoFieldSerializer.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; namespace Piranha.Extend.Serializers diff --git a/core/Piranha/Extensions/PiranhaDistributedCacheExtensions.cs b/core/Piranha/Extensions/PiranhaDistributedCacheExtensions.cs index 082588c68..a15f7c650 100644 --- a/core/Piranha/Extensions/PiranhaDistributedCacheExtensions.cs +++ b/core/Piranha/Extensions/PiranhaDistributedCacheExtensions.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Linq; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.DependencyInjection; using Piranha; diff --git a/core/Piranha/Extensions/PiranhaMemoryCacheExtensions.cs b/core/Piranha/Extensions/PiranhaMemoryCacheExtensions.cs index ee0e0c264..b5cc20683 100644 --- a/core/Piranha/Extensions/PiranhaMemoryCacheExtensions.cs +++ b/core/Piranha/Extensions/PiranhaMemoryCacheExtensions.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Linq; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection; using Piranha; diff --git a/core/Piranha/Extensions/PiranhaStartupExtensions.cs b/core/Piranha/Extensions/PiranhaStartupExtensions.cs index a537656a4..a002ca110 100644 --- a/core/Piranha/Extensions/PiranhaStartupExtensions.cs +++ b/core/Piranha/Extensions/PiranhaStartupExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.Extensions.DependencyInjection; using Piranha; using Piranha.Services; diff --git a/core/Piranha/IApi.cs b/core/Piranha/IApi.cs index 53510e2d9..0d986777d 100644 --- a/core/Piranha/IApi.cs +++ b/core/Piranha/IApi.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Services; namespace Piranha diff --git a/core/Piranha/IImageProcessor.cs b/core/Piranha/IImageProcessor.cs index d4d69ab99..b3ca4dcbb 100644 --- a/core/Piranha/IImageProcessor.cs +++ b/core/Piranha/IImageProcessor.cs @@ -8,8 +8,6 @@ * */ -using System.IO; - namespace Piranha { /// diff --git a/core/Piranha/ISearch.cs b/core/Piranha/ISearch.cs index 52f8c3990..0c61d1a86 100644 --- a/core/Piranha/ISearch.cs +++ b/core/Piranha/ISearch.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Piranha.Models; namespace Piranha diff --git a/core/Piranha/IStorage.cs b/core/Piranha/IStorage.cs index 8731a1b8b..a3a9ca103 100644 --- a/core/Piranha/IStorage.cs +++ b/core/Piranha/IStorage.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Piranha.Models; namespace Piranha diff --git a/core/Piranha/IStorageSession.cs b/core/Piranha/IStorageSession.cs index 4888ccd9e..ff04f566e 100644 --- a/core/Piranha/IStorageSession.cs +++ b/core/Piranha/IStorageSession.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.IO; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha diff --git a/core/Piranha/Models/Alias.cs b/core/Piranha/Models/Alias.cs index 4140203a9..b24dd91fd 100644 --- a/core/Piranha/Models/Alias.cs +++ b/core/Piranha/Models/Alias.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/Comment.cs b/core/Piranha/Models/Comment.cs index 2d254c1da..5f4e2bef7 100644 --- a/core/Piranha/Models/Comment.cs +++ b/core/Piranha/Models/Comment.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/Content.cs b/core/Piranha/Models/Content.cs index 35bc302d2..a6e7488e6 100644 --- a/core/Piranha/Models/Content.cs +++ b/core/Piranha/Models/Content.cs @@ -8,8 +8,6 @@ * */ -using System.Threading.Tasks; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/ContentBase.cs b/core/Piranha/Models/ContentBase.cs index 38076191e..6a604fbef 100644 --- a/core/Piranha/Models/ContentBase.cs +++ b/core/Piranha/Models/ContentBase.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/ContentGroup.cs b/core/Piranha/Models/ContentGroup.cs index fc8481167..ced9f042b 100644 --- a/core/Piranha/Models/ContentGroup.cs +++ b/core/Piranha/Models/ContentGroup.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/ContentInfo.cs b/core/Piranha/Models/ContentInfo.cs index 691859efd..910be2c10 100644 --- a/core/Piranha/Models/ContentInfo.cs +++ b/core/Piranha/Models/ContentInfo.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/ContentType.cs b/core/Piranha/Models/ContentType.cs index 4441bcac8..99ed2ebc7 100644 --- a/core/Piranha/Models/ContentType.cs +++ b/core/Piranha/Models/ContentType.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Linq; namespace Piranha.Models { diff --git a/core/Piranha/Models/ContentTypeBase.cs b/core/Piranha/Models/ContentTypeBase.cs index cae5b882d..498a8295f 100644 --- a/core/Piranha/Models/ContentTypeBase.cs +++ b/core/Piranha/Models/ContentTypeBase.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/ContentTypeEditor.cs b/core/Piranha/Models/ContentTypeEditor.cs index 5ae355a51..a6973535b 100644 --- a/core/Piranha/Models/ContentTypeEditor.cs +++ b/core/Piranha/Models/ContentTypeEditor.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/ContentTypeField.cs b/core/Piranha/Models/ContentTypeField.cs index 516ac02b3..2755ab894 100644 --- a/core/Piranha/Models/ContentTypeField.cs +++ b/core/Piranha/Models/ContentTypeField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/ContentTypeRegion.cs b/core/Piranha/Models/ContentTypeRegion.cs index 22addadbd..62de0cb41 100644 --- a/core/Piranha/Models/ContentTypeRegion.cs +++ b/core/Piranha/Models/ContentTypeRegion.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/ContentTypeRoute.cs b/core/Piranha/Models/ContentTypeRoute.cs index d7fdf15d1..1d48ff045 100644 --- a/core/Piranha/Models/ContentTypeRoute.cs +++ b/core/Piranha/Models/ContentTypeRoute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/DynamicContent.cs b/core/Piranha/Models/DynamicContent.cs index 4e2694ff6..6f664de24 100644 --- a/core/Piranha/Models/DynamicContent.cs +++ b/core/Piranha/Models/DynamicContent.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.Dynamic; namespace Piranha.Models diff --git a/core/Piranha/Models/DynamicPage.cs b/core/Piranha/Models/DynamicPage.cs index b4e23566d..289593e94 100644 --- a/core/Piranha/Models/DynamicPage.cs +++ b/core/Piranha/Models/DynamicPage.cs @@ -8,7 +8,6 @@ * */ -using System; using System.Dynamic; namespace Piranha.Models diff --git a/core/Piranha/Models/DynamicPost.cs b/core/Piranha/Models/DynamicPost.cs index 57552e0a2..307dd40b7 100644 --- a/core/Piranha/Models/DynamicPost.cs +++ b/core/Piranha/Models/DynamicPost.cs @@ -8,7 +8,6 @@ * */ -using System; using System.Dynamic; namespace Piranha.Models diff --git a/core/Piranha/Models/DynamicSiteContent.cs b/core/Piranha/Models/DynamicSiteContent.cs index 46ce7f97b..222f732e2 100644 --- a/core/Piranha/Models/DynamicSiteContent.cs +++ b/core/Piranha/Models/DynamicSiteContent.cs @@ -8,7 +8,6 @@ * */ -using System; using System.Dynamic; namespace Piranha.Models diff --git a/core/Piranha/Models/FieldOption.cs b/core/Piranha/Models/FieldOption.cs index 23c9d4ae3..52986825c 100644 --- a/core/Piranha/Models/FieldOption.cs +++ b/core/Piranha/Models/FieldOption.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/GenericPage.cs b/core/Piranha/Models/GenericPage.cs index 22fca1a07..9cf19af26 100644 --- a/core/Piranha/Models/GenericPage.cs +++ b/core/Piranha/Models/GenericPage.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading.Tasks; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/IBlockContent.cs b/core/Piranha/Models/IBlockContent.cs index 418ef35c5..54b110e2f 100644 --- a/core/Piranha/Models/IBlockContent.cs +++ b/core/Piranha/Models/IBlockContent.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Models { public interface IBlockContent diff --git a/core/Piranha/Models/IModel.cs b/core/Piranha/Models/IModel.cs index d9a11d812..1553e8cf1 100644 --- a/core/Piranha/Models/IModel.cs +++ b/core/Piranha/Models/IModel.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { public interface ITypeModel diff --git a/core/Piranha/Models/ITaggedContent.cs b/core/Piranha/Models/ITaggedContent.cs index 46b474ce0..bf14c9c91 100644 --- a/core/Piranha/Models/ITaggedContent.cs +++ b/core/Piranha/Models/ITaggedContent.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/Language.cs b/core/Piranha/Models/Language.cs index a7a62b800..54568a62a 100644 --- a/core/Piranha/Models/Language.cs +++ b/core/Piranha/Models/Language.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/Media.cs b/core/Piranha/Models/Media.cs index b6f6bbec3..cfa06126c 100644 --- a/core/Piranha/Models/Media.cs +++ b/core/Piranha/Models/Media.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/MediaContent.cs b/core/Piranha/Models/MediaContent.cs index d87e6c3d2..6aeb2c48e 100644 --- a/core/Piranha/Models/MediaContent.cs +++ b/core/Piranha/Models/MediaContent.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.IO; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/MediaFolder.cs b/core/Piranha/Models/MediaFolder.cs index 2945d4839..9a0822bf6 100644 --- a/core/Piranha/Models/MediaFolder.cs +++ b/core/Piranha/Models/MediaFolder.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/MediaStructure.cs b/core/Piranha/Models/MediaStructure.cs index 8e77901be..6fd415f0a 100644 --- a/core/Piranha/Models/MediaStructure.cs +++ b/core/Piranha/Models/MediaStructure.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/MediaStructureItem.cs b/core/Piranha/Models/MediaStructureItem.cs index ce1387957..b787e1fbc 100644 --- a/core/Piranha/Models/MediaStructureItem.cs +++ b/core/Piranha/Models/MediaStructureItem.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/MediaType.cs b/core/Piranha/Models/MediaType.cs index 5b3077fa9..c563b540b 100644 --- a/core/Piranha/Models/MediaType.cs +++ b/core/Piranha/Models/MediaType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { public enum MediaType diff --git a/core/Piranha/Models/MediaVersion.cs b/core/Piranha/Models/MediaVersion.cs index 8eec638a6..29abf6c33 100644 --- a/core/Piranha/Models/MediaVersion.cs +++ b/core/Piranha/Models/MediaVersion.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/Page.cs b/core/Piranha/Models/Page.cs index 484c891ff..1ba24f47f 100644 --- a/core/Piranha/Models/Page.cs +++ b/core/Piranha/Models/Page.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/PageBase.cs b/core/Piranha/Models/PageBase.cs index 74b39c8b9..cbfdcc582 100644 --- a/core/Piranha/Models/PageBase.cs +++ b/core/Piranha/Models/PageBase.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/PageComment.cs b/core/Piranha/Models/PageComment.cs index a85fd4478..3c64592f9 100644 --- a/core/Piranha/Models/PageComment.cs +++ b/core/Piranha/Models/PageComment.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/PageInfo.cs b/core/Piranha/Models/PageInfo.cs index 8bba159cb..a25bdfddc 100644 --- a/core/Piranha/Models/PageInfo.cs +++ b/core/Piranha/Models/PageInfo.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/PageType.cs b/core/Piranha/Models/PageType.cs index b3ce176c7..b8cb61ac1 100644 --- a/core/Piranha/Models/PageType.cs +++ b/core/Piranha/Models/PageType.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/Param.cs b/core/Piranha/Models/Param.cs index 6ac27928b..171dcbd73 100644 --- a/core/Piranha/Models/Param.cs +++ b/core/Piranha/Models/Param.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/Post.cs b/core/Piranha/Models/Post.cs index 45ebe0ef4..0da38be1f 100644 --- a/core/Piranha/Models/Post.cs +++ b/core/Piranha/Models/Post.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading.Tasks; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/PostArchive.cs b/core/Piranha/Models/PostArchive.cs index af7070e99..bec24ada6 100644 --- a/core/Piranha/Models/PostArchive.cs +++ b/core/Piranha/Models/PostArchive.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/PostBase.cs b/core/Piranha/Models/PostBase.cs index a529d5be9..6f10e9b84 100644 --- a/core/Piranha/Models/PostBase.cs +++ b/core/Piranha/Models/PostBase.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/PostComment.cs b/core/Piranha/Models/PostComment.cs index 2600452fe..9b5abbefa 100644 --- a/core/Piranha/Models/PostComment.cs +++ b/core/Piranha/Models/PostComment.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/PostInfo.cs b/core/Piranha/Models/PostInfo.cs index 47a02a3ad..d416ad801 100644 --- a/core/Piranha/Models/PostInfo.cs +++ b/core/Piranha/Models/PostInfo.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/PostType.cs b/core/Piranha/Models/PostType.cs index 277d596fa..41556c44b 100644 --- a/core/Piranha/Models/PostType.cs +++ b/core/Piranha/Models/PostType.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/RegionList.cs b/core/Piranha/Models/RegionList.cs index 38fc7ce7f..27859f38d 100644 --- a/core/Piranha/Models/RegionList.cs +++ b/core/Piranha/Models/RegionList.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/RoutedContentBase.cs b/core/Piranha/Models/RoutedContentBase.cs index 1a75fc83e..897343aa4 100644 --- a/core/Piranha/Models/RoutedContentBase.cs +++ b/core/Piranha/Models/RoutedContentBase.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Piranha.Extend.Fields; diff --git a/core/Piranha/Models/Site.cs b/core/Piranha/Models/Site.cs index 76f98e5e3..1a4b6652b 100644 --- a/core/Piranha/Models/Site.cs +++ b/core/Piranha/Models/Site.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; using Piranha.Extend.Fields; diff --git a/core/Piranha/Models/SiteContent.cs b/core/Piranha/Models/SiteContent.cs index da0781d55..efc9f5e3b 100644 --- a/core/Piranha/Models/SiteContent.cs +++ b/core/Piranha/Models/SiteContent.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading.Tasks; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/SiteContentBase.cs b/core/Piranha/Models/SiteContentBase.cs index 9f95b6d6a..c680ff76d 100644 --- a/core/Piranha/Models/SiteContentBase.cs +++ b/core/Piranha/Models/SiteContentBase.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/SiteType.cs b/core/Piranha/Models/SiteType.cs index 735525c6e..c253c919d 100644 --- a/core/Piranha/Models/SiteType.cs +++ b/core/Piranha/Models/SiteType.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Linq; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/Sitemap.cs b/core/Piranha/Models/Sitemap.cs index 86d44ff9b..1049fb853 100644 --- a/core/Piranha/Models/Sitemap.cs +++ b/core/Piranha/Models/Sitemap.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/SitemapItem.cs b/core/Piranha/Models/SitemapItem.cs index 71832ae35..0782483e0 100644 --- a/core/Piranha/Models/SitemapItem.cs +++ b/core/Piranha/Models/SitemapItem.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { [Serializable] diff --git a/core/Piranha/Models/Structure.cs b/core/Piranha/Models/Structure.cs index 9b2b444f7..96b2a94b1 100644 --- a/core/Piranha/Models/Structure.cs +++ b/core/Piranha/Models/Structure.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/StructureItem.cs b/core/Piranha/Models/StructureItem.cs index bdecd5d8d..3f09d8422 100644 --- a/core/Piranha/Models/StructureItem.cs +++ b/core/Piranha/Models/StructureItem.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/Taxonomy.cs b/core/Piranha/Models/Taxonomy.cs index 7552ab5d8..57131d36e 100644 --- a/core/Piranha/Models/Taxonomy.cs +++ b/core/Piranha/Models/Taxonomy.cs @@ -8,7 +8,6 @@ * */ -using System; using System.ComponentModel.DataAnnotations; namespace Piranha.Models diff --git a/core/Piranha/Models/TaxonomyType.cs b/core/Piranha/Models/TaxonomyType.cs index 80a659e56..318f41379 100644 --- a/core/Piranha/Models/TaxonomyType.cs +++ b/core/Piranha/Models/TaxonomyType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/TranslationStatus.cs b/core/Piranha/Models/TranslationStatus.cs index e66234ceb..8337d486a 100644 --- a/core/Piranha/Models/TranslationStatus.cs +++ b/core/Piranha/Models/TranslationStatus.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { /// diff --git a/core/Piranha/Models/TranslationSummary.cs b/core/Piranha/Models/TranslationSummary.cs index cc980ce4f..c06e8dc91 100644 --- a/core/Piranha/Models/TranslationSummary.cs +++ b/core/Piranha/Models/TranslationSummary.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Models { /// diff --git a/core/Piranha/NoCoverageAttribute.cs b/core/Piranha/NoCoverageAttribute.cs index ddbfdd7c3..9695aca20 100644 --- a/core/Piranha/NoCoverageAttribute.cs +++ b/core/Piranha/NoCoverageAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha { /// diff --git a/core/Piranha/Obsolete/FieldDescriptionAttribute.cs b/core/Piranha/Obsolete/FieldDescriptionAttribute.cs index 9d8541bd2..1b86a3518 100644 --- a/core/Piranha/Obsolete/FieldDescriptionAttribute.cs +++ b/core/Piranha/Obsolete/FieldDescriptionAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { /// diff --git a/core/Piranha/Obsolete/RegionDescriptionAttribute.cs b/core/Piranha/Obsolete/RegionDescriptionAttribute.cs index cd624c584..1f1159b28 100644 --- a/core/Piranha/Obsolete/RegionDescriptionAttribute.cs +++ b/core/Piranha/Obsolete/RegionDescriptionAttribute.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Extend { /// diff --git a/core/Piranha/PiranhaExtensions.cs b/core/Piranha/PiranhaExtensions.cs index cd2ad668a..a8ab314e3 100644 --- a/core/Piranha/PiranhaExtensions.cs +++ b/core/Piranha/PiranhaExtensions.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Piranha.Models; using Piranha.Runtime; diff --git a/core/Piranha/Repositories/IAliasRepository.cs b/core/Piranha/Repositories/IAliasRepository.cs index 2e4af8bf1..f696eedf7 100644 --- a/core/Piranha/Repositories/IAliasRepository.cs +++ b/core/Piranha/Repositories/IAliasRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IArchiveRepository.cs b/core/Piranha/Repositories/IArchiveRepository.cs index bb7de6fc8..070cfcaee 100644 --- a/core/Piranha/Repositories/IArchiveRepository.cs +++ b/core/Piranha/Repositories/IArchiveRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace Piranha.Repositories { public interface IArchiveRepository diff --git a/core/Piranha/Repositories/IContentGroupRepository.cs b/core/Piranha/Repositories/IContentGroupRepository.cs index b63c44144..b887193bc 100644 --- a/core/Piranha/Repositories/IContentGroupRepository.cs +++ b/core/Piranha/Repositories/IContentGroupRepository.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IContentRepository.cs b/core/Piranha/Repositories/IContentRepository.cs index 98b3d9a48..82b064a6e 100644 --- a/core/Piranha/Repositories/IContentRepository.cs +++ b/core/Piranha/Repositories/IContentRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IContentTypeRepository.cs b/core/Piranha/Repositories/IContentTypeRepository.cs index 77aa902eb..6d5e98183 100644 --- a/core/Piranha/Repositories/IContentTypeRepository.cs +++ b/core/Piranha/Repositories/IContentTypeRepository.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/ILanguageRespository.cs b/core/Piranha/Repositories/ILanguageRespository.cs index 6d6c0257e..198392d4c 100644 --- a/core/Piranha/Repositories/ILanguageRespository.cs +++ b/core/Piranha/Repositories/ILanguageRespository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IMediaRepository.cs b/core/Piranha/Repositories/IMediaRepository.cs index 8eac18010..238fb9332 100644 --- a/core/Piranha/Repositories/IMediaRepository.cs +++ b/core/Piranha/Repositories/IMediaRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IPageRepository.cs b/core/Piranha/Repositories/IPageRepository.cs index 729154e2d..5a0274b5f 100644 --- a/core/Piranha/Repositories/IPageRepository.cs +++ b/core/Piranha/Repositories/IPageRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IPageTypeRepository.cs b/core/Piranha/Repositories/IPageTypeRepository.cs index 6b20f6d17..10db4d501 100644 --- a/core/Piranha/Repositories/IPageTypeRepository.cs +++ b/core/Piranha/Repositories/IPageTypeRepository.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IParamRepository.cs b/core/Piranha/Repositories/IParamRepository.cs index eb416c054..fad31bd07 100644 --- a/core/Piranha/Repositories/IParamRepository.cs +++ b/core/Piranha/Repositories/IParamRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IPostRepository.cs b/core/Piranha/Repositories/IPostRepository.cs index 164a51812..d88f90a93 100644 --- a/core/Piranha/Repositories/IPostRepository.cs +++ b/core/Piranha/Repositories/IPostRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/IPostTypeRepository.cs b/core/Piranha/Repositories/IPostTypeRepository.cs index ca9589a90..31b2cda2b 100644 --- a/core/Piranha/Repositories/IPostTypeRepository.cs +++ b/core/Piranha/Repositories/IPostTypeRepository.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/ISiteRepository.cs b/core/Piranha/Repositories/ISiteRepository.cs index 3e3d08b2f..ead22e474 100644 --- a/core/Piranha/Repositories/ISiteRepository.cs +++ b/core/Piranha/Repositories/ISiteRepository.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Repositories/ISiteTypeRepository.cs b/core/Piranha/Repositories/ISiteTypeRepository.cs index 81525cfdd..444e72807 100644 --- a/core/Piranha/Repositories/ISiteTypeRepository.cs +++ b/core/Piranha/Repositories/ISiteTypeRepository.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Repositories diff --git a/core/Piranha/Runtime/AppBlock.cs b/core/Piranha/Runtime/AppBlock.cs index 7fe55921a..c262113d6 100644 --- a/core/Piranha/Runtime/AppBlock.cs +++ b/core/Piranha/Runtime/AppBlock.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Models; namespace Piranha.Runtime diff --git a/core/Piranha/Runtime/AppBlockList.cs b/core/Piranha/Runtime/AppBlockList.cs index fe75cef24..9a544a965 100644 --- a/core/Piranha/Runtime/AppBlockList.cs +++ b/core/Piranha/Runtime/AppBlockList.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Linq; using System.Reflection; using Piranha.Extend; using Piranha.Extend.Fields; diff --git a/core/Piranha/Runtime/AppDataItem.cs b/core/Piranha/Runtime/AppDataItem.cs index 3b1832a51..fa1c31b39 100644 --- a/core/Piranha/Runtime/AppDataItem.cs +++ b/core/Piranha/Runtime/AppDataItem.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Runtime { /// diff --git a/core/Piranha/Runtime/AppDataList.cs b/core/Piranha/Runtime/AppDataList.cs index 3248720f5..6935390ff 100644 --- a/core/Piranha/Runtime/AppDataList.cs +++ b/core/Piranha/Runtime/AppDataList.cs @@ -8,10 +8,7 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; -using System.Linq; namespace Piranha.Runtime { diff --git a/core/Piranha/Runtime/AppFieldList.cs b/core/Piranha/Runtime/AppFieldList.cs index db36b3fe7..236bc26cc 100644 --- a/core/Piranha/Runtime/AppFieldList.cs +++ b/core/Piranha/Runtime/AppFieldList.cs @@ -8,10 +8,8 @@ * */ -using Piranha.Extend; -using System.Linq; using System.Reflection; -using System.Threading.Tasks; +using Piranha.Extend; namespace Piranha.Runtime { diff --git a/core/Piranha/Runtime/AppInitMethod.cs b/core/Piranha/Runtime/AppInitMethod.cs index a2d04a35f..0ece90512 100644 --- a/core/Piranha/Runtime/AppInitMethod.cs +++ b/core/Piranha/Runtime/AppInitMethod.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace Piranha.Runtime diff --git a/core/Piranha/Runtime/AppMethod.cs b/core/Piranha/Runtime/AppMethod.cs index 73a55f739..bc56f955a 100644 --- a/core/Piranha/Runtime/AppMethod.cs +++ b/core/Piranha/Runtime/AppMethod.cs @@ -8,10 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.Reflection; -using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; namespace Piranha.Runtime diff --git a/core/Piranha/Runtime/AppModuleList.cs b/core/Piranha/Runtime/AppModuleList.cs index eeac2f3a4..2ca492d12 100644 --- a/core/Piranha/Runtime/AppModuleList.cs +++ b/core/Piranha/Runtime/AppModuleList.cs @@ -9,7 +9,6 @@ */ using Piranha.Extend; -using System; namespace Piranha.Runtime { diff --git a/core/Piranha/Runtime/CachedList.cs b/core/Piranha/Runtime/CachedList.cs index d32237e14..602036a5e 100644 --- a/core/Piranha/Runtime/CachedList.cs +++ b/core/Piranha/Runtime/CachedList.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Piranha.Models; namespace Piranha.Runtime diff --git a/core/Piranha/Runtime/HookManager.cs b/core/Piranha/Runtime/HookManager.cs index 046bb32b4..a691ba46e 100644 --- a/core/Piranha/Runtime/HookManager.cs +++ b/core/Piranha/Runtime/HookManager.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Collections.Generic; using Piranha.Models; namespace Piranha.Runtime diff --git a/core/Piranha/Runtime/MediaManager.cs b/core/Piranha/Runtime/MediaManager.cs index 1ea60efee..4a1708322 100644 --- a/core/Piranha/Runtime/MediaManager.cs +++ b/core/Piranha/Runtime/MediaManager.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System.IO; -using System.Linq; using Piranha.Models; namespace Piranha.Runtime diff --git a/core/Piranha/Runtime/SerializerManager.cs b/core/Piranha/Runtime/SerializerManager.cs index f206a7619..78caa64fe 100644 --- a/core/Piranha/Runtime/SerializerManager.cs +++ b/core/Piranha/Runtime/SerializerManager.cs @@ -9,8 +9,6 @@ */ using Piranha.Extend; -using System; -using System.Collections.Generic; namespace Piranha.Runtime { diff --git a/core/Piranha/Security/PermissionManager.cs b/core/Piranha/Security/PermissionManager.cs index a0a5a51ed..264a00a7e 100644 --- a/core/Piranha/Security/PermissionManager.cs +++ b/core/Piranha/Security/PermissionManager.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Security { /// diff --git a/core/Piranha/Services/AliasService.cs b/core/Piranha/Services/AliasService.cs index a02be758c..133ba1e28 100644 --- a/core/Piranha/Services/AliasService.cs +++ b/core/Piranha/Services/AliasService.cs @@ -8,10 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/ArchiveService.cs b/core/Piranha/Services/ArchiveService.cs index 9bbef19c3..b09bb1c42 100644 --- a/core/Piranha/Services/ArchiveService.cs +++ b/core/Piranha/Services/ArchiveService.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/ContentFactory.cs b/core/Piranha/Services/ContentFactory.cs index df5755c43..b697e2116 100644 --- a/core/Piranha/Services/ContentFactory.cs +++ b/core/Piranha/Services/ContentFactory.cs @@ -8,13 +8,8 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.Dynamic; -using System.Linq; -using System.Reflection; -using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Piranha.Extend; using Piranha.Models; diff --git a/core/Piranha/Services/ContentGroupService.cs b/core/Piranha/Services/ContentGroupService.cs index 72f991762..9a17acb05 100644 --- a/core/Piranha/Services/ContentGroupService.cs +++ b/core/Piranha/Services/ContentGroupService.cs @@ -8,10 +8,7 @@ * */ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Cache; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/ContentService.cs b/core/Piranha/Services/ContentService.cs index cb8de616f..0a85c7dcd 100644 --- a/core/Piranha/Services/ContentService.cs +++ b/core/Piranha/Services/ContentService.cs @@ -8,10 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/ContentTypeService.cs b/core/Piranha/Services/ContentTypeService.cs index 70ee0eff2..72ee7bc65 100644 --- a/core/Piranha/Services/ContentTypeService.cs +++ b/core/Piranha/Services/ContentTypeService.cs @@ -8,10 +8,7 @@ * */ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Cache; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/IAliasService.cs b/core/Piranha/Services/IAliasService.cs index 173f98fa6..e01598a43 100644 --- a/core/Piranha/Services/IAliasService.cs +++ b/core/Piranha/Services/IAliasService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IArchiveService.cs b/core/Piranha/Services/IArchiveService.cs index 1cc1dd594..2af541a95 100644 --- a/core/Piranha/Services/IArchiveService.cs +++ b/core/Piranha/Services/IArchiveService.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IContentFactory.cs b/core/Piranha/Services/IContentFactory.cs index 6d7468d42..e47ad7428 100644 --- a/core/Piranha/Services/IContentFactory.cs +++ b/core/Piranha/Services/IContentFactory.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IContentGroupService.cs b/core/Piranha/Services/IContentGroupService.cs index 7019ec333..3c15d6ef3 100644 --- a/core/Piranha/Services/IContentGroupService.cs +++ b/core/Piranha/Services/IContentGroupService.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IContentService.cs b/core/Piranha/Services/IContentService.cs index 7ce9c97b5..9cf9b3d27 100644 --- a/core/Piranha/Services/IContentService.cs +++ b/core/Piranha/Services/IContentService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IContentTypeService.cs b/core/Piranha/Services/IContentTypeService.cs index 67f083d01..b3af35208 100644 --- a/core/Piranha/Services/IContentTypeService.cs +++ b/core/Piranha/Services/IContentTypeService.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/ILanguageService.cs b/core/Piranha/Services/ILanguageService.cs index 49fea6861..603db5a06 100644 --- a/core/Piranha/Services/ILanguageService.cs +++ b/core/Piranha/Services/ILanguageService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IMediaService.cs b/core/Piranha/Services/IMediaService.cs index d97bb2df5..6474d5a4f 100644 --- a/core/Piranha/Services/IMediaService.cs +++ b/core/Piranha/Services/IMediaService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IPageService.cs b/core/Piranha/Services/IPageService.cs index 3b776308d..95a8ae6e6 100644 --- a/core/Piranha/Services/IPageService.cs +++ b/core/Piranha/Services/IPageService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IPageTypeService.cs b/core/Piranha/Services/IPageTypeService.cs index 72e135702..f35e6ca0a 100644 --- a/core/Piranha/Services/IPageTypeService.cs +++ b/core/Piranha/Services/IPageTypeService.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IParamService.cs b/core/Piranha/Services/IParamService.cs index 8294de0a9..bd5f22d41 100644 --- a/core/Piranha/Services/IParamService.cs +++ b/core/Piranha/Services/IParamService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IPostService.cs b/core/Piranha/Services/IPostService.cs index dd93e079b..8907899fb 100644 --- a/core/Piranha/Services/IPostService.cs +++ b/core/Piranha/Services/IPostService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/IPostTypeService.cs b/core/Piranha/Services/IPostTypeService.cs index ff7334054..741dc4575 100644 --- a/core/Piranha/Services/IPostTypeService.cs +++ b/core/Piranha/Services/IPostTypeService.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/ISiteService.cs b/core/Piranha/Services/ISiteService.cs index 7a520803a..df98d04c5 100644 --- a/core/Piranha/Services/ISiteService.cs +++ b/core/Piranha/Services/ISiteService.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/ISiteTypeService.cs b/core/Piranha/Services/ISiteTypeService.cs index 5669ba766..8bebe38e1 100644 --- a/core/Piranha/Services/ISiteTypeService.cs +++ b/core/Piranha/Services/ISiteTypeService.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Piranha.Models; namespace Piranha.Services diff --git a/core/Piranha/Services/LanguageService.cs b/core/Piranha/Services/LanguageService.cs index e60b542e4..a0da23809 100644 --- a/core/Piranha/Services/LanguageService.cs +++ b/core/Piranha/Services/LanguageService.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Cache; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/MediaService.cs b/core/Piranha/Services/MediaService.cs index fc409e370..9b51f11da 100644 --- a/core/Piranha/Services/MediaService.cs +++ b/core/Piranha/Services/MediaService.cs @@ -8,13 +8,8 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.IO; -using System.Linq; using System.Text; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/PageService.cs b/core/Piranha/Services/PageService.cs index e1f271d54..48aa000ea 100644 --- a/core/Piranha/Services/PageService.cs +++ b/core/Piranha/Services/PageService.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/PageTypeService.cs b/core/Piranha/Services/PageTypeService.cs index 08b644322..000368c82 100644 --- a/core/Piranha/Services/PageTypeService.cs +++ b/core/Piranha/Services/PageTypeService.cs @@ -8,10 +8,7 @@ * */ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/ParamService.cs b/core/Piranha/Services/ParamService.cs index 47c108fa7..dc4efaf62 100644 --- a/core/Piranha/Services/ParamService.cs +++ b/core/Piranha/Services/ParamService.cs @@ -8,10 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/PostService.cs b/core/Piranha/Services/PostService.cs index f7e079a7f..6c549d647 100644 --- a/core/Piranha/Services/PostService.cs +++ b/core/Piranha/Services/PostService.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/PostTypeService.cs b/core/Piranha/Services/PostTypeService.cs index 3efdbfff3..b3b0ee652 100644 --- a/core/Piranha/Services/PostTypeService.cs +++ b/core/Piranha/Services/PostTypeService.cs @@ -8,10 +8,7 @@ * */ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/SiteService.cs b/core/Piranha/Services/SiteService.cs index 2db143957..0d81b78c7 100644 --- a/core/Piranha/Services/SiteService.cs +++ b/core/Piranha/Services/SiteService.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Services/SiteTypeService.cs b/core/Piranha/Services/SiteTypeService.cs index 38a34d854..f24f10c21 100644 --- a/core/Piranha/Services/SiteTypeService.cs +++ b/core/Piranha/Services/SiteTypeService.cs @@ -8,10 +8,7 @@ * */ -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Piranha.Models; using Piranha.Repositories; diff --git a/core/Piranha/Utils.cs b/core/Piranha/Utils.cs index 00e1f43e5..a079bf9d2 100644 --- a/core/Piranha/Utils.cs +++ b/core/Piranha/Utils.cs @@ -8,15 +8,12 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.Globalization; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Text.RegularExpressions; -using System.Threading.Tasks; using Newtonsoft.Json; using Piranha.Extend; using Piranha.Runtime; diff --git a/data/Piranha.Data.EF.PostgreSql/DbFactory.cs b/data/Piranha.Data.EF.PostgreSql/DbFactory.cs index 4a9a8fefa..ce47e3158 100644 --- a/data/Piranha.Data.EF.PostgreSql/DbFactory.cs +++ b/data/Piranha.Data.EF.PostgreSql/DbFactory.cs @@ -11,8 +11,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -using Npgsql; -using Npgsql.EntityFrameworkCore; namespace Piranha.Data.EF.PostgreSql diff --git a/data/Piranha.Data.EF.PostgreSql/PostgreSqlDb.cs b/data/Piranha.Data.EF.PostgreSql/PostgreSqlDb.cs index cdc0fd53b..1f1e3c6e9 100644 --- a/data/Piranha.Data.EF.PostgreSql/PostgreSqlDb.cs +++ b/data/Piranha.Data.EF.PostgreSql/PostgreSqlDb.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.EntityFrameworkCore; namespace Piranha.Data.EF.PostgreSql diff --git a/data/Piranha.Data.EF.SQLServer/DbFactory.cs b/data/Piranha.Data.EF.SQLServer/DbFactory.cs index 9d79e3e1a..00aa3a3cc 100644 --- a/data/Piranha.Data.EF.SQLServer/DbFactory.cs +++ b/data/Piranha.Data.EF.SQLServer/DbFactory.cs @@ -11,7 +11,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -using Microsoft.EntityFrameworkCore.Infrastructure; namespace Piranha.Data.EF.SQLServer { diff --git a/data/Piranha.Data.EF.SQLite/DbFactory.cs b/data/Piranha.Data.EF.SQLite/DbFactory.cs index ba896ba47..22d26a13e 100644 --- a/data/Piranha.Data.EF.SQLite/DbFactory.cs +++ b/data/Piranha.Data.EF.SQLite/DbFactory.cs @@ -11,7 +11,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -using Microsoft.EntityFrameworkCore.Infrastructure; namespace Piranha.Data.EF.SQLite { diff --git a/data/Piranha.Data.EF/Data/Alias.cs b/data/Piranha.Data.EF/Data/Alias.cs index c503a8664..055d5b923 100644 --- a/data/Piranha.Data.EF/Data/Alias.cs +++ b/data/Piranha.Data.EF/Data/Alias.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/Block.cs b/data/Piranha.Data.EF/Data/Block.cs index 4cc9eee1c..1572e6256 100644 --- a/data/Piranha.Data.EF/Data/Block.cs +++ b/data/Piranha.Data.EF/Data/Block.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/BlockBase.cs b/data/Piranha.Data.EF/Data/BlockBase.cs index d7f20f1b1..244670786 100644 --- a/data/Piranha.Data.EF/Data/BlockBase.cs +++ b/data/Piranha.Data.EF/Data/BlockBase.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/BlockField.cs b/data/Piranha.Data.EF/Data/BlockField.cs index a121404ca..e34445e96 100644 --- a/data/Piranha.Data.EF/Data/BlockField.cs +++ b/data/Piranha.Data.EF/Data/BlockField.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/BlockFieldBase.cs b/data/Piranha.Data.EF/Data/BlockFieldBase.cs index f6112d3fd..ab72c2c07 100644 --- a/data/Piranha.Data.EF/Data/BlockFieldBase.cs +++ b/data/Piranha.Data.EF/Data/BlockFieldBase.cs @@ -8,9 +8,6 @@ * */ -using System; -using Newtonsoft.Json; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/Category.cs b/data/Piranha.Data.EF/Data/Category.cs index 1437b77b8..6c5eb3b5a 100644 --- a/data/Piranha.Data.EF/Data/Category.cs +++ b/data/Piranha.Data.EF/Data/Category.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/Comment.cs b/data/Piranha.Data.EF/Data/Comment.cs index 478c71172..695f2cb74 100644 --- a/data/Piranha.Data.EF/Data/Comment.cs +++ b/data/Piranha.Data.EF/Data/Comment.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/Content.cs b/data/Piranha.Data.EF/Data/Content.cs index 87da63f17..0a3ebe938 100644 --- a/data/Piranha.Data.EF/Data/Content.cs +++ b/data/Piranha.Data.EF/Data/Content.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentBase.cs b/data/Piranha.Data.EF/Data/ContentBase.cs index d04beb3c4..5ce0e8cef 100644 --- a/data/Piranha.Data.EF/Data/ContentBase.cs +++ b/data/Piranha.Data.EF/Data/ContentBase.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentBlock.cs b/data/Piranha.Data.EF/Data/ContentBlock.cs index b77e933ab..e1f974536 100644 --- a/data/Piranha.Data.EF/Data/ContentBlock.cs +++ b/data/Piranha.Data.EF/Data/ContentBlock.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/ContentBlockField.cs b/data/Piranha.Data.EF/Data/ContentBlockField.cs index a860e6d48..039e1644d 100644 --- a/data/Piranha.Data.EF/Data/ContentBlockField.cs +++ b/data/Piranha.Data.EF/Data/ContentBlockField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/ContentBlockFieldTranslation.cs b/data/Piranha.Data.EF/Data/ContentBlockFieldTranslation.cs index 26ba0c052..ade5f9482 100644 --- a/data/Piranha.Data.EF/Data/ContentBlockFieldTranslation.cs +++ b/data/Piranha.Data.EF/Data/ContentBlockFieldTranslation.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentField.cs b/data/Piranha.Data.EF/Data/ContentField.cs index c0bdd91c5..28f083349 100644 --- a/data/Piranha.Data.EF/Data/ContentField.cs +++ b/data/Piranha.Data.EF/Data/ContentField.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/ContentFieldBase.cs b/data/Piranha.Data.EF/Data/ContentFieldBase.cs index bf24eaf6d..a1f6a8964 100644 --- a/data/Piranha.Data.EF/Data/ContentFieldBase.cs +++ b/data/Piranha.Data.EF/Data/ContentFieldBase.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentFieldTranslation.cs b/data/Piranha.Data.EF/Data/ContentFieldTranslation.cs index 01a083f51..f7012eed1 100644 --- a/data/Piranha.Data.EF/Data/ContentFieldTranslation.cs +++ b/data/Piranha.Data.EF/Data/ContentFieldTranslation.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentGroup.cs b/data/Piranha.Data.EF/Data/ContentGroup.cs index f1f8c4684..1c68979d1 100644 --- a/data/Piranha.Data.EF/Data/ContentGroup.cs +++ b/data/Piranha.Data.EF/Data/ContentGroup.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentRevisionBase.cs b/data/Piranha.Data.EF/Data/ContentRevisionBase.cs index e941fd982..c7b59aa9b 100644 --- a/data/Piranha.Data.EF/Data/ContentRevisionBase.cs +++ b/data/Piranha.Data.EF/Data/ContentRevisionBase.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/ContentTaxonomy.cs b/data/Piranha.Data.EF/Data/ContentTaxonomy.cs index a9a70a398..885ee46c7 100644 --- a/data/Piranha.Data.EF/Data/ContentTaxonomy.cs +++ b/data/Piranha.Data.EF/Data/ContentTaxonomy.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/ContentTranslation.cs b/data/Piranha.Data.EF/Data/ContentTranslation.cs index 5d5c44df3..b1aa00e8e 100644 --- a/data/Piranha.Data.EF/Data/ContentTranslation.cs +++ b/data/Piranha.Data.EF/Data/ContentTranslation.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentType.cs b/data/Piranha.Data.EF/Data/ContentType.cs index 6b26dee19..99fdc795b 100644 --- a/data/Piranha.Data.EF/Data/ContentType.cs +++ b/data/Piranha.Data.EF/Data/ContentType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ContentTypeBase.cs b/data/Piranha.Data.EF/Data/ContentTypeBase.cs index 0e208243e..29817dc83 100644 --- a/data/Piranha.Data.EF/Data/ContentTypeBase.cs +++ b/data/Piranha.Data.EF/Data/ContentTypeBase.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/ICategorized.cs b/data/Piranha.Data.EF/Data/ICategorized.cs index 7b53bddac..84f14dc57 100644 --- a/data/Piranha.Data.EF/Data/ICategorized.cs +++ b/data/Piranha.Data.EF/Data/ICategorized.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/IContentBlock.cs b/data/Piranha.Data.EF/Data/IContentBlock.cs index 5f369ef49..76f364b54 100644 --- a/data/Piranha.Data.EF/Data/IContentBlock.cs +++ b/data/Piranha.Data.EF/Data/IContentBlock.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/ITranslatable.cs b/data/Piranha.Data.EF/Data/ITranslatable.cs index 498ba690a..79ecb9cd5 100644 --- a/data/Piranha.Data.EF/Data/ITranslatable.cs +++ b/data/Piranha.Data.EF/Data/ITranslatable.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/Language.cs b/data/Piranha.Data.EF/Data/Language.cs index cc73220d9..4474fb2f5 100644 --- a/data/Piranha.Data.EF/Data/Language.cs +++ b/data/Piranha.Data.EF/Data/Language.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/Media.cs b/data/Piranha.Data.EF/Data/Media.cs index cee7c89e1..640325078 100644 --- a/data/Piranha.Data.EF/Data/Media.cs +++ b/data/Piranha.Data.EF/Data/Media.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/MediaFolder.cs b/data/Piranha.Data.EF/Data/MediaFolder.cs index e1249b7f9..0c68618e8 100644 --- a/data/Piranha.Data.EF/Data/MediaFolder.cs +++ b/data/Piranha.Data.EF/Data/MediaFolder.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/MediaVersion.cs b/data/Piranha.Data.EF/Data/MediaVersion.cs index 8d6575f56..7f763e9b0 100644 --- a/data/Piranha.Data.EF/Data/MediaVersion.cs +++ b/data/Piranha.Data.EF/Data/MediaVersion.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/Page.cs b/data/Piranha.Data.EF/Data/Page.cs index c263c7b1a..3b67d0faa 100644 --- a/data/Piranha.Data.EF/Data/Page.cs +++ b/data/Piranha.Data.EF/Data/Page.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/PageBlock.cs b/data/Piranha.Data.EF/Data/PageBlock.cs index c14f1bdae..be198edaa 100644 --- a/data/Piranha.Data.EF/Data/PageBlock.cs +++ b/data/Piranha.Data.EF/Data/PageBlock.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PageComment.cs b/data/Piranha.Data.EF/Data/PageComment.cs index 8948c1ee0..b85d9d1f1 100644 --- a/data/Piranha.Data.EF/Data/PageComment.cs +++ b/data/Piranha.Data.EF/Data/PageComment.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/PageField.cs b/data/Piranha.Data.EF/Data/PageField.cs index 3cee96f6f..7d9008544 100644 --- a/data/Piranha.Data.EF/Data/PageField.cs +++ b/data/Piranha.Data.EF/Data/PageField.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PagePermission.cs b/data/Piranha.Data.EF/Data/PagePermission.cs index 15026e85c..b2c4b538f 100644 --- a/data/Piranha.Data.EF/Data/PagePermission.cs +++ b/data/Piranha.Data.EF/Data/PagePermission.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PageRevision.cs b/data/Piranha.Data.EF/Data/PageRevision.cs index b4e72fe58..87c950025 100644 --- a/data/Piranha.Data.EF/Data/PageRevision.cs +++ b/data/Piranha.Data.EF/Data/PageRevision.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { public class PageRevision : ContentRevisionBase diff --git a/data/Piranha.Data.EF/Data/PageType.cs b/data/Piranha.Data.EF/Data/PageType.cs index 6f5f1e0ac..090c0243a 100644 --- a/data/Piranha.Data.EF/Data/PageType.cs +++ b/data/Piranha.Data.EF/Data/PageType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/Param.cs b/data/Piranha.Data.EF/Data/Param.cs index 62b6bbc55..f4e8afefb 100644 --- a/data/Piranha.Data.EF/Data/Param.cs +++ b/data/Piranha.Data.EF/Data/Param.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Data/Post.cs b/data/Piranha.Data.EF/Data/Post.cs index 24e7826f6..977ec1c1e 100644 --- a/data/Piranha.Data.EF/Data/Post.cs +++ b/data/Piranha.Data.EF/Data/Post.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/PostBlock.cs b/data/Piranha.Data.EF/Data/PostBlock.cs index 7bcd60875..dfd185f67 100644 --- a/data/Piranha.Data.EF/Data/PostBlock.cs +++ b/data/Piranha.Data.EF/Data/PostBlock.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PostComment.cs b/data/Piranha.Data.EF/Data/PostComment.cs index eb90d1c2f..8b0a4a1e2 100644 --- a/data/Piranha.Data.EF/Data/PostComment.cs +++ b/data/Piranha.Data.EF/Data/PostComment.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/PostField.cs b/data/Piranha.Data.EF/Data/PostField.cs index 39e00d8e2..d43dc255e 100644 --- a/data/Piranha.Data.EF/Data/PostField.cs +++ b/data/Piranha.Data.EF/Data/PostField.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PostPermissions.cs b/data/Piranha.Data.EF/Data/PostPermissions.cs index a345a5394..f35acd60f 100644 --- a/data/Piranha.Data.EF/Data/PostPermissions.cs +++ b/data/Piranha.Data.EF/Data/PostPermissions.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PostRevision.cs b/data/Piranha.Data.EF/Data/PostRevision.cs index 3270d33d2..46fbe4b99 100644 --- a/data/Piranha.Data.EF/Data/PostRevision.cs +++ b/data/Piranha.Data.EF/Data/PostRevision.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { public class PostRevision : ContentRevisionBase diff --git a/data/Piranha.Data.EF/Data/PostTag.cs b/data/Piranha.Data.EF/Data/PostTag.cs index 99a1d822e..2364aa3e8 100644 --- a/data/Piranha.Data.EF/Data/PostTag.cs +++ b/data/Piranha.Data.EF/Data/PostTag.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/PostType.cs b/data/Piranha.Data.EF/Data/PostType.cs index b38b4ba43..92d696907 100644 --- a/data/Piranha.Data.EF/Data/PostType.cs +++ b/data/Piranha.Data.EF/Data/PostType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/RoutedContentBase.cs b/data/Piranha.Data.EF/Data/RoutedContentBase.cs index 477f3c66b..638588e0a 100644 --- a/data/Piranha.Data.EF/Data/RoutedContentBase.cs +++ b/data/Piranha.Data.EF/Data/RoutedContentBase.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/Site.cs b/data/Piranha.Data.EF/Data/Site.cs index 19b2a2d30..d1ab06088 100644 --- a/data/Piranha.Data.EF/Data/Site.cs +++ b/data/Piranha.Data.EF/Data/Site.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/SiteField.cs b/data/Piranha.Data.EF/Data/SiteField.cs index b07c52b2d..1e1505e35 100644 --- a/data/Piranha.Data.EF/Data/SiteField.cs +++ b/data/Piranha.Data.EF/Data/SiteField.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/SiteType.cs b/data/Piranha.Data.EF/Data/SiteType.cs index 44181d562..83eb99202 100644 --- a/data/Piranha.Data.EF/Data/SiteType.cs +++ b/data/Piranha.Data.EF/Data/SiteType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/Tag.cs b/data/Piranha.Data.EF/Data/Tag.cs index c8f81647a..ba77f1ce3 100644 --- a/data/Piranha.Data.EF/Data/Tag.cs +++ b/data/Piranha.Data.EF/Data/Tag.cs @@ -8,7 +8,6 @@ * */ -using System; using Newtonsoft.Json; namespace Piranha.Data diff --git a/data/Piranha.Data.EF/Data/Taxonomy.cs b/data/Piranha.Data.EF/Data/Taxonomy.cs index a173e8f10..009090af9 100644 --- a/data/Piranha.Data.EF/Data/Taxonomy.cs +++ b/data/Piranha.Data.EF/Data/Taxonomy.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/TaxonomyBase.cs b/data/Piranha.Data.EF/Data/TaxonomyBase.cs index 01d575899..636dcb9f9 100644 --- a/data/Piranha.Data.EF/Data/TaxonomyBase.cs +++ b/data/Piranha.Data.EF/Data/TaxonomyBase.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { [Serializable] diff --git a/data/Piranha.Data.EF/Data/TaxonomyType.cs b/data/Piranha.Data.EF/Data/TaxonomyType.cs index 89ec70c85..e3f29fc02 100644 --- a/data/Piranha.Data.EF/Data/TaxonomyType.cs +++ b/data/Piranha.Data.EF/Data/TaxonomyType.cs @@ -8,8 +8,6 @@ * */ -using System; - namespace Piranha.Data { /// diff --git a/data/Piranha.Data.EF/Db.cs b/data/Piranha.Data.EF/Db.cs index 9981ac83f..8abca9592 100644 --- a/data/Piranha.Data.EF/Db.cs +++ b/data/Piranha.Data.EF/Db.cs @@ -9,8 +9,6 @@ */ using Microsoft.EntityFrameworkCore; -using System; -using System.Linq; namespace Piranha { diff --git a/data/Piranha.Data.EF/IDb.cs b/data/Piranha.Data.EF/IDb.cs index 22c8d9d34..7e842890b 100644 --- a/data/Piranha.Data.EF/IDb.cs +++ b/data/Piranha.Data.EF/IDb.cs @@ -9,9 +9,6 @@ */ using Microsoft.EntityFrameworkCore; -using System; -using System.Threading; -using System.Threading.Tasks; namespace Piranha { diff --git a/data/Piranha.Data.EF/Module.cs b/data/Piranha.Data.EF/Module.cs index 9adec84e0..dfe064cc0 100644 --- a/data/Piranha.Data.EF/Module.cs +++ b/data/Piranha.Data.EF/Module.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Linq; using AutoMapper; using Piranha.Extend; diff --git a/data/Piranha.Data.EF/PiranhaEFExtensions.cs b/data/Piranha.Data.EF/PiranhaEFExtensions.cs index 0e43e17b7..ec326e97c 100644 --- a/data/Piranha.Data.EF/PiranhaEFExtensions.cs +++ b/data/Piranha.Data.EF/PiranhaEFExtensions.cs @@ -13,7 +13,6 @@ using Piranha; using Piranha.Repositories; using Piranha.Services; -using System; public static class PiranhaEFExtensions { diff --git a/data/Piranha.Data.EF/Repositories/AliasRepository.cs b/data/Piranha.Data.EF/Repositories/AliasRepository.cs index 4bcd30ff7..e28197ce0 100644 --- a/data/Piranha.Data.EF/Repositories/AliasRepository.cs +++ b/data/Piranha.Data.EF/Repositories/AliasRepository.cs @@ -8,13 +8,8 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Models; -using Piranha.Services; namespace Piranha.Repositories { diff --git a/data/Piranha.Data.EF/Repositories/ArchiveRepository.cs b/data/Piranha.Data.EF/Repositories/ArchiveRepository.cs index e30162af9..9f1e9d0f3 100644 --- a/data/Piranha.Data.EF/Repositories/ArchiveRepository.cs +++ b/data/Piranha.Data.EF/Repositories/ArchiveRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace Piranha.Repositories diff --git a/data/Piranha.Data.EF/Repositories/ContentGroupRepository.cs b/data/Piranha.Data.EF/Repositories/ContentGroupRepository.cs index 7105e6c95..36d4c365a 100644 --- a/data/Piranha.Data.EF/Repositories/ContentGroupRepository.cs +++ b/data/Piranha.Data.EF/Repositories/ContentGroupRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Data.EF; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Repositories/ContentRepository.cs b/data/Piranha.Data.EF/Repositories/ContentRepository.cs index 659029703..9ab53ec89 100644 --- a/data/Piranha.Data.EF/Repositories/ContentRepository.cs +++ b/data/Piranha.Data.EF/Repositories/ContentRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Data; using Piranha.Services; diff --git a/data/Piranha.Data.EF/Repositories/ContentTypeRepository.cs b/data/Piranha.Data.EF/Repositories/ContentTypeRepository.cs index b899b173e..36b00d0a3 100644 --- a/data/Piranha.Data.EF/Repositories/ContentTypeRepository.cs +++ b/data/Piranha.Data.EF/Repositories/ContentTypeRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Repositories/LanguageRepository.cs b/data/Piranha.Data.EF/Repositories/LanguageRepository.cs index 0a6efa75f..0c1ae2987 100644 --- a/data/Piranha.Data.EF/Repositories/LanguageRepository.cs +++ b/data/Piranha.Data.EF/Repositories/LanguageRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Repositories/MediaRepository.cs b/data/Piranha.Data.EF/Repositories/MediaRepository.cs index 4a6277720..a929e62a3 100644 --- a/data/Piranha.Data.EF/Repositories/MediaRepository.cs +++ b/data/Piranha.Data.EF/Repositories/MediaRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Data; using Piranha.Data.EF; diff --git a/data/Piranha.Data.EF/Repositories/PageRepository.cs b/data/Piranha.Data.EF/Repositories/PageRepository.cs index b466b9ee7..72a76830c 100644 --- a/data/Piranha.Data.EF/Repositories/PageRepository.cs +++ b/data/Piranha.Data.EF/Repositories/PageRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Piranha.Data; diff --git a/data/Piranha.Data.EF/Repositories/PageTypeRepository.cs b/data/Piranha.Data.EF/Repositories/PageTypeRepository.cs index 82bd888c1..c247093bb 100644 --- a/data/Piranha.Data.EF/Repositories/PageTypeRepository.cs +++ b/data/Piranha.Data.EF/Repositories/PageTypeRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Repositories/ParamRepository.cs b/data/Piranha.Data.EF/Repositories/ParamRepository.cs index 535f9d909..c4b582bf9 100644 --- a/data/Piranha.Data.EF/Repositories/ParamRepository.cs +++ b/data/Piranha.Data.EF/Repositories/ParamRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Repositories/PostRepository.cs b/data/Piranha.Data.EF/Repositories/PostRepository.cs index 9f5bc28e1..2a22a03bf 100644 --- a/data/Piranha.Data.EF/Repositories/PostRepository.cs +++ b/data/Piranha.Data.EF/Repositories/PostRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Piranha.Data; diff --git a/data/Piranha.Data.EF/Repositories/PostTypeRepository.cs b/data/Piranha.Data.EF/Repositories/PostTypeRepository.cs index bb73ab578..fc1223c60 100644 --- a/data/Piranha.Data.EF/Repositories/PostTypeRepository.cs +++ b/data/Piranha.Data.EF/Repositories/PostTypeRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Repositories/SiteRepository.cs b/data/Piranha.Data.EF/Repositories/SiteRepository.cs index c67af4779..3e98ae50d 100644 --- a/data/Piranha.Data.EF/Repositories/SiteRepository.cs +++ b/data/Piranha.Data.EF/Repositories/SiteRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Piranha.Data; using Piranha.Data.EF; diff --git a/data/Piranha.Data.EF/Repositories/SiteTypeRepository.cs b/data/Piranha.Data.EF/Repositories/SiteTypeRepository.cs index 40c36e7bc..b3e18dd08 100644 --- a/data/Piranha.Data.EF/Repositories/SiteTypeRepository.cs +++ b/data/Piranha.Data.EF/Repositories/SiteTypeRepository.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Services/ContentService.cs b/data/Piranha.Data.EF/Services/ContentService.cs index c5e35d59b..aad5236f8 100644 --- a/data/Piranha.Data.EF/Services/ContentService.cs +++ b/data/Piranha.Data.EF/Services/ContentService.cs @@ -8,12 +8,8 @@ * */ -using System; using System.Collections; -using System.Collections.Generic; using System.Dynamic; -using System.Linq; -using System.Threading.Tasks; using AutoMapper; using Piranha.Data; using Piranha.Models; diff --git a/data/Piranha.Data.EF/Services/ContentServiceFactory.cs b/data/Piranha.Data.EF/Services/ContentServiceFactory.cs index f51a3d82d..a5e54e29c 100644 --- a/data/Piranha.Data.EF/Services/ContentServiceFactory.cs +++ b/data/Piranha.Data.EF/Services/ContentServiceFactory.cs @@ -8,7 +8,6 @@ * */ -using System; using AutoMapper; using Piranha.Data.EF; diff --git a/data/Piranha.Data.EF/Services/IContentService.cs b/data/Piranha.Data.EF/Services/IContentService.cs index b0e9f8730..02f140e52 100644 --- a/data/Piranha.Data.EF/Services/IContentService.cs +++ b/data/Piranha.Data.EF/Services/IContentService.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - namespace Piranha.Services { public interface IContentService diff --git a/examples/MvcWeb/Models/StandardPost.cs b/examples/MvcWeb/Models/StandardPost.cs index c0bde546c..f86e50097 100644 --- a/examples/MvcWeb/Models/StandardPost.cs +++ b/examples/MvcWeb/Models/StandardPost.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Piranha.AttributeBuilder; using Piranha.Models; diff --git a/identity/Piranha.AspNetCore.Identity.MySQL/DbFactory.cs b/identity/Piranha.AspNetCore.Identity.MySQL/DbFactory.cs index 36635d63e..0a8127c72 100644 --- a/identity/Piranha.AspNetCore.Identity.MySQL/DbFactory.cs +++ b/identity/Piranha.AspNetCore.Identity.MySQL/DbFactory.cs @@ -1,13 +1,12 @@ #if DEBUG -using System.Data; /* * Copyright (c) 2019 aatmmr * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. - * + * * https://github.com/piranhacms/piranha.core.mysql - * + * */ using Microsoft.EntityFrameworkCore; @@ -27,7 +26,7 @@ public class DbFactory : IDesignTimeDbContextFactory /// /// The arguments /// The db context - public IdentityMySQLDb CreateDbContext(string[] args) + public IdentityMySQLDb CreateDbContext(string[] args) { var connectionString = "server=localhost;port=3306;database=piranha;uid=root;password=password"; diff --git a/identity/Piranha.AspNetCore.Identity.PostgreSQL/DbFactory.cs b/identity/Piranha.AspNetCore.Identity.PostgreSQL/DbFactory.cs index 4a8aef426..5f9982d48 100644 --- a/identity/Piranha.AspNetCore.Identity.PostgreSQL/DbFactory.cs +++ b/identity/Piranha.AspNetCore.Identity.PostgreSQL/DbFactory.cs @@ -11,7 +11,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -using Microsoft.EntityFrameworkCore.Infrastructure; namespace Piranha.AspNetCore.Identity.PostgreSQL { diff --git a/identity/Piranha.AspNetCore.Identity.SQLServer/DbFactory.cs b/identity/Piranha.AspNetCore.Identity.SQLServer/DbFactory.cs index 4cadba966..001714095 100644 --- a/identity/Piranha.AspNetCore.Identity.SQLServer/DbFactory.cs +++ b/identity/Piranha.AspNetCore.Identity.SQLServer/DbFactory.cs @@ -11,7 +11,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -using Microsoft.EntityFrameworkCore.Infrastructure; namespace Piranha.AspNetCore.Identity.SQLServer { diff --git a/identity/Piranha.AspNetCore.Identity.SQLite/DbFactory.cs b/identity/Piranha.AspNetCore.Identity.SQLite/DbFactory.cs index 55e9f7c67..afca3c095 100644 --- a/identity/Piranha.AspNetCore.Identity.SQLite/DbFactory.cs +++ b/identity/Piranha.AspNetCore.Identity.SQLite/DbFactory.cs @@ -11,7 +11,6 @@ using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; -using Microsoft.EntityFrameworkCore.Infrastructure; namespace Piranha.AspNetCore.Identity.SQLite { diff --git a/identity/Piranha.AspNetCore.Identity/Controllers/RoleController.cs b/identity/Piranha.AspNetCore.Identity/Controllers/RoleController.cs index 65cda0518..b8abc96e6 100644 --- a/identity/Piranha.AspNetCore.Identity/Controllers/RoleController.cs +++ b/identity/Piranha.AspNetCore.Identity/Controllers/RoleController.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Linq; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Piranha.AspNetCore.Identity.Models; diff --git a/identity/Piranha.AspNetCore.Identity/Controllers/UserController.cs b/identity/Piranha.AspNetCore.Identity/Controllers/UserController.cs index 37f9541cb..42686e4e5 100644 --- a/identity/Piranha.AspNetCore.Identity/Controllers/UserController.cs +++ b/identity/Piranha.AspNetCore.Identity/Controllers/UserController.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; diff --git a/identity/Piranha.AspNetCore.Identity/Data/Role.cs b/identity/Piranha.AspNetCore.Identity/Data/Role.cs index 7b956bcd0..f19e338e4 100644 --- a/identity/Piranha.AspNetCore.Identity/Data/Role.cs +++ b/identity/Piranha.AspNetCore.Identity/Data/Role.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Identity; namespace Piranha.AspNetCore.Identity.Data diff --git a/identity/Piranha.AspNetCore.Identity/Data/User.cs b/identity/Piranha.AspNetCore.Identity/Data/User.cs index cdbdb0119..88d349747 100644 --- a/identity/Piranha.AspNetCore.Identity/Data/User.cs +++ b/identity/Piranha.AspNetCore.Identity/Data/User.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Identity; namespace Piranha.AspNetCore.Identity.Data diff --git a/identity/Piranha.AspNetCore.Identity/Db.cs b/identity/Piranha.AspNetCore.Identity/Db.cs index bb7ea3b17..5bad73c3b 100644 --- a/identity/Piranha.AspNetCore.Identity/Db.cs +++ b/identity/Piranha.AspNetCore.Identity/Db.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Linq; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; diff --git a/identity/Piranha.AspNetCore.Identity/DefaultIdentitySeed.cs b/identity/Piranha.AspNetCore.Identity/DefaultIdentitySeed.cs index c8f92afcb..9a7ddc4c4 100644 --- a/identity/Piranha.AspNetCore.Identity/DefaultIdentitySeed.cs +++ b/identity/Piranha.AspNetCore.Identity/DefaultIdentitySeed.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Piranha.AspNetCore.Identity.Data; diff --git a/identity/Piranha.AspNetCore.Identity/IDb.cs b/identity/Piranha.AspNetCore.Identity/IDb.cs index 83bc172e6..fb7a2ab2f 100644 --- a/identity/Piranha.AspNetCore.Identity/IDb.cs +++ b/identity/Piranha.AspNetCore.Identity/IDb.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Threading; -using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Piranha.AspNetCore.Identity.Data; diff --git a/identity/Piranha.AspNetCore.Identity/IIdentitySeed.cs b/identity/Piranha.AspNetCore.Identity/IIdentitySeed.cs index c32a17787..1f0e8ec27 100644 --- a/identity/Piranha.AspNetCore.Identity/IIdentitySeed.cs +++ b/identity/Piranha.AspNetCore.Identity/IIdentitySeed.cs @@ -8,8 +8,6 @@ * */ -using System.Threading.Tasks; - namespace Piranha.AspNetCore.Identity { /// diff --git a/identity/Piranha.AspNetCore.Identity/IdentityModuleExtensions.cs b/identity/Piranha.AspNetCore.Identity/IdentityModuleExtensions.cs index 683fe06da..02ac5a8ff 100644 --- a/identity/Piranha.AspNetCore.Identity/IdentityModuleExtensions.cs +++ b/identity/Piranha.AspNetCore.Identity/IdentityModuleExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; diff --git a/identity/Piranha.AspNetCore.Identity/IdentitySecurity.cs b/identity/Piranha.AspNetCore.Identity/IdentitySecurity.cs index 864077b7b..caf0c9428 100644 --- a/identity/Piranha.AspNetCore.Identity/IdentitySecurity.cs +++ b/identity/Piranha.AspNetCore.Identity/IdentitySecurity.cs @@ -8,7 +8,6 @@ * */ -using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Piranha.AspNetCore.Identity.Data; using Piranha.Manager.LocalAuth; diff --git a/identity/Piranha.AspNetCore.Identity/IdentityStartupExtensions.cs b/identity/Piranha.AspNetCore.Identity/IdentityStartupExtensions.cs index 6130cfe9a..8e3cb2b8b 100644 --- a/identity/Piranha.AspNetCore.Identity/IdentityStartupExtensions.cs +++ b/identity/Piranha.AspNetCore.Identity/IdentityStartupExtensions.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; diff --git a/identity/Piranha.AspNetCore.Identity/Models/RoleEditModel.cs b/identity/Piranha.AspNetCore.Identity/Models/RoleEditModel.cs index d940aa594..bc68874a5 100644 --- a/identity/Piranha.AspNetCore.Identity/Models/RoleEditModel.cs +++ b/identity/Piranha.AspNetCore.Identity/Models/RoleEditModel.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Microsoft.AspNetCore.Identity; using Piranha.AspNetCore.Identity.Data; diff --git a/identity/Piranha.AspNetCore.Identity/Models/RoleListModel.cs b/identity/Piranha.AspNetCore.Identity/Models/RoleListModel.cs index 3c71cf78d..804490d92 100644 --- a/identity/Piranha.AspNetCore.Identity/Models/RoleListModel.cs +++ b/identity/Piranha.AspNetCore.Identity/Models/RoleListModel.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Piranha.AspNetCore.Identity.Models { public class RoleListModel diff --git a/identity/Piranha.AspNetCore.Identity/Models/UserEditModel.cs b/identity/Piranha.AspNetCore.Identity/Models/UserEditModel.cs index 68cd2c6aa..53b2f8bd7 100644 --- a/identity/Piranha.AspNetCore.Identity/Models/UserEditModel.cs +++ b/identity/Piranha.AspNetCore.Identity/Models/UserEditModel.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Piranha.AspNetCore.Identity.Data; diff --git a/identity/Piranha.AspNetCore.Identity/Models/UserListModel.cs b/identity/Piranha.AspNetCore.Identity/Models/UserListModel.cs index d684a89ab..35c60d576 100644 --- a/identity/Piranha.AspNetCore.Identity/Models/UserListModel.cs +++ b/identity/Piranha.AspNetCore.Identity/Models/UserListModel.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; - namespace Piranha.AspNetCore.Identity.Models { public class UserListModel diff --git a/identity/Piranha.AspNetCore.Identity/Module.cs b/identity/Piranha.AspNetCore.Identity/Module.cs index 2835b0171..c83ab6d9c 100644 --- a/identity/Piranha.AspNetCore.Identity/Module.cs +++ b/identity/Piranha.AspNetCore.Identity/Module.cs @@ -8,7 +8,6 @@ * */ -using System.Collections.Generic; using Piranha.Extend; using Piranha.Manager; using Piranha.Security; diff --git a/test/Piranha.Manager.Tests/ManagerScriptingTests.cs b/test/Piranha.Manager.Tests/ManagerScriptingTests.cs index dffbb7503..364d7b283 100644 --- a/test/Piranha.Manager.Tests/ManagerScriptingTests.cs +++ b/test/Piranha.Manager.Tests/ManagerScriptingTests.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.Linq; using Xunit; using Xunit.Abstractions; diff --git a/test/Piranha.Tests/AttributeBuilder/TypeBuilderTests.cs b/test/Piranha.Tests/AttributeBuilder/TypeBuilderTests.cs index 661c8fa4a..f1e3e8530 100644 --- a/test/Piranha.Tests/AttributeBuilder/TypeBuilderTests.cs +++ b/test/Piranha.Tests/AttributeBuilder/TypeBuilderTests.cs @@ -8,9 +8,6 @@ * */ -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Xunit; using Piranha.AttributeBuilder; using Piranha.Extend; diff --git a/test/Piranha.Tests/BaseTests.cs b/test/Piranha.Tests/BaseTests.cs index e5bf58cbd..8572da04e 100644 --- a/test/Piranha.Tests/BaseTests.cs +++ b/test/Piranha.Tests/BaseTests.cs @@ -8,7 +8,6 @@ * */ -using System; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Piranha.Data.EF.SQLite; diff --git a/test/Piranha.Tests/BaseTestsAsync.cs b/test/Piranha.Tests/BaseTestsAsync.cs index fef2b7af3..2780049a6 100644 --- a/test/Piranha.Tests/BaseTestsAsync.cs +++ b/test/Piranha.Tests/BaseTestsAsync.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/test/Piranha.Tests/Blocks.cs b/test/Piranha.Tests/Blocks.cs index d62de9d37..11920b593 100644 --- a/test/Piranha.Tests/Blocks.cs +++ b/test/Piranha.Tests/Blocks.cs @@ -8,11 +8,6 @@ * */ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; using Xunit; using Piranha.Data; using Piranha.Extend.Blocks; diff --git a/test/Piranha.Tests/Config.cs b/test/Piranha.Tests/Config.cs index 7476219a7..f7dda5c4f 100644 --- a/test/Piranha.Tests/Config.cs +++ b/test/Piranha.Tests/Config.cs @@ -8,10 +8,7 @@ * */ -using System.Threading.Tasks; using Xunit; -using Piranha.Repositories; -using Piranha.Services; namespace Piranha.Tests { diff --git a/test/Piranha.Tests/Fields.cs b/test/Piranha.Tests/Fields.cs index 9b4a9da4d..1da7654c5 100644 --- a/test/Piranha.Tests/Fields.cs +++ b/test/Piranha.Tests/Fields.cs @@ -8,10 +8,7 @@ * */ -using System; -using System.Linq; using System.Text; -using System.Threading.Tasks; using Xunit; using Piranha.Extend; using Piranha.Models; diff --git a/test/Piranha.Tests/Hooks/AliasHookTests.cs b/test/Piranha.Tests/Hooks/AliasHookTests.cs index 7d1c7e108..37c21f574 100644 --- a/test/Piranha.Tests/Hooks/AliasHookTests.cs +++ b/test/Piranha.Tests/Hooks/AliasHookTests.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Xunit; using Piranha.Models; diff --git a/test/Piranha.Tests/Hooks/ParamHookTests.cs b/test/Piranha.Tests/Hooks/ParamHookTests.cs index c23d27f0c..31cc2ca06 100644 --- a/test/Piranha.Tests/Hooks/ParamHookTests.cs +++ b/test/Piranha.Tests/Hooks/ParamHookTests.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Xunit; using Piranha.Models; diff --git a/test/Piranha.Tests/Hooks/SiteHookTests.cs b/test/Piranha.Tests/Hooks/SiteHookTests.cs index 01971406e..3047f15db 100644 --- a/test/Piranha.Tests/Hooks/SiteHookTests.cs +++ b/test/Piranha.Tests/Hooks/SiteHookTests.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Xunit; using Piranha.Models; diff --git a/test/Piranha.Tests/ImageSharp/MediaServiceTests.cs b/test/Piranha.Tests/ImageSharp/MediaServiceTests.cs index 699a7d207..33e82b458 100644 --- a/test/Piranha.Tests/ImageSharp/MediaServiceTests.cs +++ b/test/Piranha.Tests/ImageSharp/MediaServiceTests.cs @@ -8,13 +8,7 @@ * */ -using System; -using System.IO; -using System.Threading.Tasks; using Xunit; -using Piranha.ImageSharp; -using Piranha.Repositories; -using Piranha.Services; namespace Piranha.Tests.ImageSharp { diff --git a/test/Piranha.Tests/ImageSharp/ProcessorTests.cs b/test/Piranha.Tests/ImageSharp/ProcessorTests.cs index 2b0ed52fc..b0a5e34c2 100644 --- a/test/Piranha.Tests/ImageSharp/ProcessorTests.cs +++ b/test/Piranha.Tests/ImageSharp/ProcessorTests.cs @@ -8,7 +8,6 @@ * */ -using System.IO; using Xunit; using Piranha.ImageSharp; diff --git a/test/Piranha.Tests/MemCache.cs b/test/Piranha.Tests/MemCache.cs index 949f71955..01d27aadf 100644 --- a/test/Piranha.Tests/MemCache.cs +++ b/test/Piranha.Tests/MemCache.cs @@ -8,7 +8,6 @@ * */ -using System; using Xunit; namespace Piranha.Tests diff --git a/test/Piranha.Tests/Searchable.cs b/test/Piranha.Tests/Searchable.cs index c2aefbfb5..3341ff6ae 100644 --- a/test/Piranha.Tests/Searchable.cs +++ b/test/Piranha.Tests/Searchable.cs @@ -8,7 +8,6 @@ * */ -using System.Collections.Generic; using System.Text; using Xunit; using Piranha.Extend; diff --git a/test/Piranha.Tests/Serializers.cs b/test/Piranha.Tests/Serializers.cs index 629ecc908..0f57ee25f 100644 --- a/test/Piranha.Tests/Serializers.cs +++ b/test/Piranha.Tests/Serializers.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Extend.Fields; using Piranha.Extend.Serializers; using Piranha.Runtime; diff --git a/test/Piranha.Tests/Services/AliasTests.cs b/test/Piranha.Tests/Services/AliasTests.cs index a0268e87f..5d8900ce9 100644 --- a/test/Piranha.Tests/Services/AliasTests.cs +++ b/test/Piranha.Tests/Services/AliasTests.cs @@ -8,9 +8,6 @@ * */ -using System; -using System.Linq; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/CommentTests.cs b/test/Piranha.Tests/Services/CommentTests.cs index a32b593e5..963eb063a 100644 --- a/test/Piranha.Tests/Services/CommentTests.cs +++ b/test/Piranha.Tests/Services/CommentTests.cs @@ -8,10 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/ContentTests.cs b/test/Piranha.Tests/Services/ContentTests.cs index b116ebc55..5ce713b50 100644 --- a/test/Piranha.Tests/Services/ContentTests.cs +++ b/test/Piranha.Tests/Services/ContentTests.cs @@ -8,8 +8,6 @@ * */ -using System; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.Caching.Memory; using Xunit; diff --git a/test/Piranha.Tests/Services/MediaTests.cs b/test/Piranha.Tests/Services/MediaTests.cs index d1a40e16c..f14269729 100644 --- a/test/Piranha.Tests/Services/MediaTests.cs +++ b/test/Piranha.Tests/Services/MediaTests.cs @@ -8,10 +8,6 @@ * */ -using System; -using System.IO; -using System.Linq; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/PageTests.cs b/test/Piranha.Tests/Services/PageTests.cs index f20b8c3e3..c1aa048aa 100644 --- a/test/Piranha.Tests/Services/PageTests.cs +++ b/test/Piranha.Tests/Services/PageTests.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.DependencyInjection; diff --git a/test/Piranha.Tests/Services/PageTypeTests.cs b/test/Piranha.Tests/Services/PageTypeTests.cs index 9a2907a3d..2c602eca8 100644 --- a/test/Piranha.Tests/Services/PageTypeTests.cs +++ b/test/Piranha.Tests/Services/PageTypeTests.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/ParamTests.cs b/test/Piranha.Tests/Services/ParamTests.cs index 10f7e3d8b..435c4ed85 100644 --- a/test/Piranha.Tests/Services/ParamTests.cs +++ b/test/Piranha.Tests/Services/ParamTests.cs @@ -8,9 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/PostTests.cs b/test/Piranha.Tests/Services/PostTests.cs index c8bf26c6a..d39915686 100644 --- a/test/Piranha.Tests/Services/PostTests.cs +++ b/test/Piranha.Tests/Services/PostTests.cs @@ -8,11 +8,7 @@ * */ -using System; -using System.Collections.Generic; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Microsoft.Extensions.DependencyInjection; diff --git a/test/Piranha.Tests/Services/PostTypeTests.cs b/test/Piranha.Tests/Services/PostTypeTests.cs index 0d2115419..145fefbba 100644 --- a/test/Piranha.Tests/Services/PostTypeTests.cs +++ b/test/Piranha.Tests/Services/PostTypeTests.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/SiteTests.cs b/test/Piranha.Tests/Services/SiteTests.cs index cfe9239a0..469a5f6b5 100644 --- a/test/Piranha.Tests/Services/SiteTests.cs +++ b/test/Piranha.Tests/Services/SiteTests.cs @@ -8,10 +8,7 @@ * */ -using System; using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Services/SiteTypeTests.cs b/test/Piranha.Tests/Services/SiteTypeTests.cs index 13138491c..76b200785 100644 --- a/test/Piranha.Tests/Services/SiteTypeTests.cs +++ b/test/Piranha.Tests/Services/SiteTypeTests.cs @@ -8,8 +8,6 @@ * */ -using System.Collections.Generic; -using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Caching.Distributed; using Xunit; diff --git a/test/Piranha.Tests/Sitemaps.cs b/test/Piranha.Tests/Sitemaps.cs index a955207b7..0fdac5d73 100644 --- a/test/Piranha.Tests/Sitemaps.cs +++ b/test/Piranha.Tests/Sitemaps.cs @@ -9,7 +9,6 @@ */ using Piranha.Models; -using System; using Xunit; namespace Piranha.Tests diff --git a/test/Piranha.Tests/Taxonomies.cs b/test/Piranha.Tests/Taxonomies.cs index 83338344e..28440fbef 100644 --- a/test/Piranha.Tests/Taxonomies.cs +++ b/test/Piranha.Tests/Taxonomies.cs @@ -8,7 +8,6 @@ * */ -using System; using Xunit; namespace Piranha.Tests diff --git a/test/Piranha.Tests/Utils/DeepClone.cs b/test/Piranha.Tests/Utils/DeepClone.cs index 585a27810..5848864e4 100644 --- a/test/Piranha.Tests/Utils/DeepClone.cs +++ b/test/Piranha.Tests/Utils/DeepClone.cs @@ -8,7 +8,6 @@ * */ -using System; using Piranha.Models; using Xunit; diff --git a/test/Piranha.Tests/Utils/ETag.cs b/test/Piranha.Tests/Utils/ETag.cs index f8284b9a3..1ec7758c8 100644 --- a/test/Piranha.Tests/Utils/ETag.cs +++ b/test/Piranha.Tests/Utils/ETag.cs @@ -8,7 +8,6 @@ * */ -using System; using Xunit; namespace Piranha.Tests.Utils