/// <summary> /// Create a PythonInterpreterView with values from a PythonInterpreter. /// </summary> public PythonInterpreterView(PythonInterpreter interpreter) { _name = null; _id = interpreter.Id; _version = Version.Parse(interpreter.Version); _path = null; }
internal PythonInterpreter Clone() { var res = new PythonInterpreter(); res.Id = Id; return(res); }
internal static bool IsSame(PythonInterpreter self, PythonInterpreter other) { if (self == null) { return(other == null); } else if (other != null) { return(self.Id == other.Id); } return(false); }
internal static bool IsSame(PythonInterpreter self, PythonInterpreter other) { if (self == null) { return other == null; } else if (other != null) { return self.Id == other.Id && self.Version == other.Version; } return false; }
internal PythonInterpreter Clone() { var res = new PythonInterpreter(); res.Id = Id; res.Version = Version; return res; }
/// <summary> /// Create a PythonInterpreterView with values from a PythonInterpreter. /// </summary> public PythonInterpreterView(PythonInterpreter interpreter) { _name = null; _id = interpreter.Id; _path = null; }