mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[PR #91] [MERGED] Create Parameters Class #960
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/SabreTools/MPF/pull/91
Author: @mnadareski
Created: 7/10/2018
Status: ✅ Merged
Merged: 7/10/2018
Merged by: @mnadareski
Base:
master← Head:r9📝 Commits (10+)
577d462Update commented codef46a1efAdd Parameters class1afc8fdAdd better documentationc59dee9Add and use DICFlag enumeration906a227Port more things to Parameter-specific versiondca73c5Add commented code for laterd51adccAdded new options (#90)a16138bUpdate commented code825968cAdd Parameters class5b8eee3Add better documentation📊 Changes
21 files changed (+1879 additions, -795 deletions)
View changed files
📝
DICUI.Test/DICUI.Test.csproj(+3 -0)📝
DICUI.Test/Utilities/ConvertersTest.cs(+34 -65)➕
DICUI.Test/Utilities/DICCommandExtensionsTest.cs(+23 -0)➕
DICUI.Test/Utilities/DICFlagExtensionsTest.cs(+23 -0)📝
DICUI.Test/Utilities/DumpEnvironmentTest.cs(+3 -3)➕
DICUI.Test/Utilities/ParametersTest.cs(+82 -0)📝
DICUI.Test/Utilities/ValidatorsTest.cs(+1 -32)📝
DICUI/App.config(+2 -0)📝
DICUI/DICUI.csproj(+2 -0)📝
DICUI/Data/Constants.cs(+3 -3)📝
DICUI/Data/Enumerations.cs(+55 -0)📝
DICUI/MainWindow.xaml(+2 -1)📝
DICUI/MainWindow.xaml.cs(+16 -2)📝
DICUI/Options.cs(+14 -9)📝
DICUI/OptionsWindow.xaml(+54 -4)➕
DICUI/UI/ViewModels.cs(+52 -0)📝
DICUI/Utilities/Converters.cs(+143 -146)📝
DICUI/Utilities/DumpEnvironment.cs(+20 -17)📝
DICUI/Utilities/Extensions.cs(+22 -0)➕
DICUI/Utilities/Parameters.cs(+1324 -0)...and 1 more files
📄 Description
This PR creates a Parameters class to wrap all of the possible flag and command combinations that could be created. It has currently replaced the original instances of the string parameters, but essentially does nothing more than that did before. There should be no remaining duplicate code.
This change can be used to extend the flag combinations and user inputs that are possible through the UI, since every possible flag is accounted for, by default.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.