Remove redundant type declaration bodies.

This commit is contained in:
2023-10-03 18:54:17 +01:00
parent 390122ae16
commit 296b34f1eb
20 changed files with 20 additions and 20 deletions

View File

@@ -45,4 +45,4 @@ namespace Aaru.Archives;
// Needs to have the interface here so the source generator knows THIS IS the class // Needs to have the interface here so the source generator knows THIS IS the class
// ReSharper disable once RedundantExtendsListEntry // ReSharper disable once RedundantExtendsListEntry
/// <inheritdoc /> /// <inheritdoc />
public sealed partial class Register : IPluginRegister {} public sealed partial class Register : IPluginRegister;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Command statistics.</summary> /// <summary>Command statistics.</summary>
public class Command : NameCountModel {} public class Command : NameCountModel;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Filesystem found</summary> /// <summary>Filesystem found</summary>
public class Filesystem : NameCountModel {} public class Filesystem : NameCountModel;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Filter used</summary> /// <summary>Filter used</summary>
public class Filter : NameCountModel {} public class Filter : NameCountModel;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Media image format</summary> /// <summary>Media image format</summary>
public class MediaFormat : NameCountModel {} public class MediaFormat : NameCountModel;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Operating system</summary> /// <summary>Operating system</summary>
public class OperatingSystem : BaseOperatingSystem {} public class OperatingSystem : BaseOperatingSystem;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Partitioning scheme</summary> /// <summary>Partitioning scheme</summary>
public class Partition : NameCountModel {} public class Partition : NameCountModel;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Remote application</summary> /// <summary>Remote application</summary>
public class RemoteApplication : BaseOperatingSystem {} public class RemoteApplication : BaseOperatingSystem;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Remote architecture</summary> /// <summary>Remote architecture</summary>
public class RemoteArchitecture : NameCountModel {} public class RemoteArchitecture : NameCountModel;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Remote operating system</summary> /// <summary>Remote operating system</summary>
public class RemoteOperatingSystem : BaseOperatingSystem {} public class RemoteOperatingSystem : BaseOperatingSystem;

View File

@@ -34,4 +34,4 @@ namespace Aaru.Database.Models;
/// <inheritdoc /> /// <inheritdoc />
/// <summary>Aaru version</summary> /// <summary>Aaru version</summary>
public class Version : NameCountModel {} public class Version : NameCountModel;

View File

@@ -100,7 +100,7 @@ public sealed partial class CPM
IncludeFields = true)] IncludeFields = true)]
[JsonSerializable(typeof(CpmDefinitions))] [JsonSerializable(typeof(CpmDefinitions))]
// ReSharper disable once PartialTypeWithSinglePart // ReSharper disable once PartialTypeWithSinglePart
public partial class CpmDefinitionsContext : JsonSerializerContext {} public partial class CpmDefinitionsContext : JsonSerializerContext;
/// <summary>CP/M disk definitions</summary> /// <summary>CP/M disk definitions</summary>
[SuppressMessage("ReSharper", "InconsistentNaming")] [SuppressMessage("ReSharper", "InconsistentNaming")]

View File

@@ -39,4 +39,4 @@ namespace Aaru.Filesystems;
// Needs to have the interface here so the source generator knows THIS IS the class // Needs to have the interface here so the source generator knows THIS IS the class
// ReSharper disable once RedundantExtendsListEntry // ReSharper disable once RedundantExtendsListEntry
/// <inheritdoc /> /// <inheritdoc />
public sealed partial class Register : IPluginRegister {} public sealed partial class Register : IPluginRegister;

View File

@@ -43,4 +43,4 @@ namespace Aaru.Filters;
// Needs to have the interface here so the source generator knows THIS IS the class // Needs to have the interface here so the source generator knows THIS IS the class
// ReSharper disable once RedundantExtendsListEntry // ReSharper disable once RedundantExtendsListEntry
/// <inheritdoc /> /// <inheritdoc />
public sealed partial class Register : IPluginRegister {} public sealed partial class Register : IPluginRegister;

View File

@@ -34,4 +34,4 @@ using ReactiveUI;
namespace Aaru.Gui.ViewModels; namespace Aaru.Gui.ViewModels;
public class ViewModelBase : ReactiveObject {} public class ViewModelBase : ReactiveObject;

View File

@@ -43,4 +43,4 @@ namespace Aaru.DiscImages;
// Needs to have the interface here so the source generator knows THIS IS the class // Needs to have the interface here so the source generator knows THIS IS the class
// ReSharper disable once RedundantExtendsListEntry // ReSharper disable once RedundantExtendsListEntry
/// <inheritdoc /> /// <inheritdoc />
public sealed partial class Register : IPluginRegister {} public sealed partial class Register : IPluginRegister;

View File

@@ -43,4 +43,4 @@ namespace Aaru.Partitions;
// Needs to have the interface here so the source generator knows THIS IS the class // Needs to have the interface here so the source generator knows THIS IS the class
// ReSharper disable once RedundantExtendsListEntry // ReSharper disable once RedundantExtendsListEntry
/// <inheritdoc /> /// <inheritdoc />
public sealed partial class Register : IPluginRegister {} public sealed partial class Register : IPluginRegister;

View File

@@ -48,7 +48,7 @@ namespace Aaru.Settings;
IncludeFields = true)] IncludeFields = true)]
[JsonSerializable(typeof(DicSettings))] [JsonSerializable(typeof(DicSettings))]
// ReSharper disable once PartialTypeWithSinglePart // ReSharper disable once PartialTypeWithSinglePart
public partial class SettingsContext : JsonSerializerContext {} public partial class SettingsContext : JsonSerializerContext;
/// <summary>Settings</summary> /// <summary>Settings</summary>
public class DicSettings public class DicSettings