25 using System.Collections.Generic;
27 namespace SiliconStudio.
Paradox.Games
39 #if SILICONSTUDIO_PLATFORM_WINDOWS_DESKTOP
40 var args = Environment.GetCommandLineArgs();
44 var trimChars =
new[] {
'/',
'-' };
46 for (
int i = 1; i < args.Length; i++)
48 var argument = args[i].TrimStart(trimChars);
50 var value = string.Empty;
52 int index = argument.IndexOf(
':');
55 key = argument.Substring(0, index);
56 value = argument.Substring(index + 1);
63 if (!ContainsKey(key) && (key != string.Empty))
LaunchParameters()
Initializes a new instance of the LaunchParameters class.
Parameters used when launching an application.