Esempio n. 1
0
 /// <summary>
 ///     Create new Recording with Result
 /// </summary>
 /// <param name="data">Result</param>
 public Recording(RecordingResult data)
 {
     Data          = data;
     ErrorMessage  = Exceptions.Message;
     ErrorOccurred = Exceptions.ErrorOccurred;
     Response      = Http.LastResponse;
 }
Esempio n. 2
0
        /// <summary>
        ///     Create new Recording with Result
        /// </summary>
        /// <param name="data">Result</param>
        public Recording(RecordingResult data)
        {
            if (data.Data == null || data.Data.Count == 0)
            {
                data.Data = new List <RecordingData> {
                    new RecordingData()
                }
            }
            ;

            Data     = data;
            Response = Http.LastResponse;
        }
    }