Use different interface name

This commit is contained in:
Matt Nadareski
2025-01-04 22:10:52 -05:00
parent 3dc8466cf7
commit b784a3b0bf
5 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ using SabreTools.IO.Logging;
namespace SabreTools.FileTypes
{
public abstract class BaseArchive : BaseFile, IFolder
public abstract class BaseArchive : BaseFile, IParent
{
#region Protected instance variables

View File

@@ -177,7 +177,7 @@ namespace SabreTools.FileTypes
/// </summary>
/// <param name="outputFormat">OutputFormat representing the archive to create</param>
/// <returns>IFolder object representing the inputs</returns>
public static IFolder? CreateFolderType(OutputFormat outputFormat)
public static IParent? CreateFolderType(OutputFormat outputFormat)
{
return outputFormat switch
{

View File

@@ -12,7 +12,7 @@ namespace SabreTools.FileTypes
/// <summary>
/// Represents a folder for reading and writing
/// </summary>
public class Folder : BaseFile, IFolder
public class Folder : BaseFile, IParent
{
#region Protected instance variables

View File

@@ -6,7 +6,7 @@ namespace SabreTools.FileTypes
/// <summary>
/// Represents an item that can contain children
/// </summary>
public interface IFolder
public interface IParent
{
#region Extraction