mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Code style fixes.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
readonly byte[] _signature =
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ using Aaru.Helpers;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
public bool Identify(IFilter imageFilter)
|
||||
{
|
||||
|
||||
@@ -39,7 +39,7 @@ using Aaru.CommonTypes.Structs;
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
// Info from http://www.geocities.jp/t98next/nhdr0.txt
|
||||
public partial class Nhdr0 : IWritableImage
|
||||
public sealed partial class Nhdr0 : IWritableImage
|
||||
{
|
||||
ImageInfo _imageInfo;
|
||||
Nhdr0Header _nhdhdr;
|
||||
|
||||
@@ -39,7 +39,7 @@ using Schemas;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
public string Name => "T98-Next NHD r0 Disk Image";
|
||||
public Guid Id => new Guid("6ECACD0A-8F4D-4465-8815-AEA000D370E3");
|
||||
|
||||
@@ -40,7 +40,7 @@ using Aaru.Helpers;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
public bool Open(IFilter imageFilter)
|
||||
{
|
||||
|
||||
@@ -34,7 +34,7 @@ using System.Runtime.InteropServices;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct Nhdr0Header
|
||||
|
||||
@@ -35,7 +35,7 @@ using Aaru.CommonTypes.Exceptions;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
public byte[] ReadDiskTag(MediaTagType tag) =>
|
||||
throw new FeatureUnsupportedImageException("Feature not supported by image format");
|
||||
|
||||
@@ -43,7 +43,7 @@ using Schemas;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
public partial class Nhdr0
|
||||
public sealed partial class Nhdr0
|
||||
{
|
||||
public bool Create(string path, MediaType mediaType, Dictionary<string, string> options, ulong sectors,
|
||||
uint sectorSize)
|
||||
@@ -57,7 +57,7 @@ namespace Aaru.DiscImages
|
||||
|
||||
if(!SupportedMediaTypes.Contains(mediaType))
|
||||
{
|
||||
ErrorMessage = $"Unsupport media format {mediaType}";
|
||||
ErrorMessage = $"Unsupported media format {mediaType}";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user