Skip to content

Commit 25b2899

Browse files
Adapted namespaces & added/adapted tests
1 parent 91b5706 commit 25b2899

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+547
-420
lines changed

Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Release Date: **22.12.2025**
2020
- Added static methods `bool Comparators.IsZero(double)` and `bool Comparators.IsZero(float)
2121
- Added `double ParserUtils.ParseDouble(string)` to parse doubles with invariant culture
2222
- Added `void Validators.ValidateGenericColor(string, bool = false)` to check generic color strings (RGB or ARGB)
23+
- Normalized interface named, containing 'PlugIn' to 'Plugin'
2324
- Added test cases
2425

2526
Note: Implicit address conversion from string to Address was not implemented, to avoid potential problems when comparing addresses (invalid strings could raise exceptions instead of returning false in the equals method). This does not apply to the Range struct

NanoXLSX.Core/Interfaces/Plugin/IInlinePlugInReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace NanoXLSX.Interfaces.Reader
55
/// <summary>
66
/// Interface, used by in-line (queue) plug-ins in XML reader classes
77
/// </summary>
8-
internal interface IInlinePlugInReader : IPlugIn
8+
internal interface IInlinePluginReader : IPlugin
99
{
1010
/// <summary>
1111
/// Gets or replaces the workbook instance, defined by the constructor

NanoXLSX.Core/Interfaces/Plugin/IInlinePluginWriter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace NanoXLSX.Interfaces.Writer
1313
/// <summary>
1414
/// Interface, used by in-line (queue) plug-ins in XML writer classes
1515
/// </summary>
16-
internal interface IInlinePlugInWriter : IPlugIn
16+
internal interface IInlinePluginWriter : IPlugin
1717
{
1818
/// <summary>
1919
/// Gets or replaces the workbook instance, defined by the constructor
@@ -26,7 +26,7 @@ internal interface IInlinePlugInWriter : IPlugIn
2626
XmlElement RootElement { get; set; }
2727

2828
/// <summary>
29-
/// Gets the current main XML element, that is generated by <see cref="IPlugIn.Execute"/>
29+
/// Gets the current main XML element, that is generated by <see cref="IPlugin.Execute"/>
3030
/// </summary>
3131
XmlElement XmlElement { get; }
3232

NanoXLSX.Core/Interfaces/Plugin/IPlugInPackageReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace NanoXLSX.Interfaces.Plugin
44
{
5-
internal interface IPlugInPackageReader : IPlugInReader
5+
internal interface IPluginPackageReader : IPluginReader
66
{
77
/// <summary>
88
/// Relative path of the stream entry in the Zip archive

NanoXLSX.Core/Interfaces/Plugin/IPlugInReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace NanoXLSX.Interfaces.Reader
1313
/// <summary>
1414
/// Interface, used by XML reader classes
1515
/// </summary>
16-
internal interface IPlugInReader : IPlugIn
16+
internal interface IPluginReader : IPlugin
1717
{
1818
/// <summary>
1919
/// Gets or replaces the workbook instance, defined by the constructor

NanoXLSX.Core/Interfaces/Plugin/IPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace NanoXLSX.Interfaces
99
/// <summary>
1010
/// Interface to define classes that can be handles by extension packages (plug-ins)
1111
/// </summary>
12-
internal interface IPlugIn
12+
internal interface IPlugin
1313
{
1414
void Execute();
1515
}

NanoXLSX.Core/Interfaces/Plugin/IPluginPackageWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace NanoXLSX.Interfaces.Writer
1010
/// <summary>
1111
/// Interface, used by classes to register package parts prior, and to write package parts at the end of the XLSX creation process
1212
/// </summary>
13-
internal interface IPlugInPackageWriter : IPlugInWriter
13+
internal interface IPluginPackageWriter : IPluginWriter
1414
{
1515
/// <summary>
1616
/// Order number of the package part (for sorting purpose during registration)

NanoXLSX.Core/Interfaces/Plugin/IPluginWriter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ namespace NanoXLSX.Interfaces.Writer
1212
/// <summary>
1313
/// Interface, used by XML writer classes
1414
/// </summary>
15-
internal interface IPlugInWriter : IPlugIn
15+
internal interface IPluginWriter : IPlugin
1616
{
1717
/// <summary>
1818
/// Gets or replaces the workbook instance, defined by the constructor
1919
/// </summary>
2020
Workbook Workbook { get; set; }
2121

2222
/// <summary>
23-
/// Gets the main XML element, that is generated by <see cref="IPlugIn.Execute"/>
23+
/// Gets the main XML element, that is generated by <see cref="IPlugin.Execute"/>
2424
/// </summary>
2525
XmlElement XmlElement { get; }
2626

NanoXLSX.Core/Interfaces/Plugin/ISharedStringReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace NanoXLSX.Interfaces.Plugin
1313
/// <summary>
1414
/// Interface, used by shared string readers
1515
/// </summary>
16-
internal interface ISharedStringReader : IPlugInReader
16+
internal interface ISharedStringReader : IPluginReader
1717
{
1818
/// <summary>
1919
/// Resolved list of shared strings.

NanoXLSX.Core/Interfaces/Plugin/ISharedStringWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace NanoXLSX.Interfaces.Writer
1010
/// <summary>
1111
/// Interface, used by shared string writers
1212
/// </summary>
13-
internal interface ISharedStringWriter : IPlugInWriter
13+
internal interface ISharedStringWriter : IPluginWriter
1414
{
1515
/// <summary>
1616
/// Sorted map that contains the shared strings

0 commit comments

Comments
 (0)