tik4net.Api.ApiCommand.ExecuteSingleRow C# (CSharp) Метод

ExecuteSingleRow() публичный Метод

public ExecuteSingleRow ( ) : ITikReSentence
Результат ITikReSentence
        public ITikReSentence ExecuteSingleRow()
        {
            EnsureConnectionSet();
            EnsureNotRunning();

            _isRuning = true;
            try
            {
                string[] commandRows = ConstructCommandText(TikCommandParameterFormat.Filter);
                IEnumerable<ApiSentence> response = EnsureApiSentences(_connection.CallCommandSync(commandRows));
                ThrowPossibleResponseError(response.ToArray());

                EnsureExcatNumberOfResponses(response, 2);
                EnsureReReponse(response.First());   //!re
                ApiReSentence result = (ApiReSentence)response.First();
                EnsureDoneResponse(response.Last()); //!done

                return result;
            }
            finally
            {
                _isRuning = false;
            }
        }