Beispiel #1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="output">The output from the server.</param>
        public GetSubLanguagesOutput(XmlRpcStruct output) : base(output)
        {
            XmlRpcStruct[] data = output.GetXmlRpcStructArray("data");
            Languages = new SubtitleLanguage[data.Length];

            for (int Index = 0; Index < data.Length; Index++)
            {
                Languages[Index] = new SubtitleLanguage(data[Index]);
            }
        }