mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use Array.Empty
This commit is contained in:
Submodule Aaru.CommonTypes updated: 5e162d61ff...2ba38ebee3
@@ -66,8 +66,7 @@ public sealed partial class AppleDOS : IReadOnlyFilesystem
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => null;
|
public Dictionary<string, string> Namespaces => null;
|
||||||
|
|||||||
@@ -76,8 +76,7 @@ public sealed partial class AppleMFS : IReadOnlyFilesystem
|
|||||||
// TODO: Implement Finder namespace (requires decoding Desktop database)
|
// TODO: Implement Finder namespace (requires decoding Desktop database)
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => null;
|
public Dictionary<string, string> Namespaces => null;
|
||||||
|
|||||||
@@ -94,8 +94,7 @@ public sealed partial class CPM : IReadOnlyFilesystem
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => null;
|
public Dictionary<string, string> Namespaces => null;
|
||||||
|
|||||||
@@ -80,8 +80,7 @@ public sealed partial class FAT : IReadOnlyFilesystem
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => new()
|
public Dictionary<string, string> Namespaces => new()
|
||||||
|
|||||||
@@ -93,8 +93,7 @@ public sealed partial class XboxFatPlugin : IReadOnlyFilesystem
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => null;
|
public Dictionary<string, string> Namespaces => null;
|
||||||
|
|||||||
@@ -66,8 +66,7 @@ public sealed partial class LisaFS : IReadOnlyFilesystem
|
|||||||
// TODO: Implement Lisa 7/7 namespace (needs decoding {!CATALOG} file)
|
// TODO: Implement Lisa 7/7 namespace (needs decoding {!CATALOG} file)
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => new()
|
public Dictionary<string, string> Namespaces => new()
|
||||||
|
|||||||
@@ -84,8 +84,7 @@ public sealed partial class OperaFS : IReadOnlyFilesystem
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => null;
|
public Dictionary<string, string> Namespaces => null;
|
||||||
|
|||||||
@@ -86,8 +86,7 @@ public sealed partial class PascalPlugin : IReadOnlyFilesystem
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
|
||||||
new (string name, Type type, string description)[]
|
Array.Empty<(string name, Type type, string description)>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Dictionary<string, string> Namespaces => null;
|
public Dictionary<string, string> Namespaces => null;
|
||||||
|
|||||||
@@ -186,8 +186,7 @@ public sealed partial class Alcohol120
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,11 +59,9 @@ public sealed partial class Anex86
|
|||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@@ -84,8 +82,7 @@ public sealed partial class Anex86
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,11 +59,9 @@ public sealed partial class Apple2Mg
|
|||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -74,8 +72,7 @@ public sealed partial class Apple2Mg
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,11 +59,9 @@ public sealed partial class AppleDos
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -71,8 +69,7 @@ public sealed partial class AppleDos
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -59,11 +59,9 @@ public sealed partial class Apridisk
|
|||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
@@ -56,8 +56,7 @@ public sealed partial class Blu
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => new[]
|
||||||
{
|
{
|
||||||
@@ -72,8 +71,7 @@ public sealed partial class Blu
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class CisCopy
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@@ -71,8 +69,7 @@ public sealed partial class CisCopy
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -100,8 +100,7 @@ public sealed partial class CloneCd
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -63,11 +63,9 @@ public sealed partial class CopyTape
|
|||||||
public bool IsTape { get; set; }
|
public bool IsTape { get; set; }
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -98,8 +96,7 @@ public sealed partial class CopyTape
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,8 +56,7 @@ public sealed partial class DiskCopy42
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public string Format => "Apple DiskCopy 4.2";
|
public string Format => "Apple DiskCopy 4.2";
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ public sealed partial class DriDiskCopy
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@@ -77,8 +75,7 @@ public sealed partial class DriDiskCopy
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class MaxiDisk
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@@ -76,8 +74,7 @@ public sealed partial class MaxiDisk
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class Nhdr0
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -70,8 +68,7 @@ public sealed partial class Nhdr0
|
|||||||
// TODO: Support dynamic images
|
// TODO: Support dynamic images
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class Parallels
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -72,8 +70,7 @@ public sealed partial class Parallels
|
|||||||
// TODO: Add cluster size option
|
// TODO: Add cluster size option
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ public sealed partial class Qcow
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -71,8 +69,7 @@ public sealed partial class Qcow
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ public sealed partial class Qcow2
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -71,8 +69,7 @@ public sealed partial class Qcow2
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -58,11 +58,9 @@ public sealed partial class Qed
|
|||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -74,8 +72,7 @@ public sealed partial class Qed
|
|||||||
// TODO: Add cluster size option
|
// TODO: Add cluster size option
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class RayDim
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@@ -76,8 +74,7 @@ public sealed partial class RayDim
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,8 +61,7 @@ public sealed partial class RsIde
|
|||||||
MediaTagType.ATA_IDENTIFY
|
MediaTagType.ATA_IDENTIFY
|
||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -72,8 +71,7 @@ public sealed partial class RsIde
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class SaveDskF
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
// TODO: Test with real hardware to see real supported media
|
// TODO: Test with real hardware to see real supported media
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
@@ -76,8 +74,7 @@ public sealed partial class SaveDskF
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class T98
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -70,8 +68,7 @@ public sealed partial class T98
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ public sealed partial class Udif
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -71,8 +69,7 @@ public sealed partial class Udif
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ public sealed partial class Vdi
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -73,8 +71,7 @@ public sealed partial class Vdi
|
|||||||
// TODO: Add cluster size option
|
// TODO: Add cluster size option
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -71,11 +71,9 @@ public sealed partial class Vhd
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -87,8 +85,7 @@ public sealed partial class Vhd
|
|||||||
// TODO: Support dynamic images
|
// TODO: Support dynamic images
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,11 +57,9 @@ public sealed partial class VMware
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,11 +56,9 @@ public sealed partial class Virtual98
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public CICMMetadataType CicmMetadata => null;
|
public CICMMetadataType CicmMetadata => null;
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaTagType> SupportedMediaTags => new MediaTagType[]
|
public IEnumerable<MediaTagType> SupportedMediaTags => Array.Empty<MediaTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
public IEnumerable<MediaType> SupportedMediaTypes => new[]
|
||||||
{
|
{
|
||||||
@@ -70,8 +68,7 @@ public sealed partial class Virtual98
|
|||||||
};
|
};
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -173,8 +173,7 @@ public sealed partial class ZZZRawImage
|
|||||||
ToArray();
|
ToArray();
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<SectorTagType> SupportedSectorTags => new SectorTagType[]
|
public IEnumerable<SectorTagType> SupportedSectorTags => Array.Empty<SectorTagType>();
|
||||||
{};
|
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<MediaType> SupportedMediaTypes
|
public IEnumerable<MediaType> SupportedMediaTypes
|
||||||
@@ -215,8 +214,7 @@ public sealed partial class ZZZRawImage
|
|||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
|
||||||
new (string name, Type type, string description, object @default)[]
|
Array.Empty<(string name, Type type, string description, object @default)>();
|
||||||
{};
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public IEnumerable<string> KnownExtensions => new[]
|
public IEnumerable<string> KnownExtensions => new[]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -270,8 +270,7 @@ public abstract class BlockMediaImageTest : BaseMediaImageTest
|
|||||||
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||||
Invoke(new object[]
|
Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName} in {testFile}");
|
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName} in {testFile}");
|
||||||
|
|
||||||
|
|||||||
@@ -119,8 +119,7 @@ public abstract class FsExtractHashIssueTest
|
|||||||
|
|
||||||
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.Invoke(new object[]
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName}");
|
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName}");
|
||||||
|
|
||||||
|
|||||||
@@ -85,8 +85,7 @@ public abstract class FsExtractIssueTest
|
|||||||
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
Assert.IsNotNull(plugin, "Could not instantiate filesystem plugin");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||||
Invoke(new object[]
|
Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName}");
|
Assert.IsNotNull(fs, $"Could not instantiate filesystem {pluginName}");
|
||||||
|
|
||||||
@@ -106,8 +105,7 @@ public abstract class FsExtractIssueTest
|
|||||||
if(plugin is null)
|
if(plugin is null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.Invoke(new object[]
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
Assert.IsNotNull(fs, $"Could not instantiate filesystem {plugin.Name}");
|
Assert.IsNotNull(fs, $"Could not instantiate filesystem {plugin.Name}");
|
||||||
|
|
||||||
|
|||||||
@@ -335,8 +335,7 @@ sealed class ExtractFilesCommand : Command
|
|||||||
AaruConsole.WriteLine($"[bold]As identified by {plugin.Name}.[/]");
|
AaruConsole.WriteLine($"[bold]As identified by {plugin.Name}.[/]");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||||
Invoke(new object[]
|
Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
Spectre.ProgressSingleSpinner(ctx =>
|
Spectre.ProgressSingleSpinner(ctx =>
|
||||||
{
|
{
|
||||||
@@ -369,8 +368,7 @@ sealed class ExtractFilesCommand : Command
|
|||||||
AaruConsole.WriteLine($"[bold]Identified by {plugin.Name}.[/]");
|
AaruConsole.WriteLine($"[bold]Identified by {plugin.Name}.[/]");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||||
Invoke(new object[]
|
Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
Spectre.ProgressSingleSpinner(ctx =>
|
Spectre.ProgressSingleSpinner(ctx =>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -307,8 +307,7 @@ sealed class LsCommand : Command
|
|||||||
AaruConsole.WriteLine($"[bold]As identified by {plugin.Name}.[/]");
|
AaruConsole.WriteLine($"[bold]As identified by {plugin.Name}.[/]");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||||
Invoke(new object[]
|
Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
if(fs == null)
|
if(fs == null)
|
||||||
continue;
|
continue;
|
||||||
@@ -341,8 +340,7 @@ sealed class LsCommand : Command
|
|||||||
AaruConsole.WriteLine($"[bold]Identified by {plugin.Name}.[/]");
|
AaruConsole.WriteLine($"[bold]Identified by {plugin.Name}.[/]");
|
||||||
|
|
||||||
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
var fs = (IReadOnlyFilesystem)plugin.GetType().GetConstructor(Type.EmptyTypes)?.
|
||||||
Invoke(new object[]
|
Invoke(Array.Empty<object>());
|
||||||
{});
|
|
||||||
|
|
||||||
if(fs == null)
|
if(fs == null)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user