public FileSelectionViewModel() { var args = Environment.GetCommandLineArgs(); if (args.Length > 1) { Files = new StaticFileListGenerator(args.Skip(1).ToList()); } }
public FileSelectionViewModel() { var args = Environment.GetCommandLineArgs(); if (args.Length > 1) { // skip the argument containing the executables path Files = new StaticFileListGenerator(args.Skip(1).ToList()); } }