diff --git a/QuestPDF.Examples/Engine/ExampleTestBase.cs b/QuestPDF.Examples/Engine/ExampleTestBase.cs index 63fd1db..c864af1 100644 --- a/QuestPDF.Examples/Engine/ExampleTestBase.cs +++ b/QuestPDF.Examples/Engine/ExampleTestBase.cs @@ -4,7 +4,6 @@ using System.IO; using System.Linq; using System.Reflection; using NUnit.Framework; -using QuestPDF.Drawing; using QuestPDF.Elements; using QuestPDF.Fluent; using QuestPDF.Infrastructure; diff --git a/QuestPDF.Examples/FrameExample.cs b/QuestPDF.Examples/FrameExample.cs index ae0e121..6e4598c 100644 --- a/QuestPDF.Examples/FrameExample.cs +++ b/QuestPDF.Examples/FrameExample.cs @@ -1,4 +1,3 @@ -using System.Linq; using QuestPDF.Examples.Engine; using QuestPDF.Fluent; using QuestPDF.Helpers; diff --git a/QuestPDF.ReportSample/DataSource.cs b/QuestPDF.ReportSample/DataSource.cs index 8b11c37..4061670 100644 --- a/QuestPDF.ReportSample/DataSource.cs +++ b/QuestPDF.ReportSample/DataSource.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Linq; using QuestPDF.Helpers; -using QuestPDF.ReportSample.Layouts; namespace QuestPDF.ReportSample { diff --git a/QuestPDF.ReportSample/Helpers.cs b/QuestPDF.ReportSample/Helpers.cs index 3c5e1c4..eca3cc5 100644 --- a/QuestPDF.ReportSample/Helpers.cs +++ b/QuestPDF.ReportSample/Helpers.cs @@ -1,6 +1,5 @@ using System; using System.IO; -using QuestPDF.ReportSample.Layouts; using SkiaSharp; namespace QuestPDF.ReportSample diff --git a/QuestPDF.ReportSample/Layouts/Helpers.cs b/QuestPDF.ReportSample/Layouts/Helpers.cs index 0604ed1..27e4636 100644 --- a/QuestPDF.ReportSample/Layouts/Helpers.cs +++ b/QuestPDF.ReportSample/Layouts/Helpers.cs @@ -1,5 +1,4 @@ using System; -using System.Drawing; using QuestPDF.Fluent; using QuestPDF.Helpers; using QuestPDF.Infrastructure; diff --git a/QuestPDF.ReportSample/Layouts/SectionTemplate.cs b/QuestPDF.ReportSample/Layouts/SectionTemplate.cs index d18ef20..bc1f790 100644 --- a/QuestPDF.ReportSample/Layouts/SectionTemplate.cs +++ b/QuestPDF.ReportSample/Layouts/SectionTemplate.cs @@ -1,5 +1,3 @@ -using System; -using System.Linq; using QuestPDF.Fluent; using QuestPDF.Helpers; using QuestPDF.Infrastructure; diff --git a/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs b/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs index 6509f9a..9fef731 100644 --- a/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs +++ b/QuestPDF.ReportSample/Layouts/TableOfContentsTemplate.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; +using System.Collections.Generic; using QuestPDF.Fluent; using QuestPDF.Infrastructure; diff --git a/QuestPDF.ReportSample/Tests.cs b/QuestPDF.ReportSample/Tests.cs index c681fc2..34e6ef4 100644 --- a/QuestPDF.ReportSample/Tests.cs +++ b/QuestPDF.ReportSample/Tests.cs @@ -4,7 +4,6 @@ using System.IO; using System.Linq; using NUnit.Framework; using QuestPDF.Fluent; -using QuestPDF.Infrastructure; using QuestPDF.ReportSample.Layouts; namespace QuestPDF.ReportSample diff --git a/QuestPDF.UnitTests/AspectRatioTests.cs b/QuestPDF.UnitTests/AspectRatioTests.cs index 33e83a3..3a201d3 100644 --- a/QuestPDF.UnitTests/AspectRatioTests.cs +++ b/QuestPDF.UnitTests/AspectRatioTests.cs @@ -1,5 +1,4 @@ -using Moq; -using NUnit.Framework; +using NUnit.Framework; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Elements; using QuestPDF.Infrastructure; diff --git a/QuestPDF.UnitTests/DynamicImageTests.cs b/QuestPDF.UnitTests/DynamicImageTests.cs index 461f22f..d5b3cd8 100644 --- a/QuestPDF.UnitTests/DynamicImageTests.cs +++ b/QuestPDF.UnitTests/DynamicImageTests.cs @@ -1,5 +1,4 @@ -using System; -using FluentAssertions; +using FluentAssertions; using NUnit.Framework; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Elements; diff --git a/QuestPDF.UnitTests/GridTests.cs b/QuestPDF.UnitTests/GridTests.cs index 09f0a59..d7173c1 100644 --- a/QuestPDF.UnitTests/GridTests.cs +++ b/QuestPDF.UnitTests/GridTests.cs @@ -1,10 +1,7 @@ -using System; -using FluentAssertions; -using FluentAssertions.Equivalency; +using FluentAssertions; using NUnit.Framework; using QuestPDF.Elements; using QuestPDF.Fluent; -using QuestPDF.Infrastructure; using QuestPDF.UnitTests.TestEngine; namespace QuestPDF.UnitTests diff --git a/QuestPDF.UnitTests/ImageTests.cs b/QuestPDF.UnitTests/ImageTests.cs index 15331c7..5007feb 100644 --- a/QuestPDF.UnitTests/ImageTests.cs +++ b/QuestPDF.UnitTests/ImageTests.cs @@ -1,6 +1,4 @@ -using Moq; -using NUnit.Framework; -using QuestPDF.Drawing; +using NUnit.Framework; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Elements; using QuestPDF.Fluent; diff --git a/QuestPDF.UnitTests/PaddingTests.cs b/QuestPDF.UnitTests/PaddingTests.cs index 09c90f5..7f04740 100644 --- a/QuestPDF.UnitTests/PaddingTests.cs +++ b/QuestPDF.UnitTests/PaddingTests.cs @@ -1,6 +1,4 @@ -using FluentAssertions; -using Moq; -using NUnit.Framework; +using NUnit.Framework; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Elements; using QuestPDF.Infrastructure; diff --git a/QuestPDF.UnitTests/PageBreakTests.cs b/QuestPDF.UnitTests/PageBreakTests.cs index 02aea10..a0aec42 100644 --- a/QuestPDF.UnitTests/PageBreakTests.cs +++ b/QuestPDF.UnitTests/PageBreakTests.cs @@ -1,5 +1,4 @@ -using FluentAssertions; -using NUnit.Framework; +using NUnit.Framework; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Elements; using QuestPDF.Infrastructure; diff --git a/QuestPDF.UnitTests/RowTests.cs b/QuestPDF.UnitTests/RowTests.cs index 473510d..0e7af83 100644 --- a/QuestPDF.UnitTests/RowTests.cs +++ b/QuestPDF.UnitTests/RowTests.cs @@ -1,11 +1,8 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using FluentAssertions; -using FluentAssertions.Equivalency; using NUnit.Framework; using QuestPDF.Elements; using QuestPDF.Fluent; -using QuestPDF.Infrastructure; using QuestPDF.UnitTests.TestEngine; namespace QuestPDF.UnitTests diff --git a/QuestPDF.UnitTests/StackTests.cs b/QuestPDF.UnitTests/StackTests.cs index cd01a53..bcca9ce 100644 --- a/QuestPDF.UnitTests/StackTests.cs +++ b/QuestPDF.UnitTests/StackTests.cs @@ -1,7 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using FluentAssertions; -using FluentAssertions.Equivalency; using NUnit.Framework; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Elements; diff --git a/QuestPDF/Drawing/CanvasCache.cs b/QuestPDF/Drawing/CanvasCache.cs index 2b37593..9037309 100644 --- a/QuestPDF/Drawing/CanvasCache.cs +++ b/QuestPDF/Drawing/CanvasCache.cs @@ -7,7 +7,6 @@ namespace QuestPDF.Drawing { internal static class CanvasCache { - private static ConcurrentDictionary Fonts = new ConcurrentDictionary(); private static ConcurrentDictionary Paints = new ConcurrentDictionary(); private static ConcurrentDictionary ColorPaint = new ConcurrentDictionary(); diff --git a/QuestPDF/Drawing/DocumentGenerator.cs b/QuestPDF/Drawing/DocumentGenerator.cs index aab566d..a126179 100644 --- a/QuestPDF/Drawing/DocumentGenerator.cs +++ b/QuestPDF/Drawing/DocumentGenerator.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.IO; using QuestPDF.Drawing.Exceptions; using QuestPDF.Drawing.SpacePlan; -using QuestPDF.Elements; using QuestPDF.Fluent; using QuestPDF.Helpers; using QuestPDF.Infrastructure; diff --git a/QuestPDF/Elements/Canvas.cs b/QuestPDF/Elements/Canvas.cs index 324d449..19468cb 100644 --- a/QuestPDF/Elements/Canvas.cs +++ b/QuestPDF/Elements/Canvas.cs @@ -1,6 +1,4 @@ -using System; -using QuestPDF.Drawing.SpacePlan; -using QuestPDF.Helpers; +using QuestPDF.Drawing.SpacePlan; using QuestPDF.Infrastructure; using SkiaSharp; diff --git a/QuestPDF/Elements/Decoration.cs b/QuestPDF/Elements/Decoration.cs index b45b515..2338bbb 100644 --- a/QuestPDF/Elements/Decoration.cs +++ b/QuestPDF/Elements/Decoration.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using QuestPDF.Drawing.SpacePlan; using QuestPDF.Infrastructure; diff --git a/QuestPDF/Elements/ExternalLink.cs b/QuestPDF/Elements/ExternalLink.cs index 2a7c72a..8edea41 100644 --- a/QuestPDF/Elements/ExternalLink.cs +++ b/QuestPDF/Elements/ExternalLink.cs @@ -1,5 +1,4 @@ -using QuestPDF.Drawing.SpacePlan; -using QuestPDF.Infrastructure; +using QuestPDF.Infrastructure; namespace QuestPDF.Elements { diff --git a/QuestPDF/Elements/InternalLink.cs b/QuestPDF/Elements/InternalLink.cs index da95a6e..9fb77ae 100644 --- a/QuestPDF/Elements/InternalLink.cs +++ b/QuestPDF/Elements/InternalLink.cs @@ -1,5 +1,4 @@ -using QuestPDF.Drawing.SpacePlan; -using QuestPDF.Infrastructure; +using QuestPDF.Infrastructure; namespace QuestPDF.Elements { diff --git a/QuestPDF/Elements/InternalLocation.cs b/QuestPDF/Elements/InternalLocation.cs index d4a64ed..66a0c7e 100644 --- a/QuestPDF/Elements/InternalLocation.cs +++ b/QuestPDF/Elements/InternalLocation.cs @@ -1,6 +1,4 @@ -using System; -using QuestPDF.Drawing.SpacePlan; -using QuestPDF.Infrastructure; +using QuestPDF.Infrastructure; namespace QuestPDF.Elements { diff --git a/QuestPDF/Elements/Page.cs b/QuestPDF/Elements/Page.cs index 2140943..2a87bdc 100644 --- a/QuestPDF/Elements/Page.cs +++ b/QuestPDF/Elements/Page.cs @@ -1,5 +1,3 @@ -using System; -using QuestPDF.Drawing.SpacePlan; using QuestPDF.Fluent; using QuestPDF.Infrastructure; diff --git a/QuestPDF/Elements/Section.cs b/QuestPDF/Elements/Section.cs index aece345..01a851c 100644 --- a/QuestPDF/Elements/Section.cs +++ b/QuestPDF/Elements/Section.cs @@ -1,5 +1,3 @@ -using System; -using QuestPDF.Drawing.SpacePlan; using QuestPDF.Fluent; using QuestPDF.Infrastructure; diff --git a/QuestPDF/Fluent/ElementExtensions.cs b/QuestPDF/Fluent/ElementExtensions.cs index 9754c76..c1981e4 100644 --- a/QuestPDF/Fluent/ElementExtensions.cs +++ b/QuestPDF/Fluent/ElementExtensions.cs @@ -1,10 +1,7 @@ using System; -using System.IO; -using QuestPDF.Drawing; using QuestPDF.Drawing.Exceptions; using QuestPDF.Elements; using QuestPDF.Infrastructure; -using SkiaSharp; namespace QuestPDF.Fluent { diff --git a/QuestPDF/Fluent/GridExtensions.cs b/QuestPDF/Fluent/GridExtensions.cs index d933572..cc5dda6 100644 --- a/QuestPDF/Fluent/GridExtensions.cs +++ b/QuestPDF/Fluent/GridExtensions.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using QuestPDF.Elements; using QuestPDF.Infrastructure; diff --git a/QuestPDF/Infrastructure/TextStyle.cs b/QuestPDF/Infrastructure/TextStyle.cs index 05f6b8e..4e3304b 100644 --- a/QuestPDF/Infrastructure/TextStyle.cs +++ b/QuestPDF/Infrastructure/TextStyle.cs @@ -1,7 +1,4 @@ -using System; -using QuestPDF.Elements; - -namespace QuestPDF.Infrastructure +namespace QuestPDF.Infrastructure { public class TextStyle {