ci new namespace file scope unsupported

This commit is contained in:
Eliot Jones 2022-10-09 16:01:20 -04:00
parent e2246a88bb
commit 9c9c7c99ea

View File

@ -1,34 +1,35 @@
namespace UglyToad.PdfPig; namespace UglyToad.PdfPig
using Logging;
using System.Collections.Generic;
/// <summary>
/// <see cref="ParsingOptions"/> but without being a public API/
/// </summary>
internal class InternalParsingOptions
{ {
public IReadOnlyList<string> Passwords { get; } using Logging;
using System.Collections.Generic;
public bool UseLenientParsing { get; } /// <summary>
/// <see cref="ParsingOptions"/> but without being a public API/
public bool ClipPaths { get; } /// </summary>
internal class InternalParsingOptions
public bool SkipMissingFonts { get; }
public ILog Logger { get; }
public InternalParsingOptions(
IReadOnlyList<string> passwords,
bool useLenientParsing,
bool clipPaths,
bool skipMissingFonts,
ILog logger)
{ {
Passwords = passwords; public IReadOnlyList<string> Passwords { get; }
UseLenientParsing = useLenientParsing;
ClipPaths = clipPaths; public bool UseLenientParsing { get; }
SkipMissingFonts = skipMissingFonts;
Logger = logger; public bool ClipPaths { get; }
public bool SkipMissingFonts { get; }
public ILog Logger { get; }
public InternalParsingOptions(
IReadOnlyList<string> passwords,
bool useLenientParsing,
bool clipPaths,
bool skipMissingFonts,
ILog logger)
{
Passwords = passwords;
UseLenientParsing = useLenientParsing;
ClipPaths = clipPaths;
SkipMissingFonts = skipMissingFonts;
Logger = logger;
}
} }
} }