Browse Source

Adjusted code visibility

Marcin Ziąbek 2 years ago
parent
commit
0aedb24e15

+ 2 - 2
Source/QuestPDF.Examples/Engine/RenderingTest.cs

@@ -115,9 +115,9 @@ namespace QuestPDF.Examples.Engine
             {
                 Func<int, string> fileNameSchema = i => $"{FileNamePrefix}-${i}.png";
                 document.GenerateImages(x => fileNameSchema(x));
-                
+
                 if (ShowResult && ShowingResultsEnabled)
-                    Process.Start("explorer", fileNameSchema(0));
+                    GenerateExtensions.OpenFileUsingDefaultProgram(fileNameSchema(0));
             }
 
             if (ResultType == RenderingTestResult.Pdf)

+ 1 - 1
Source/QuestPDF/Fluent/GenerateExtensions.cs

@@ -140,7 +140,7 @@ namespace QuestPDF.Fluent
 
         #region Helpers
 
-        private static void OpenFileUsingDefaultProgram(string filePath)
+        internal static void OpenFileUsingDefaultProgram(string filePath)
         {
             var process = new Process
             {

+ 1 - 1
Source/QuestPDF/Infrastructure/ICacheable.cs

@@ -1,6 +1,6 @@
 namespace QuestPDF.Infrastructure
 {
-    public interface ICacheable
+    internal interface ICacheable
     {
         
     }

+ 1 - 1
Source/QuestPDF/Previewer/ExceptionDocument.cs

@@ -7,7 +7,7 @@ using SkiaSharp;
 
 namespace QuestPDF.Previewer
 {
-    public class ExceptionDocument : IDocument
+    internal class ExceptionDocument : IDocument
     {
         private Exception Exception { get; }