diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..d7000605 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "program": "${workspaceFolder}/CashRegister/bin/Debug/net5.0/CashRegister.dll", + "name": "CashRegister", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "console": "internalConsole", + "stopAtEntry": false, + "args": ["TEST"] + } + + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..394fb3cb --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,42 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/CashRegister/CashRegister.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "publish", + "command": "dotnet", + "type": "process", + "args": [ + "publish", + "${workspaceFolder}/CashRegister/CashRegister.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, + { + "label": "watch", + "command": "dotnet", + "type": "process", + "args": [ + "watch", + "run", + "${workspaceFolder}/CashRegister/CashRegister.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file diff --git a/CashRegister.sln b/CashRegister.sln new file mode 100644 index 00000000..c2cc457e --- /dev/null +++ b/CashRegister.sln @@ -0,0 +1,46 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30114.105 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CashRegister", "CashRegister\CashRegister.csproj", "{C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}" +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(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Debug|x64.ActiveCfg = Debug|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Debug|x64.Build.0 = Debug|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Debug|x86.ActiveCfg = Debug|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Debug|x86.Build.0 = Debug|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Release|Any CPU.Build.0 = Release|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Release|x64.ActiveCfg = Release|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Release|x64.Build.0 = Release|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Release|x86.ActiveCfg = Release|Any CPU + {C7AFDA7B-9017-4D1F-AFA3-CF30D2FF1774}.Release|x86.Build.0 = Release|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Debug|x64.ActiveCfg = Debug|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Debug|x64.Build.0 = Debug|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Debug|x86.ActiveCfg = Debug|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Debug|x86.Build.0 = Debug|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Release|Any CPU.Build.0 = Release|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Release|x64.ActiveCfg = Release|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Release|x64.Build.0 = Release|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Release|x86.ActiveCfg = Release|Any CPU + {837BEA06-DC8A-48A9-942F-1F9C7B4D907A}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/CashRegister/CashRegister.csproj b/CashRegister/CashRegister.csproj new file mode 100644 index 00000000..af0fcf1c --- /dev/null +++ b/CashRegister/CashRegister.csproj @@ -0,0 +1,11 @@ + + + + Exe + net5.0 + + + + + + diff --git a/CashRegister/InputLine.cs b/CashRegister/InputLine.cs new file mode 100644 index 00000000..bf9f9f73 --- /dev/null +++ b/CashRegister/InputLine.cs @@ -0,0 +1,14 @@ +namespace CashRegister +{ + public class InputLine + { + public decimal TotalDue; + public decimal AmountPaid; + + public InputLine(decimal totalDue, decimal amountPaid) + { + TotalDue = totalDue; + AmountPaid = amountPaid; + } + } +} diff --git a/CashRegister/Program.cs b/CashRegister/Program.cs new file mode 100644 index 00000000..1dce353b --- /dev/null +++ b/CashRegister/Program.cs @@ -0,0 +1,210 @@ +using System; +using System.IO; +using System.Collections.Generic; +using System.Text; + +namespace CashRegister +{ + public static class Program + { + public static string myConsoleText; + public static string InputFile; + public static StreamReader InputFileReader; + public static List InputLines = new List(); + public static List OutputLines = new List(); + public static string OutputFile; + private static Random _random = new Random(); + + + static void Main(string[] args) + { + try + { + if (HasValidArgs(args) && IsValidFile()) + { + OutputChange(); + } + } + catch (Exception ex) + { + Console.WriteLine("Error: " + ex.Message); + } + } + + public static bool HasValidArgs(string[] args) + { + if (args == null) + { + myConsoleText = "Please provide an input and output file. Ex: CashRegister input.txt output.txt"; + Console.WriteLine(myConsoleText); + return false; + } + + if ((args.Length == 1) && (args[0] == "TEST")) + { + CashRegisterLibrary.Tests.RunTests(); + return false; + } + + if (args.Length != 2) + { + myConsoleText = "Please provide an input and output file. Ex: CashRegister input.txt output.txt"; + Console.WriteLine(myConsoleText); + return false; + } + + InputFile = args[0]; + if (!File.Exists(InputFile)) + { + myConsoleText = "Input file doesn't exist."; + Console.WriteLine(myConsoleText); + return false; + } + + OutputFile = args[1]; + File.Delete(OutputFile); + + return true; + } + + public static bool IsValidFile() + { + InputFileReader = new StreamReader(InputFile); + + while (InputFileReader.Peek() >= 0) + { + if (!IsValidLine(InputFileReader.ReadLine())) return false; + } + + return true; + } + public static bool IsValidLine(string line) + { + string[] subStrings = line.Split(","); + + if (subStrings.Length != 2) + { + myConsoleText = "Malformed line: Each line must contain the total due and the amount paid separated by a comma (for example: 2.13,3.00)"; + Console.WriteLine(myConsoleText); + return false; + } + + decimal totalDue; + if (decimal.TryParse(subStrings[0], out totalDue) == false) + { + myConsoleText = "Malformed line: Total Due must be a decimal"; + Console.WriteLine(myConsoleText); + return false; + } + + decimal amountPaid; + if (decimal.TryParse(subStrings[1], out amountPaid) == false) + { + myConsoleText = "Malformed line: Amount Paid must be a decimal"; + Console.WriteLine(myConsoleText); + return false; + } + + InputLines.Add(new InputLine(totalDue, amountPaid)); + + return true; + } + public static void OutputChange() + { + foreach (InputLine currentLine in InputLines) + { + OutputLines.Add(GenerateOutputLine(currentLine)); + } + + File.WriteAllLines(OutputFile, OutputLines); + } + + public static string GenerateOutputLine(InputLine inputLine) + { + int remainingPennies = (int) (100 * (inputLine.AmountPaid - inputLine.TotalDue)); + + bool isNormal = remainingPennies % 3 != 0; + + int hundreds = (isNormal ? remainingPennies/10000 : _random.Next(0, remainingPennies/10000)); + remainingPennies -= 10000*hundreds; + + int twenties = (isNormal ? remainingPennies/2000 : _random.Next(0, remainingPennies/2000)); + remainingPennies -= 2000*twenties; + + int fives = (isNormal ? remainingPennies/500 : _random.Next(0, remainingPennies/500)); + remainingPennies -= 500*fives; + + int dollars = (isNormal ? remainingPennies/100 : _random.Next(0, remainingPennies/100)); + remainingPennies -= 100*dollars; + + int quarters = (isNormal ? remainingPennies/25 : _random.Next(0, remainingPennies/25)); + remainingPennies -= 25*quarters; + + int dimes = (isNormal ? remainingPennies/10 : _random.Next(0, remainingPennies/10)); + remainingPennies -= 10*dimes; + + int nickles = (isNormal ? remainingPennies/5 : _random.Next(0, remainingPennies/5)); + remainingPennies -= 5*nickles; + + StringBuilder outputLine = new StringBuilder(); + if (hundreds > 0) + { + outputLine.Append(hundreds); + outputLine.Append(hundreds > 1 ? " hundreds" : " hundred"); + } + + if (twenties > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(twenties); + outputLine.Append(twenties > 1 ? " twenties" : " twenty"); + } + + if (fives > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(fives); + outputLine.Append(fives > 1 ? " fives" : " five"); + } + + if (dollars > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(dollars); + outputLine.Append(dollars > 1 ? " dollars" : " dollar"); + } + + if (quarters > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(quarters); + outputLine.Append(quarters > 1 ? " quarters" : " quarter"); + } + + if (dimes > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(dimes); + outputLine.Append(dimes > 1 ? " dimes" : " dime"); + } + + if (nickles > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(nickles); + outputLine.Append(nickles > 1 ? " nickles" : " nickle"); + } + + if (remainingPennies > 0) + { + if (outputLine.Length > 0) outputLine.Append(","); + outputLine.Append(remainingPennies); + outputLine.Append(remainingPennies > 1 ? " pennies" : " penny"); + } + + return outputLine.ToString(); + } + + + } +} diff --git a/README.md b/CashRegister/README.md similarity index 91% rename from README.md rename to CashRegister/README.md index 62a96fc3..1eb6e797 100644 --- a/README.md +++ b/CashRegister/README.md @@ -3,7 +3,7 @@ Cash Register The Problem ----------- -Creative Cash Draw Solutions is a client who wants to provide something different for the cashiers who use their system. The function of the application is to tell the cashier how much change is owed and what denominations should be used. In most cases the app should return the minimum amount of physical change, but the client would like to add a twist. If the total due in cents is divisible by 3, the app should randomly generate the change denominations (but the math still needs to be right :)) +Creative Cash Draw Solutions is a client who wants to provide something different for the cashiers who use their system. The function of the application is to tell the cashier how much change is owed and what denominations should be used. In most cases the app should return the minimum amount of physical change, but the client would like to add a twist. If the total cost in cents is divisible by 3, the app should randomly generate the change denominations (but the math still needs to be right :)) Please write a program which accomplishes the clients goals. The program should: diff --git a/CashRegister/Tests.cs b/CashRegister/Tests.cs new file mode 100644 index 00000000..54db9a62 --- /dev/null +++ b/CashRegister/Tests.cs @@ -0,0 +1,134 @@ +using System; +using System.IO; +using CashRegister; + +namespace CashRegisterLibrary +{ + public class Tests + { + static TextWriter ConsoleOut_Initial; + static TextWriter ConsoleOut_Hide; + static int TestNameLength = 35; + + static public void RunTests() + { + ConsoleOut_Initial = Console.Out; + ConsoleOut_Hide = new StringWriter(); + + Console.WriteLine("TEST SUITE START"); + + HasValidArgs( + null, + "HasValidArgs:NoArgs", + "Please provide an input and output file. Ex: CashRegister input.txt output.txt"); + + HasValidArgs( + new string[] {"1BadArg"}, + "HasValidArgs:1Arg", + "Please provide an input and output file. Ex: CashRegister input.txt output.txt"); + + HasValidArgs( + new string[] {"1BadArg", "Another Bad Arg", "3rd Bad Arg"}, + "HasValidArgs:3Args", + "Please provide an input and output file. Ex: CashRegister input.txt output.txt"); + + HasValidArgs( + new string[] {"1st Arg", "2nd Arg"}, + "HasValidArgs:File Doesn't Exist", + "Input file doesn't exist."); + + IsValidFile( + new string[] {"GoodInputFile", "Output File"}, + "IsValidFile:GoodInputFile"); + + IsValidInputLine( + "IsValidLine:ExtraData", + "Malformed line: Each line must contain the total due and the amount paid separated by a comma (for example: 2.13,3.00)", + "1.97,2.00,extra stuff"); + + IsValidInputLine( + "IsValidLine:NotEnoughData", + "Malformed line: Each line must contain the total due and the amount paid separated by a comma (for example: 2.13,3.00)", + "1.97"); + + IsValidInputLine( + "IsValidLine:BadTotalDue", + "Malformed line: Total Due must be a decimal", + "Nope,2.00"); + + IsValidInputLine( + "IsValidLine:BadAmountPaid", + "Malformed line: Amount Paid must be a decimal", + "2.00,Nope"); + + IsExpectedOutputLine( + "IsExpectedOutput:OnlyDollar", + (decimal)1.00, (decimal)5.00, + "4 dollars" + ); + + IsExpectedOutputLine( + "IsExpectedOutput:ManyDollars", + (decimal)1.00, (decimal)494.00, + "4 hundreds,4 twenties,2 fives,3 dollars" + ); + + IsExpectedOutputLine( + "IsExpectedOutput:SampleOutput1", + (decimal)2.12, (decimal)3.00, + "3 quarters,1 dime,3 pennies" + ); + + IsExpectedOutputLine( + "IsExpectedOutput:SampleOutput2", + (decimal)1.97, (decimal)2.00, + "3 pennies" + ); + + IsExpectedOutputLine( + "IsExpectedOutput:SampleOutput3", + (decimal)3.33, (decimal)5.00, + "1 dollar,2 quarters,1 dime,1 nickle,2 pennies" + ); + + + Console.WriteLine("TEST SUITE END"); + } + static void HasValidArgs(string[] args, string testName, string expectedText) + { + Console.SetOut(ConsoleOut_Hide); + CashRegister.Program.HasValidArgs(args); + string testResult = (CashRegister.Program.myConsoleText == expectedText ? "pass" : "fail"); + string str = String.Format("{0, -"+TestNameLength+"}", testName) + " " + testResult; + Console.SetOut(ConsoleOut_Initial); + Console.WriteLine(str); + } + static void IsValidFile(string[] args, string testName) + { + Console.SetOut(ConsoleOut_Hide); + bool condition = + CashRegister.Program.HasValidArgs(args) && + CashRegister.Program.IsValidFile(); + string testResult = ( condition ? "pass" : "fail"); + string str = String.Format("{0, -"+TestNameLength+"}", testName) + " " + testResult; + Console.SetOut(ConsoleOut_Initial); + Console.WriteLine(str); + } + static void IsValidInputLine(string testName, string expectedText, string testLine) + { + Console.SetOut(ConsoleOut_Hide); + bool condition = CashRegister.Program.IsValidLine(testLine); + string testResult = (CashRegister.Program.myConsoleText == expectedText ? "pass" : "fail"); + string str = String.Format("{0, -"+TestNameLength+"}", testName) + " " + testResult; + Console.SetOut(ConsoleOut_Initial); + Console.WriteLine(str); + } + static void IsExpectedOutputLine(string testName, decimal totalDue, decimal amountPaid, string expectedLine) + { + string programLine = CashRegister.Program.GenerateOutputLine(new InputLine(totalDue, amountPaid)); + string testResult = (programLine == expectedLine ? "pass" : "fail"); + string str = String.Format("{0, -"+TestNameLength+"}", testName) + " " + testResult; + Console.WriteLine(str); + } + } +} diff --git a/CashRegister/bin/Debug/net5.0/CashRegister.deps.json b/CashRegister/bin/Debug/net5.0/CashRegister.deps.json new file mode 100644 index 00000000..0a2f1069 --- /dev/null +++ b/CashRegister/bin/Debug/net5.0/CashRegister.deps.json @@ -0,0 +1,99 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v5.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v5.0": { + "CashRegister/1.0.0": { + "dependencies": { + "System.IO": "4.3.0" + }, + "runtime": { + "CashRegister.dll": {} + } + }, + "Microsoft.NETCore.Platforms/1.1.0": {}, + "Microsoft.NETCore.Targets/1.1.0": {}, + "System.IO/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + } + }, + "System.Runtime/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + } + }, + "System.Text.Encoding/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + }, + "System.Threading.Tasks/4.3.0": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + } + } + } + }, + "libraries": { + "CashRegister/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "path": "microsoft.netcore.platforms/1.1.0", + "hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" + }, + "Microsoft.NETCore.Targets/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==", + "path": "microsoft.netcore.targets/1.1.0", + "hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512" + }, + "System.IO/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "path": "system.io/4.3.0", + "hashPath": "system.io.4.3.0.nupkg.sha512" + }, + "System.Runtime/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "path": "system.runtime/4.3.0", + "hashPath": "system.runtime.4.3.0.nupkg.sha512" + }, + "System.Text.Encoding/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "path": "system.text.encoding/4.3.0", + "hashPath": "system.text.encoding.4.3.0.nupkg.sha512" + }, + "System.Threading.Tasks/4.3.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "path": "system.threading.tasks/4.3.0", + "hashPath": "system.threading.tasks.4.3.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/CashRegister/bin/Debug/net5.0/CashRegister.dll b/CashRegister/bin/Debug/net5.0/CashRegister.dll new file mode 100644 index 00000000..70cd7cd4 Binary files /dev/null and b/CashRegister/bin/Debug/net5.0/CashRegister.dll differ diff --git a/CashRegister/bin/Debug/net5.0/CashRegister.pdb b/CashRegister/bin/Debug/net5.0/CashRegister.pdb new file mode 100644 index 00000000..2565bc78 Binary files /dev/null and b/CashRegister/bin/Debug/net5.0/CashRegister.pdb differ diff --git a/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.dev.json b/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.dev.json new file mode 100644 index 00000000..74f00993 --- /dev/null +++ b/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.dev.json @@ -0,0 +1,8 @@ +{ + "runtimeOptions": { + "additionalProbingPaths": [ + "/Users/staasafras/.dotnet/store/|arch|/|tfm|", + "/Users/staasafras/.nuget/packages" + ] + } +} \ No newline at end of file diff --git a/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.json b/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.json new file mode 100644 index 00000000..a8e7e828 --- /dev/null +++ b/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net5.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "5.0.0" + } + } +} \ No newline at end of file diff --git a/CashRegister/bin/Debug/net5.0/ref/CashRegister.dll b/CashRegister/bin/Debug/net5.0/ref/CashRegister.dll new file mode 100644 index 00000000..b478ca81 Binary files /dev/null and b/CashRegister/bin/Debug/net5.0/ref/CashRegister.dll differ diff --git a/CashRegister/obj/CashRegister.csproj.nuget.dgspec.json b/CashRegister/obj/CashRegister.csproj.nuget.dgspec.json new file mode 100644 index 00000000..09611783 --- /dev/null +++ b/CashRegister/obj/CashRegister.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj": {} + }, + "projects": { + "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj", + "projectName": "CashRegister", + "projectPath": "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj", + "packagesPath": "/Users/staasafras/.nuget/packages/", + "outputPath": "/Users/staasafras/Desktop/CashRegister/CashRegister/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/Users/staasafras/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net5.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net5.0": { + "targetAlias": "net5.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net5.0": { + "targetAlias": "net5.0", + "dependencies": { + "System.IO": { + "target": "Package", + "version": "[4.3.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/CashRegister/obj/CashRegister.csproj.nuget.g.props b/CashRegister/obj/CashRegister.csproj.nuget.g.props new file mode 100644 index 00000000..672ce8c8 --- /dev/null +++ b/CashRegister/obj/CashRegister.csproj.nuget.g.props @@ -0,0 +1,18 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /Users/staasafras/.nuget/packages/ + /Users/staasafras/.nuget/packages/ + PackageReference + 5.11.0 + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/CashRegister/obj/CashRegister.csproj.nuget.g.targets b/CashRegister/obj/CashRegister.csproj.nuget.g.targets new file mode 100644 index 00000000..53cfaa19 --- /dev/null +++ b/CashRegister/obj/CashRegister.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/CashRegister/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs b/CashRegister/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs new file mode 100644 index 00000000..614107e5 --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/.NETCoreApp,Version=v5.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")] diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfo.cs b/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfo.cs new file mode 100644 index 00000000..10863a1c --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("CashRegister")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("CashRegister")] +[assembly: System.Reflection.AssemblyTitleAttribute("CashRegister")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfoInputs.cache b/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfoInputs.cache new file mode 100644 index 00000000..cb85d2ab --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +0419fe221fe349a9a84b5074b5f85c51857570e6 diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.GeneratedMSBuildEditorConfig.editorconfig b/CashRegister/obj/Debug/net5.0/CashRegister.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 00000000..0b34297c --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/CashRegister.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net5.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.PublishSingleFile = +build_property.IncludeAllContentForSelfExtract = +build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows +build_property.RootNamespace = CashRegister +build_property.ProjectDir = /Users/staasafras/Desktop/CashRegister/CashRegister/ diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.assets.cache b/CashRegister/obj/Debug/net5.0/CashRegister.assets.cache new file mode 100644 index 00000000..66fc8592 Binary files /dev/null and b/CashRegister/obj/Debug/net5.0/CashRegister.assets.cache differ diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.csproj.AssemblyReference.cache b/CashRegister/obj/Debug/net5.0/CashRegister.csproj.AssemblyReference.cache new file mode 100644 index 00000000..a777c125 Binary files /dev/null and b/CashRegister/obj/Debug/net5.0/CashRegister.csproj.AssemblyReference.cache differ diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.csproj.CoreCompileInputs.cache b/CashRegister/obj/Debug/net5.0/CashRegister.csproj.CoreCompileInputs.cache new file mode 100644 index 00000000..49f628b0 --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/CashRegister.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +1848fb8816cdc617db4484bfafa8a58f2e4923f9 diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.csproj.FileListAbsolute.txt b/CashRegister/obj/Debug/net5.0/CashRegister.csproj.FileListAbsolute.txt new file mode 100644 index 00000000..264780d7 --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/CashRegister.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +/Users/staasafras/Desktop/CashRegister/CashRegister/bin/Debug/net5.0/CashRegister.deps.json +/Users/staasafras/Desktop/CashRegister/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.json +/Users/staasafras/Desktop/CashRegister/CashRegister/bin/Debug/net5.0/CashRegister.runtimeconfig.dev.json +/Users/staasafras/Desktop/CashRegister/CashRegister/bin/Debug/net5.0/CashRegister.dll +/Users/staasafras/Desktop/CashRegister/CashRegister/bin/Debug/net5.0/ref/CashRegister.dll +/Users/staasafras/Desktop/CashRegister/CashRegister/bin/Debug/net5.0/CashRegister.pdb +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.csproj.AssemblyReference.cache +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.GeneratedMSBuildEditorConfig.editorconfig +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfoInputs.cache +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.AssemblyInfo.cs +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.csproj.CoreCompileInputs.cache +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.dll +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/ref/CashRegister.dll +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.pdb +/Users/staasafras/Desktop/CashRegister/CashRegister/obj/Debug/net5.0/CashRegister.genruntimeconfig.cache diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.dll b/CashRegister/obj/Debug/net5.0/CashRegister.dll new file mode 100644 index 00000000..70cd7cd4 Binary files /dev/null and b/CashRegister/obj/Debug/net5.0/CashRegister.dll differ diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.genruntimeconfig.cache b/CashRegister/obj/Debug/net5.0/CashRegister.genruntimeconfig.cache new file mode 100644 index 00000000..62e4736c --- /dev/null +++ b/CashRegister/obj/Debug/net5.0/CashRegister.genruntimeconfig.cache @@ -0,0 +1 @@ +0c22da96be2e74c0f3948464745b4dbc96114b99 diff --git a/CashRegister/obj/Debug/net5.0/CashRegister.pdb b/CashRegister/obj/Debug/net5.0/CashRegister.pdb new file mode 100644 index 00000000..2565bc78 Binary files /dev/null and b/CashRegister/obj/Debug/net5.0/CashRegister.pdb differ diff --git a/CashRegister/obj/Debug/net5.0/ref/CashRegister.dll b/CashRegister/obj/Debug/net5.0/ref/CashRegister.dll new file mode 100644 index 00000000..b478ca81 Binary files /dev/null and b/CashRegister/obj/Debug/net5.0/ref/CashRegister.dll differ diff --git a/CashRegister/obj/project.assets.json b/CashRegister/obj/project.assets.json new file mode 100644 index 00000000..a96eb5a5 --- /dev/null +++ b/CashRegister/obj/project.assets.json @@ -0,0 +1,477 @@ +{ + "version": 3, + "targets": { + "net5.0": { + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "Microsoft.NETCore.Targets/1.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "System.IO/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0", + "System.Text.Encoding": "4.3.0", + "System.Threading.Tasks": "4.3.0" + }, + "compile": { + "ref/netstandard1.5/System.IO.dll": {} + } + }, + "System.Runtime/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0" + }, + "compile": { + "ref/netstandard1.5/System.Runtime.dll": {} + } + }, + "System.Text.Encoding/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.3/System.Text.Encoding.dll": {} + } + }, + "System.Threading.Tasks/4.3.0": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0", + "Microsoft.NETCore.Targets": "1.1.0", + "System.Runtime": "4.3.0" + }, + "compile": { + "ref/netstandard1.3/System.Threading.Tasks.dll": {} + } + } + } + }, + "libraries": { + "Microsoft.NETCore.Platforms/1.1.0": { + "sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "type": "package", + "path": "microsoft.netcore.platforms/1.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/netstandard1.0/_._", + "microsoft.netcore.platforms.1.1.0.nupkg.sha512", + "microsoft.netcore.platforms.nuspec", + "runtime.json" + ] + }, + "Microsoft.NETCore.Targets/1.1.0": { + "sha512": "aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==", + "type": "package", + "path": "microsoft.netcore.targets/1.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/netstandard1.0/_._", + "microsoft.netcore.targets.1.1.0.nupkg.sha512", + "microsoft.netcore.targets.nuspec", + "runtime.json" + ] + }, + "System.IO/4.3.0": { + "sha512": "3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==", + "type": "package", + "path": "system.io/4.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/net462/System.IO.dll", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/net462/System.IO.dll", + "ref/netcore50/System.IO.dll", + "ref/netcore50/System.IO.xml", + "ref/netcore50/de/System.IO.xml", + "ref/netcore50/es/System.IO.xml", + "ref/netcore50/fr/System.IO.xml", + "ref/netcore50/it/System.IO.xml", + "ref/netcore50/ja/System.IO.xml", + "ref/netcore50/ko/System.IO.xml", + "ref/netcore50/ru/System.IO.xml", + "ref/netcore50/zh-hans/System.IO.xml", + "ref/netcore50/zh-hant/System.IO.xml", + "ref/netstandard1.0/System.IO.dll", + "ref/netstandard1.0/System.IO.xml", + "ref/netstandard1.0/de/System.IO.xml", + "ref/netstandard1.0/es/System.IO.xml", + "ref/netstandard1.0/fr/System.IO.xml", + "ref/netstandard1.0/it/System.IO.xml", + "ref/netstandard1.0/ja/System.IO.xml", + "ref/netstandard1.0/ko/System.IO.xml", + "ref/netstandard1.0/ru/System.IO.xml", + "ref/netstandard1.0/zh-hans/System.IO.xml", + "ref/netstandard1.0/zh-hant/System.IO.xml", + "ref/netstandard1.3/System.IO.dll", + "ref/netstandard1.3/System.IO.xml", + "ref/netstandard1.3/de/System.IO.xml", + "ref/netstandard1.3/es/System.IO.xml", + "ref/netstandard1.3/fr/System.IO.xml", + "ref/netstandard1.3/it/System.IO.xml", + "ref/netstandard1.3/ja/System.IO.xml", + "ref/netstandard1.3/ko/System.IO.xml", + "ref/netstandard1.3/ru/System.IO.xml", + "ref/netstandard1.3/zh-hans/System.IO.xml", + "ref/netstandard1.3/zh-hant/System.IO.xml", + "ref/netstandard1.5/System.IO.dll", + "ref/netstandard1.5/System.IO.xml", + "ref/netstandard1.5/de/System.IO.xml", + "ref/netstandard1.5/es/System.IO.xml", + "ref/netstandard1.5/fr/System.IO.xml", + "ref/netstandard1.5/it/System.IO.xml", + "ref/netstandard1.5/ja/System.IO.xml", + "ref/netstandard1.5/ko/System.IO.xml", + "ref/netstandard1.5/ru/System.IO.xml", + "ref/netstandard1.5/zh-hans/System.IO.xml", + "ref/netstandard1.5/zh-hant/System.IO.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.io.4.3.0.nupkg.sha512", + "system.io.nuspec" + ] + }, + "System.Runtime/4.3.0": { + "sha512": "JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==", + "type": "package", + "path": "system.runtime/4.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/net462/System.Runtime.dll", + "lib/portable-net45+win8+wp80+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/net462/System.Runtime.dll", + "ref/netcore50/System.Runtime.dll", + "ref/netcore50/System.Runtime.xml", + "ref/netcore50/de/System.Runtime.xml", + "ref/netcore50/es/System.Runtime.xml", + "ref/netcore50/fr/System.Runtime.xml", + "ref/netcore50/it/System.Runtime.xml", + "ref/netcore50/ja/System.Runtime.xml", + "ref/netcore50/ko/System.Runtime.xml", + "ref/netcore50/ru/System.Runtime.xml", + "ref/netcore50/zh-hans/System.Runtime.xml", + "ref/netcore50/zh-hant/System.Runtime.xml", + "ref/netstandard1.0/System.Runtime.dll", + "ref/netstandard1.0/System.Runtime.xml", + "ref/netstandard1.0/de/System.Runtime.xml", + "ref/netstandard1.0/es/System.Runtime.xml", + "ref/netstandard1.0/fr/System.Runtime.xml", + "ref/netstandard1.0/it/System.Runtime.xml", + "ref/netstandard1.0/ja/System.Runtime.xml", + "ref/netstandard1.0/ko/System.Runtime.xml", + "ref/netstandard1.0/ru/System.Runtime.xml", + "ref/netstandard1.0/zh-hans/System.Runtime.xml", + "ref/netstandard1.0/zh-hant/System.Runtime.xml", + "ref/netstandard1.2/System.Runtime.dll", + "ref/netstandard1.2/System.Runtime.xml", + "ref/netstandard1.2/de/System.Runtime.xml", + "ref/netstandard1.2/es/System.Runtime.xml", + "ref/netstandard1.2/fr/System.Runtime.xml", + "ref/netstandard1.2/it/System.Runtime.xml", + "ref/netstandard1.2/ja/System.Runtime.xml", + "ref/netstandard1.2/ko/System.Runtime.xml", + "ref/netstandard1.2/ru/System.Runtime.xml", + "ref/netstandard1.2/zh-hans/System.Runtime.xml", + "ref/netstandard1.2/zh-hant/System.Runtime.xml", + "ref/netstandard1.3/System.Runtime.dll", + "ref/netstandard1.3/System.Runtime.xml", + "ref/netstandard1.3/de/System.Runtime.xml", + "ref/netstandard1.3/es/System.Runtime.xml", + "ref/netstandard1.3/fr/System.Runtime.xml", + "ref/netstandard1.3/it/System.Runtime.xml", + "ref/netstandard1.3/ja/System.Runtime.xml", + "ref/netstandard1.3/ko/System.Runtime.xml", + "ref/netstandard1.3/ru/System.Runtime.xml", + "ref/netstandard1.3/zh-hans/System.Runtime.xml", + "ref/netstandard1.3/zh-hant/System.Runtime.xml", + "ref/netstandard1.5/System.Runtime.dll", + "ref/netstandard1.5/System.Runtime.xml", + "ref/netstandard1.5/de/System.Runtime.xml", + "ref/netstandard1.5/es/System.Runtime.xml", + "ref/netstandard1.5/fr/System.Runtime.xml", + "ref/netstandard1.5/it/System.Runtime.xml", + "ref/netstandard1.5/ja/System.Runtime.xml", + "ref/netstandard1.5/ko/System.Runtime.xml", + "ref/netstandard1.5/ru/System.Runtime.xml", + "ref/netstandard1.5/zh-hans/System.Runtime.xml", + "ref/netstandard1.5/zh-hant/System.Runtime.xml", + "ref/portable-net45+win8+wp80+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.runtime.4.3.0.nupkg.sha512", + "system.runtime.nuspec" + ] + }, + "System.Text.Encoding/4.3.0": { + "sha512": "BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==", + "type": "package", + "path": "system.text.encoding/4.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/System.Text.Encoding.dll", + "ref/netcore50/System.Text.Encoding.xml", + "ref/netcore50/de/System.Text.Encoding.xml", + "ref/netcore50/es/System.Text.Encoding.xml", + "ref/netcore50/fr/System.Text.Encoding.xml", + "ref/netcore50/it/System.Text.Encoding.xml", + "ref/netcore50/ja/System.Text.Encoding.xml", + "ref/netcore50/ko/System.Text.Encoding.xml", + "ref/netcore50/ru/System.Text.Encoding.xml", + "ref/netcore50/zh-hans/System.Text.Encoding.xml", + "ref/netcore50/zh-hant/System.Text.Encoding.xml", + "ref/netstandard1.0/System.Text.Encoding.dll", + "ref/netstandard1.0/System.Text.Encoding.xml", + "ref/netstandard1.0/de/System.Text.Encoding.xml", + "ref/netstandard1.0/es/System.Text.Encoding.xml", + "ref/netstandard1.0/fr/System.Text.Encoding.xml", + "ref/netstandard1.0/it/System.Text.Encoding.xml", + "ref/netstandard1.0/ja/System.Text.Encoding.xml", + "ref/netstandard1.0/ko/System.Text.Encoding.xml", + "ref/netstandard1.0/ru/System.Text.Encoding.xml", + "ref/netstandard1.0/zh-hans/System.Text.Encoding.xml", + "ref/netstandard1.0/zh-hant/System.Text.Encoding.xml", + "ref/netstandard1.3/System.Text.Encoding.dll", + "ref/netstandard1.3/System.Text.Encoding.xml", + "ref/netstandard1.3/de/System.Text.Encoding.xml", + "ref/netstandard1.3/es/System.Text.Encoding.xml", + "ref/netstandard1.3/fr/System.Text.Encoding.xml", + "ref/netstandard1.3/it/System.Text.Encoding.xml", + "ref/netstandard1.3/ja/System.Text.Encoding.xml", + "ref/netstandard1.3/ko/System.Text.Encoding.xml", + "ref/netstandard1.3/ru/System.Text.Encoding.xml", + "ref/netstandard1.3/zh-hans/System.Text.Encoding.xml", + "ref/netstandard1.3/zh-hant/System.Text.Encoding.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.text.encoding.4.3.0.nupkg.sha512", + "system.text.encoding.nuspec" + ] + }, + "System.Threading.Tasks/4.3.0": { + "sha512": "LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==", + "type": "package", + "path": "system.threading.tasks/4.3.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net45/_._", + "lib/portable-net45+win8+wp8+wpa81/_._", + "lib/win8/_._", + "lib/wp80/_._", + "lib/wpa81/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/_._", + "ref/netcore50/System.Threading.Tasks.dll", + "ref/netcore50/System.Threading.Tasks.xml", + "ref/netcore50/de/System.Threading.Tasks.xml", + "ref/netcore50/es/System.Threading.Tasks.xml", + "ref/netcore50/fr/System.Threading.Tasks.xml", + "ref/netcore50/it/System.Threading.Tasks.xml", + "ref/netcore50/ja/System.Threading.Tasks.xml", + "ref/netcore50/ko/System.Threading.Tasks.xml", + "ref/netcore50/ru/System.Threading.Tasks.xml", + "ref/netcore50/zh-hans/System.Threading.Tasks.xml", + "ref/netcore50/zh-hant/System.Threading.Tasks.xml", + "ref/netstandard1.0/System.Threading.Tasks.dll", + "ref/netstandard1.0/System.Threading.Tasks.xml", + "ref/netstandard1.0/de/System.Threading.Tasks.xml", + "ref/netstandard1.0/es/System.Threading.Tasks.xml", + "ref/netstandard1.0/fr/System.Threading.Tasks.xml", + "ref/netstandard1.0/it/System.Threading.Tasks.xml", + "ref/netstandard1.0/ja/System.Threading.Tasks.xml", + "ref/netstandard1.0/ko/System.Threading.Tasks.xml", + "ref/netstandard1.0/ru/System.Threading.Tasks.xml", + "ref/netstandard1.0/zh-hans/System.Threading.Tasks.xml", + "ref/netstandard1.0/zh-hant/System.Threading.Tasks.xml", + "ref/netstandard1.3/System.Threading.Tasks.dll", + "ref/netstandard1.3/System.Threading.Tasks.xml", + "ref/netstandard1.3/de/System.Threading.Tasks.xml", + "ref/netstandard1.3/es/System.Threading.Tasks.xml", + "ref/netstandard1.3/fr/System.Threading.Tasks.xml", + "ref/netstandard1.3/it/System.Threading.Tasks.xml", + "ref/netstandard1.3/ja/System.Threading.Tasks.xml", + "ref/netstandard1.3/ko/System.Threading.Tasks.xml", + "ref/netstandard1.3/ru/System.Threading.Tasks.xml", + "ref/netstandard1.3/zh-hans/System.Threading.Tasks.xml", + "ref/netstandard1.3/zh-hant/System.Threading.Tasks.xml", + "ref/portable-net45+win8+wp8+wpa81/_._", + "ref/win8/_._", + "ref/wp80/_._", + "ref/wpa81/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.threading.tasks.4.3.0.nupkg.sha512", + "system.threading.tasks.nuspec" + ] + } + }, + "projectFileDependencyGroups": { + "net5.0": [ + "System.IO >= 4.3.0" + ] + }, + "packageFolders": { + "/Users/staasafras/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj", + "projectName": "CashRegister", + "projectPath": "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj", + "packagesPath": "/Users/staasafras/.nuget/packages/", + "outputPath": "/Users/staasafras/Desktop/CashRegister/CashRegister/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/Users/staasafras/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net5.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net5.0": { + "targetAlias": "net5.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net5.0": { + "targetAlias": "net5.0", + "dependencies": { + "System.IO": { + "target": "Package", + "version": "[4.3.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/5.0.401/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/CashRegister/obj/project.nuget.cache b/CashRegister/obj/project.nuget.cache new file mode 100644 index 00000000..b0aff957 --- /dev/null +++ b/CashRegister/obj/project.nuget.cache @@ -0,0 +1,15 @@ +{ + "version": 2, + "dgSpecHash": "WdZlGSmLQS0CBf6NRgYK4ZgtaJFJFCjtwou1LzfG+1tDKH8BP/HHjOxbdPsEhakql3/mBmwZXWyLvAlm5eFsXQ==", + "success": true, + "projectFilePath": "/Users/staasafras/Desktop/CashRegister/CashRegister/CashRegister.csproj", + "expectedPackageFiles": [ + "/Users/staasafras/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512", + "/Users/staasafras/.nuget/packages/microsoft.netcore.targets/1.1.0/microsoft.netcore.targets.1.1.0.nupkg.sha512", + "/Users/staasafras/.nuget/packages/system.io/4.3.0/system.io.4.3.0.nupkg.sha512", + "/Users/staasafras/.nuget/packages/system.runtime/4.3.0/system.runtime.4.3.0.nupkg.sha512", + "/Users/staasafras/.nuget/packages/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg.sha512", + "/Users/staasafras/.nuget/packages/system.threading.tasks/4.3.0/system.threading.tasks.4.3.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/GoodInputFile b/GoodInputFile new file mode 100644 index 00000000..fba6116f --- /dev/null +++ b/GoodInputFile @@ -0,0 +1,3 @@ +2.12,3.00 +1.97,2.00 +3.33,5.00 \ No newline at end of file