public static DebugeeProcess CreateProcess(string adapterId, PathHandlingStrategy pathStrategy) { if (adapterId == "oscript") { return new ConsoleProcess(pathStrategy); } if (adapterId == "oscript.web") { return new ServerProcess(pathStrategy); } throw new ArgumentOutOfRangeException(nameof(adapterId), adapterId, "Unsupported debugger"); }
public ConsoleProcess(PathHandlingStrategy pathHandling) : base(pathHandling) { }
public DebugeeProcess(PathHandlingStrategy pathHandling) { _strategy = pathHandling; }
public ServerProcess(PathHandlingStrategy pathHandling) : base(pathHandling) { }