Exemplo n.º 1
0
        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");
        }
Exemplo n.º 2
0
 public ConsoleProcess(PathHandlingStrategy pathHandling) : base(pathHandling)
 {
 }
Exemplo n.º 3
0
 public DebugeeProcess(PathHandlingStrategy pathHandling)
 {
     _strategy = pathHandling;
 }
Exemplo n.º 4
0
 public ServerProcess(PathHandlingStrategy pathHandling) : base(pathHandling)
 {
 }