🎨Supported options in IReadOnlyFilesystem is better set as a property.

This commit is contained in:
2017-12-28 18:08:15 +00:00
parent c3609c6f77
commit ecd2db76a8
7 changed files with 18 additions and 28 deletions

View File

@@ -44,6 +44,11 @@ namespace DiscImageChef.Filesystems
/// </summary>
public interface IReadOnlyFilesystem : IFilesystem
{
/// <summary>
/// Retrieves a list of options supported by the filesystem, with name, type and description
/// </summary>
IEnumerable<(string name, Type type, string description)> SupportedOptions { get; }
/// <summary>
/// Initializates whatever internal structures the filesystem plugin needs to be able to read files and directories
/// from the filesystem.
@@ -130,10 +135,5 @@ namespace DiscImageChef.Filesystems
/// <param name="path">Link path.</param>
/// <param name="dest">Link destination.</param>
Errno ReadLink(string path, out string dest);
/// <summary>
/// Retrieves a list of options supported by the filesystem, with name, type and description
/// </summary>
(string name, Type type, string description)[] ListOptions();
}
}