public bool Remove(string key) { key = PythonInterop.EscapeArgument(key, EscapeFlags.Quotes); PythonInterop.Eval($"del {Instance.PyName}[{key}]"); Keys.Remove(key); return(!ContainsKey(key)); }
/// <summary> /// Evaluates the generated class /// </summary> public void Install() { PythonInterop.Eval(this.GetCode()); }
public bool Remove(string key) { PythonInterop.Eval($"del {Instance.PyName}[{key}]"); Keys.Remove(key); return(!ContainsKey(key)); }