/// <summary> /// Deletes the specified python variable /// </summary> /// <param name="variableName">Name of the variable to delete</param> public static void DestroyVariable(string variableName) { if (_variables.ContainsKey(variableName)) { Messages.PythonDeleteVariableMessage msg = new Messages.PythonDeleteVariableMessage { VariableName = variableName }; KodiBridge.SendMessage(msg); _variables.Remove(variableName); } }
public string Send() { Reply = KodiBridge.SendMessage(this.Request); OnReply?.Invoke(this, new MessageReplyEventArgs(Reply)); return(Reply); }