Beispiel #1
0
        /// <summary>
        /// Parse server response.
        /// </summary>
        public void Parse
        (
            [NotNull] ServerResponse response
        )
        {
            Sure.NotNull(response, nameof(response));

            Protocol         = ProtocolLine.Parse(response);
            RecordsProcessed = Protocol.Length;
            RecordsSucceeded = Protocol.Count(line => line.Success);
        }