Builder -> Builders

This commit is contained in:
Matt Nadareski
2022-12-22 16:02:10 -08:00
parent ec9506b9eb
commit 0896842268
19 changed files with 20 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ using System.Linq;
using BurnOutSharp.Models.BFPK;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public class BFPK
{

View File

@@ -6,7 +6,7 @@ using System.Text;
using System.Xml.Serialization;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public static class Extensions
{

View File

@@ -1,7 +1,7 @@
using System.IO;
using BurnOutSharp.Models.LinearExecutable;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public static class LinearExecutable
{

View File

@@ -2,7 +2,7 @@
using BurnOutSharp.Models.MSDOS;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public static class MSDOS
{

View File

@@ -4,7 +4,7 @@ using System.Text;
using BurnOutSharp.Models.MicrosoftCabinet;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
// TODO: Add multi-cabinet reading
public class MicrosoftCabinet

View File

@@ -4,7 +4,7 @@ using System.IO;
using BurnOutSharp.Models.MoPaQ;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public class MoPaQ
{

View File

@@ -4,7 +4,7 @@ using System.Linq;
using BurnOutSharp.Models.NewExecutable;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public static class NewExecutable
{

View File

@@ -6,7 +6,7 @@ using System.Text;
using BurnOutSharp.Models.PortableExecutable;
using BurnOutSharp.Utilities;
namespace BurnOutSharp.Builder
namespace BurnOutSharp.Builders
{
public static class PortableExecutable
{

View File

@@ -79,7 +79,7 @@ namespace BurnOutSharp.Wrappers
if (data == null || data.Length == 0 || !data.CanSeek || !data.CanRead)
return null;
var archive = Builder.BFPK.ParseArchive(data);
var archive = Builders.BFPK.ParseArchive(data);
if (archive == null)
return null;

View File

@@ -25,7 +25,7 @@
<ItemGroup>
<ProjectReference Include="..\BurnOutSharp.ASN1\BurnOutSharp.ASN1.csproj" />
<ProjectReference Include="..\BurnOutSharp.Builder\BurnOutSharp.Builder.csproj" />
<ProjectReference Include="..\BurnOutSharp.Builders\BurnOutSharp.Builders.csproj" />
<ProjectReference Include="..\BurnOutSharp.Models\BurnOutSharp.Models.csproj" />
</ItemGroup>

View File

@@ -325,7 +325,7 @@ namespace BurnOutSharp.Wrappers
if (data == null || data.Length == 0 || !data.CanSeek || !data.CanRead)
return null;
var executable = Builder.LinearExecutable.ParseExecutable(data);
var executable = Builders.LinearExecutable.ParseExecutable(data);
if (executable == null)
return null;

View File

@@ -129,7 +129,7 @@ namespace BurnOutSharp.Wrappers
if (data == null || data.Length == 0 || !data.CanSeek || !data.CanRead)
return null;
var executable = Builder.MSDOS.ParseExecutable(data);
var executable = Builders.MSDOS.ParseExecutable(data);
if (executable == null)
return null;

View File

@@ -141,7 +141,7 @@ namespace BurnOutSharp.Wrappers
if (data == null || data.Length == 0 || !data.CanSeek || !data.CanRead)
return null;
var cabinet = Builder.MicrosoftCabinet.ParseCabinet(data);
var cabinet = Builders.MicrosoftCabinet.ParseCabinet(data);
if (cabinet == null)
return null;

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Text;
using static BurnOutSharp.Builder.Extensions;
using static BurnOutSharp.Builders.Extensions;
namespace BurnOutSharp.Wrappers
{
@@ -257,7 +257,7 @@ namespace BurnOutSharp.Wrappers
if (data == null || data.Length == 0 || !data.CanSeek || !data.CanRead)
return null;
var executable = Builder.NewExecutable.ParseExecutable(data);
var executable = Builders.NewExecutable.ParseExecutable(data);
if (executable == null)
return null;

View File

@@ -6,7 +6,7 @@ using System.Text;
using System.Xml;
using BurnOutSharp.ASN1;
using BurnOutSharp.Utilities;
using static BurnOutSharp.Builder.Extensions;
using static BurnOutSharp.Builders.Extensions;
namespace BurnOutSharp.Wrappers
{
@@ -933,7 +933,7 @@ namespace BurnOutSharp.Wrappers
if (data == null || data.Length == 0 || !data.CanSeek || !data.CanRead)
return null;
var executable = Builder.PortableExecutable.ParseExecutable(data);
var executable = Builders.PortableExecutable.ParseExecutable(data);
if (executable == null)
return null;

View File

@@ -26,7 +26,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.Dtf.Compression"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BurnOutSharp.Models", "BurnOutSharp.Models\BurnOutSharp.Models.csproj", "{44939210-BDC2-4250-BC0F-0AB8F316F09D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BurnOutSharp.Builder", "BurnOutSharp.Builder\BurnOutSharp.Builder.csproj", "{7577733A-CC8D-4E7C-8B6D-FFC7EC1B3D07}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BurnOutSharp.Builders", "BurnOutSharp.Builders\BurnOutSharp.Builders.csproj", "{7577733A-CC8D-4E7C-8B6D-FFC7EC1B3D07}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BurnOutSharp.Wrappers", "BurnOutSharp.Wrappers\BurnOutSharp.Wrappers.csproj", "{35BD489F-E58D-45DD-9929-DC4B32414750}"
EndProject

View File

@@ -61,7 +61,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
<ProjectReference Include="..\BurnOutSharp.Builder\BurnOutSharp.Builder.csproj">
<ProjectReference Include="..\BurnOutSharp.Builders\BurnOutSharp.Builders.csproj">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</ProjectReference>

View File

@@ -8,7 +8,7 @@
<ItemGroup>
<ProjectReference Include="..\BurnOutSharp\BurnOutSharp.csproj" />
<ProjectReference Include="..\BurnOutSharp.Builder\BurnOutSharp.Builder.csproj" />
<ProjectReference Include="..\BurnOutSharp.Builders\BurnOutSharp.Builders.csproj" />
<ProjectReference Include="..\BurnOutSharp.Models\BurnOutSharp.Models.csproj" />
<ProjectReference Include="..\BurnOutSharp.Utilities\BurnOutSharp.Utilities.csproj" />
<ProjectReference Include="..\BurnOutSharp.Wrappers\BurnOutSharp.Wrappers.csproj" />