Skip to content

Commit

Permalink
Revert to old namespace style for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gus33000 committed Nov 15, 2021
1 parent 021d7b2 commit 39e376b
Show file tree
Hide file tree
Showing 13 changed files with 314 additions and 301 deletions.
25 changes: 13 additions & 12 deletions Windows Build Identifier/FileItem.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
namespace WindowsBuildIdentifier;

public class FileItem
namespace WindowsBuildIdentifier
{
public string[] Attributes;
public class FileItem
{
public string[] Attributes;

public string CreationTime;
public string CreationTime;

public Hash Hash;
public string LastAccessTime;
public string LastWriteTime;
public string Location;
public Hash Hash;
public string LastAccessTime;
public string LastWriteTime;
public string Location;

public MetaData Metadata;
public MetaData Metadata;

public string Size;
public string Size;

public Version Version;
public Version Version;
}
}
13 changes: 7 additions & 6 deletions Windows Build Identifier/Hash.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
namespace WindowsBuildIdentifier;

public class Hash
namespace WindowsBuildIdentifier
{
public string Crc32;
public string Md5;
public string Sha1;
public class Hash
{
public string Crc32;
public string Md5;
public string Sha1;
}
}
11 changes: 6 additions & 5 deletions Windows Build Identifier/Identification/BuildType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
namespace WindowsBuildIdentifier.Identification;

public enum BuildType
namespace WindowsBuildIdentifier.Identification
{
fre,
chk
public enum BuildType
{
fre,
chk
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
namespace WindowsBuildIdentifier.Identification.InstalledImage;

internal class VersionInfo2
namespace WindowsBuildIdentifier.Identification.InstalledImage
{
public string[] LanguageCodes;
public Licensing Licensing;
public string Tag;
public WindowsVersion Version;
internal class VersionInfo2
{
public string[] LanguageCodes;
public Licensing Licensing;
public string Tag;
public WindowsVersion Version;
}
}
13 changes: 7 additions & 6 deletions Windows Build Identifier/Identification/Licensing.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
namespace WindowsBuildIdentifier.Identification;

public enum Licensing
namespace WindowsBuildIdentifier.Identification
{
Retail,
OEM,
Volume
public enum Licensing
{
Retail,
OEM,
Volume
}
}
55 changes: 28 additions & 27 deletions Windows Build Identifier/Identification/MachineType.cs
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
namespace WindowsBuildIdentifier.Identification;

public enum MachineType : ushort
namespace WindowsBuildIdentifier.Identification
{
unknown = 0x0,
axp = 0x184,
am33 = 0x1d3,
amd64 = 0x8664,
arm = 0x1c0,
arm64 = 0xaa64,
woa = 0x1c4,
ebc = 0xebc,
x86 = 0x14c,
ia64 = 0x200,
m32r = 0x9041,
mips16 = 0x266,
mipsfpu = 0x366,
mipsfpu16 = 0x466,
powerpc = 0x1f0,
powerpcfp = 0x1f1,
r4000 = 0x166,
sh3 = 0x1a2,
sh3dsp = 0x1a3,
sh4 = 0x1a6,
sh5 = 0x1a8,
thumb = 0x1c2,
wcemipsv2 = 0x169,
nec98 = 0xffff
public enum MachineType : ushort
{
unknown = 0x0,
axp = 0x184,
am33 = 0x1d3,
amd64 = 0x8664,
arm = 0x1c0,
arm64 = 0xaa64,
woa = 0x1c4,
ebc = 0xebc,
x86 = 0x14c,
ia64 = 0x200,
m32r = 0x9041,
mips16 = 0x266,
mipsfpu = 0x366,
mipsfpu16 = 0x466,
powerpc = 0x1f0,
powerpcfp = 0x1f1,
r4000 = 0x166,
sh3 = 0x1a2,
sh3dsp = 0x1a3,
sh4 = 0x1a6,
sh5 = 0x1a8,
thumb = 0x1c2,
wcemipsv2 = 0x169,
nec98 = 0xffff
}
}
Loading

0 comments on commit 39e376b

Please sign in to comment.