File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ namespace PdfSharpCore.Pdf
38
38
/// Represents a direct integer value.
39
39
/// </summary>
40
40
[ DebuggerDisplay ( "({Value})" ) ]
41
- public sealed class PdfInteger : PdfNumber , IConvertible
41
+ public sealed class PdfInteger : PdfNumber , IConvertible , IFormattable
42
42
{
43
43
/// <summary>
44
44
/// Initializes a new instance of the <see cref="PdfInteger"/> class.
@@ -175,5 +175,14 @@ uint IConvertible.ToUInt32(IFormatProvider provider)
175
175
}
176
176
177
177
#endregion
178
+
179
+ #region IFormattable Members
180
+
181
+ string IFormattable . ToString ( string _value , IFormatProvider provider )
182
+ {
183
+ return _value ;
184
+ }
185
+
186
+ #endregion
178
187
}
179
188
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard1.3;netstandard2.0;netcoreapp3.1;net5.0</TargetFrameworks >
4
+ <TargetFrameworks >netstandard1.3;netstandard2.0;netcoreapp3.1;net5.0;net6.0 </TargetFrameworks >
5
5
<GeneratePackageOnBuild >True</GeneratePackageOnBuild >
6
6
<Authors >Stefan Steiger and Contributors</Authors >
7
7
<Description >PdfSharp for .NET Core
You can’t perform that action at this time.
0 commit comments