Chimney.MPD.ChimneyMPDServer.ErrorResponse C# (CSharp) Method

ErrorResponse() public method

public ErrorResponse ( string response, int id, int position ) : bool
response string
id int
position int
return bool
        public bool ErrorResponse(string response, int id, int position)
        {
            if (ResponsConfigDictionary.ContainsKey(id))
            {
                ResponsConfigDictionary[id].error_response = true;

                ResponsConfigDictionary[id].AppendResponse(response, position);

                return true;
            }
            return false;
        }