diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 1ff0c42..0000000 --- a/.gitattributes +++ /dev/null @@ -1,63 +0,0 @@ -############################################################################### -# Set default behavior to automatically normalize line endings. -############################################################################### -* text=auto - -############################################################################### -# Set default behavior for command prompt diff. -# -# This is need for earlier builds of msysgit that does not have it on by -# default for csharp files. -# Note: This is only used by command line -############################################################################### -#*.cs diff=csharp - -############################################################################### -# Set the merge driver for project and solution files -# -# Merging from the command prompt will add diff markers to the files if there -# are conflicts (Merging from VS is not affected by the settings below, in VS -# the diff markers are never inserted). Diff markers may cause the following -# file extensions to fail to load in VS. An alternative would be to treat -# these files as binary and thus will always conflict and require user -# intervention with every merge. To do so, just uncomment the entries below -############################################################################### -#*.sln merge=binary -#*.csproj merge=binary -#*.vbproj merge=binary -#*.vcxproj merge=binary -#*.vcproj merge=binary -#*.dbproj merge=binary -#*.fsproj merge=binary -#*.lsproj merge=binary -#*.wixproj merge=binary -#*.modelproj merge=binary -#*.sqlproj merge=binary -#*.wwaproj merge=binary - -############################################################################### -# behavior for image files -# -# image files are treated as binary by default. -############################################################################### -#*.jpg binary -#*.png binary -#*.gif binary - -############################################################################### -# diff behavior for common document formats -# -# Convert binary document formats to text before diffing them. This feature -# is only available from the command line. Turn it on by uncommenting the -# entries below. -############################################################################### -#*.doc diff=astextplain -#*.DOC diff=astextplain -#*.docx diff=astextplain -#*.DOCX diff=astextplain -#*.dot diff=astextplain -#*.DOT diff=astextplain -#*.pdf diff=astextplain -#*.PDF diff=astextplain -#*.rtf diff=astextplain -#*.RTF diff=astextplain diff --git a/.github/workflows/dotnet-build-test.yml b/.github/workflows/dotnet-build-test.yml deleted file mode 100644 index b143aae..0000000 --- a/.github/workflows/dotnet-build-test.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: ci build and test - -on: - push: - branches: [ "master" ] - tags: - - 'v*' - pull_request: - branches: [ "master" ] - -jobs: - build: - runs-on: windows-latest - env: - Solution_Name: CharacterRecordsGenerator.sln - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Add MSBuild to path - uses: microsoft/setup-msbuild@v1.1 - - name: Setup NuGet - uses: NuGet/setup-nuget@v1 - - name: Restore nuget - run: nuget restore $env:Solution_Name - - name: Build - run: msbuild $env:Solution_Name /t:Rebuild -property:Configuration=Release - - name: Unit tests - run: dotnet test --no-build --verbosity normal - - name: Archive - uses: actions/upload-artifact@v3 - with: - name: character-records-generator - path: | - CharacterRecordsGenerator/bin/Release/*.exe - CharacterRecordsGenerator/bin/Release/*.dll - deploy: - name: Create release - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') - needs: build - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Create release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: false - - uses: actions/download-artifact@v3 - with: - name: character-records-generator - path: character-records-generator - - run: ls - - run: zip -r character-records-generator.zip character-records-generator - - name: Upload character-records-generator - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./character-records-generator.zip - asset_name: character-records-generator.zip - asset_content_type: application/zip diff --git a/CharacterRecordsGenerator.Tests/CharacterRecordsGenerator.Tests.csproj b/CharacterRecordsGenerator.Tests/CharacterRecordsGenerator.Tests.csproj deleted file mode 100644 index 2a90304..0000000 --- a/CharacterRecordsGenerator.Tests/CharacterRecordsGenerator.Tests.csproj +++ /dev/null @@ -1,74 +0,0 @@ - - - - - - Debug - AnyCPU - {195A07A8-03F7-4A1F-932F-73F934EF324F} - Library - Properties - CharacterRecordsGeneratorTests - CharacterRecordsGeneratorTests - v4.5.2 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 15.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - $(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages - False - UnitTest - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll - - - ..\packages\MSTest.TestFramework.2.1.2\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll - - - - - - - - - - - - - - {2e1295c2-7bd9-454e-b13e-8a22448dd5f6} - CharacterRecordsGenerator - - - - - - - This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - \ No newline at end of file diff --git a/CharacterRecordsGenerator.Tests/CharacterRecordsUtilitiesTests.cs b/CharacterRecordsGenerator.Tests/CharacterRecordsUtilitiesTests.cs deleted file mode 100644 index 05fa216..0000000 --- a/CharacterRecordsGenerator.Tests/CharacterRecordsUtilitiesTests.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; -using System; -using CharacterRecordsGenerator; - -namespace CharacterRecordsGeneratorTests -{ - [TestClass] - public class CharacterRecordsUtilitiesTests - { - [TestMethod] - public void Utility_CmToFeet_WithValidNumber() - { - double cm = 150.0; - string expected = "4'11\""; - Assert.AreEqual(expected, Utility.CmToFeet(cm)); - } - } -} diff --git a/CharacterRecordsGenerator.Tests/Properties/AssemblyInfo.cs b/CharacterRecordsGenerator.Tests/Properties/AssemblyInfo.cs deleted file mode 100644 index 0dda8c2..0000000 --- a/CharacterRecordsGenerator.Tests/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("CharacterRecordsGeneratorTests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("CharacterRecordsGeneratorTests")] -[assembly: AssemblyCopyright("Copyright © 2022")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -[assembly: ComVisible(false)] - -[assembly: Guid("195a07a8-03f7-4a1f-932f-73f934ef324f")] - -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/CharacterRecordsGenerator.Tests/packages.config b/CharacterRecordsGenerator.Tests/packages.config deleted file mode 100644 index 506206f..0000000 --- a/CharacterRecordsGenerator.Tests/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/CharacterRecordsGenerator.sln b/CharacterRecordsGenerator.sln deleted file mode 100644 index 742d3df..0000000 --- a/CharacterRecordsGenerator.sln +++ /dev/null @@ -1,54 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.31702.278 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CharacterRecordsGenerator", "CharacterRecordsGenerator\CharacterRecordsGenerator.csproj", "{2E1295C2-7BD9-454E-B13E-8A22448DD5F6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CharacterRecordsGenerator.Tests", "CharacterRecordsGenerator.Tests\CharacterRecordsGenerator.Tests.csproj", "{195A07A8-03F7-4A1F-932F-73F934EF324F}" - ProjectSection(ProjectDependencies) = postProject - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6} = {2E1295C2-7BD9-454E-B13E-8A22448DD5F6} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x64.ActiveCfg = Debug|x64 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x64.Build.0 = Debug|x64 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x86.ActiveCfg = Debug|x86 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Debug|x86.Build.0 = Debug|x86 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|Any CPU.Build.0 = Release|Any CPU - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x64.ActiveCfg = Release|x64 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x64.Build.0 = Release|x64 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x86.ActiveCfg = Release|x86 - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6}.Release|x86.Build.0 = Release|x86 - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Debug|x64.ActiveCfg = Debug|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Debug|x64.Build.0 = Debug|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Debug|x86.ActiveCfg = Debug|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Debug|x86.Build.0 = Debug|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Release|Any CPU.Build.0 = Release|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Release|x64.ActiveCfg = Release|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Release|x64.Build.0 = Release|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Release|x86.ActiveCfg = Release|Any CPU - {195A07A8-03F7-4A1F-932F-73F934EF324F}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {3F94E0AF-3102-424C-A6C2-B930212E7CD8} - EndGlobalSection -EndGlobal diff --git a/CharacterRecordsGenerator/App.config b/CharacterRecordsGenerator/App.config deleted file mode 100644 index 88fa402..0000000 --- a/CharacterRecordsGenerator/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/CharacterRecordsGenerator/App.xaml b/CharacterRecordsGenerator/App.xaml deleted file mode 100644 index 186554e..0000000 --- a/CharacterRecordsGenerator/App.xaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/CharacterRecordsGenerator/App.xaml.cs b/CharacterRecordsGenerator/App.xaml.cs deleted file mode 100644 index f03a881..0000000 --- a/CharacterRecordsGenerator/App.xaml.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Threading.Tasks; -using System.Windows; - -namespace CharacterRecordsGenerator -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application - { - } -} diff --git a/CharacterRecordsGenerator/CRG.ico b/CharacterRecordsGenerator/CRG.ico deleted file mode 100644 index 11f3ebe..0000000 Binary files a/CharacterRecordsGenerator/CRG.ico and /dev/null differ diff --git a/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj b/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj deleted file mode 100644 index 6d9d674..0000000 --- a/CharacterRecordsGenerator/CharacterRecordsGenerator.csproj +++ /dev/null @@ -1,220 +0,0 @@ - - - - - Debug - AnyCPU - {2E1295C2-7BD9-454E-B13E-8A22448DD5F6} - WinExe - Properties - CharacterRecordsGenerator - Character Records Generator - v4.5.2 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - true - false - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 2.0.0.%2a - false - true - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - true - - - true - bin\x64\Debug\ - DEBUG;TRACE - full - x64 - prompt - MinimumRecommendedRules.ruleset - - - bin\x64\Release\ - TRACE - true - pdbonly - x64 - prompt - MinimumRecommendedRules.ruleset - true - - - CRG.ico - - - true - bin\x86\Debug\ - DEBUG;TRACE - full - x86 - 7.3 - prompt - MinimumRecommendedRules.ruleset - true - - - bin\x86\Release\ - TRACE - true - pdbonly - x86 - 7.3 - prompt - MinimumRecommendedRules.ruleset - true - - - - ..\packages\ControlzEx.3.0.2.4\lib\net45\ControlzEx.dll - - - ..\packages\Humanizer.Core.2.5.16\lib\netstandard1.0\Humanizer.dll - - - ..\packages\MahApps.Metro.1.6.5\lib\net45\MahApps.Metro.dll - - - ..\packages\protobuf-net.2.4.0\lib\net40\protobuf-net.dll - - - - - - - - - - ..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll - - - - - ..\packages\ControlzEx.3.0.2.4\lib\net45\System.Windows.Interactivity.dll - - - - - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - GeneratedResultWindow.xaml - - - - - - - - Designer - MSBuild:Compile - - - MSBuild:Compile - Designer - - - App.xaml - Code - - - RecordEditor.xaml - Code - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - - False - Microsoft .NET Framework 4.5.2 %28x86 and x64%29 - true - - - False - .NET Framework 3.5 SP1 - false - - - - - - - - \ No newline at end of file diff --git a/CharacterRecordsGenerator/GeneratedResultWindow.xaml b/CharacterRecordsGenerator/GeneratedResultWindow.xaml deleted file mode 100644 index 349c0c7..0000000 --- a/CharacterRecordsGenerator/GeneratedResultWindow.xaml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/CharacterRecordsGenerator/GeneratedResultWindow.xaml.cs b/CharacterRecordsGenerator/GeneratedResultWindow.xaml.cs deleted file mode 100644 index 4400c82..0000000 --- a/CharacterRecordsGenerator/GeneratedResultWindow.xaml.cs +++ /dev/null @@ -1,18 +0,0 @@ -namespace CharacterRecordsGenerator -{ - public partial class GeneratedResultWindow - { - public GeneratedResultWindow() - { - InitializeComponent(); - } - - public GeneratedResultWindow(Record record) : this() - { - var formatter = new RecordFormatter(record); - EmploymentBox.Text = formatter.EmploymentRecords; - MedicalBox.Text = formatter.MedicalRecords; - SecurityBox.Text = formatter.SecurityRecords; - } - } -} diff --git a/CharacterRecordsGenerator/Properties/AssemblyInfo.cs b/CharacterRecordsGenerator/Properties/AssemblyInfo.cs deleted file mode 100644 index 1570435..0000000 --- a/CharacterRecordsGenerator/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; -using System.Windows; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("CRG")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Character Records Generator")] -[assembly: AssemblyCopyright("Copyright © 2022")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("CharacterRecordsGeneratorTests")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -//In order to begin building localizable applications, set -//CultureYouAreCodingWith in your .csproj file -//inside a . For example, if you are using US english -//in your source files, set the to en-US. Then uncomment -//the NeutralResourceLanguage attribute below. Update the "en-US" in -//the line below to match the UICulture setting in the project file. - -//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] - - -[assembly: ThemeInfo( - ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located - //(used if a resource is not found in the page, - // or application resource dictionaries) - ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located - //(used if a resource is not found in the page, - // app, or any theme specific resource dictionaries) -)] - - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.2.*")] -[assembly: AssemblyFileVersion("1.1.0.0")] diff --git a/CharacterRecordsGenerator/Properties/Resources.Designer.cs b/CharacterRecordsGenerator/Properties/Resources.Designer.cs deleted file mode 100644 index 7bb5997..0000000 --- a/CharacterRecordsGenerator/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace CharacterRecordsGenerator.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CharacterRecordsGenerator.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/CharacterRecordsGenerator/Properties/Resources.resx b/CharacterRecordsGenerator/Properties/Resources.resx deleted file mode 100644 index af7dbeb..0000000 --- a/CharacterRecordsGenerator/Properties/Resources.resx +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/CharacterRecordsGenerator/Properties/Settings.Designer.cs b/CharacterRecordsGenerator/Properties/Settings.Designer.cs deleted file mode 100644 index 1f16b29..0000000 --- a/CharacterRecordsGenerator/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace CharacterRecordsGenerator.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/CharacterRecordsGenerator/Properties/Settings.settings b/CharacterRecordsGenerator/Properties/Settings.settings deleted file mode 100644 index 033d7a5..0000000 --- a/CharacterRecordsGenerator/Properties/Settings.settings +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/CharacterRecordsGenerator/Record.cs b/CharacterRecordsGenerator/Record.cs deleted file mode 100644 index 65e6df5..0000000 --- a/CharacterRecordsGenerator/Record.cs +++ /dev/null @@ -1,124 +0,0 @@ -using System; -using ProtoBuf; - -namespace CharacterRecordsGenerator -{ - [ProtoContract] - public class Record - { - // Defaults defined here will automatically populate the form on program load - [ProtoMember(1)] - public string FirstName { get; set; } = string.Empty; - - [ProtoMember(2)] - public string MiddleName { get; set; } = string.Empty; - - [ProtoMember(3)] - public string LastName { get; set; } = string.Empty; - - [ProtoMember(4)] - public string SpokenLanguages { get; set; } = string.Empty; - - [ProtoMember(5)] - public SpeciesType Species { get; set; } = SpeciesType.Human; - - - [ProtoMember(6)] - public string Pronouns { get; set; } = string.Empty; - - [ProtoMember(7)] - public DateTime BirthDate { get; set; } = Info.IcDate; - - [ProtoMember(8)] - public double? CharHeight { get; set; } = null; - - [ProtoMember(9)] - public double? Weight { get; set; } = null; - - [ProtoMember(10)] - public string SkinColor { get; set; } = string.Empty; - - [ProtoMember(11)] - public string EyeColor { get; set; } = string.Empty; - - [ProtoMember(12)] - public string DistinguishingFeatures { get; set; } = string.Empty; - - [ProtoMember(13)] - public string HairColor { get; set; } = string.Empty; - - [ProtoMember(14)] - public string EmployedAs { get; set; } = string.Empty; - - [ProtoMember(15)] - public string Citizenship { get; set; } = string.Empty; - - [ProtoMember(16)] - public SpeciesSubType Subspecies { get; set; } = SpeciesSubType.None; - - [ProtoMember(17)] - public string PublicNotes { get; set; } = string.Empty; - - [ProtoMember(18)] - public string NextOfKin { get; set; } = string.Empty; - - [ProtoMember(19)] - public string MedicalPostmortem { get; set; } = string.Empty; - - [ProtoMember(20)] - public string MedicalAllergies { get; set; } = string.Empty; - - [ProtoMember(21)] - public string MedicalCurrentPrescriptions { get; set; } = string.Empty; - - [ProtoMember(22)] - public string MedicalHistory { get; set; } = string.Empty; - - [ProtoMember(23)] - public string MedicalSurgicalHistory { get; set; } = string.Empty; - - [ProtoMember(24)] - public bool NoBorg { get; set; } = false; - - [ProtoMember(25)] - public string MedicalPsychDisorders { get; set; } = string.Empty; - - [ProtoMember(26)] - public bool NoRevive { get; set; } = false; - - [ProtoMember(27)] - public bool NoProsthetic { get; set; } = false; - - [ProtoMember(28)] - public string MedicalPhysicalEvaluations { get; set; } = string.Empty; - - [ProtoMember(29)] - public string MedicalPsychEvaluations { get; set; } = string.Empty; - - [ProtoMember(30)] - public string SecurityRecords { get; set; } = string.Empty; - - [ProtoMember(31)] - public string SecurityNotes { get; set; } = string.Empty; - - // 32 was used for EmploymentPublicRecord, now empty - - [ProtoMember(33)] - public string EmploymentExperience { get; set; } = string.Empty; - - [ProtoMember(35)] - public string EmploymentFormalEducation { get; set; } = string.Empty; - - [ProtoMember(36)] - public string EmploymentNtEmploymentHistory { get; set; } = string.Empty; - - [ProtoMember(37)] - public string EmploymentSkills { get; set; } = string.Empty; - - [ProtoMember(38)] - public string SecurityAttitudeScc { get; set; } = string.Empty; - - [ProtoMember(39)] - public string SecurityAttitudeCrew { get; set; } = string.Empty; - } -} \ No newline at end of file diff --git a/CharacterRecordsGenerator/RecordEditor.xaml b/CharacterRecordsGenerator/RecordEditor.xaml deleted file mode 100644 index f99d9a2..0000000 --- a/CharacterRecordsGenerator/RecordEditor.xaml +++ /dev/null @@ -1,465 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -