actually implement DefaultCommandLine

This commit is contained in:
Michael Becker 2021-04-29 22:31:58 -04:00
parent 5194305560
commit 0f4f520963
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

View File

@ -23,5 +23,13 @@ namespace MBS.Framework
{
public class DefaultCommandLine : CommandLine
{
public DefaultCommandLine()
{
string[] ary1 = Environment.GetCommandLineArgs();
string[] ary2 = new string[ary1.Length - 1];
Array.Copy(ary1, 1, ary2, 0, ary1.Length - 1);
Arguments = ary2;
}
}
}