source: extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgBaseProxyReponse.cs @ 7149

Last change on this file since 7149 was 7149, checked in by bayral, 14 years ago

Piwigolib is now modify for mask the implementation of proxy.
Add start version of piwigo WPF

File size: 830 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Xml.Serialization;
6
7namespace Com.Piwigo.Lib.Proxy.Response
8{
9
10    [Serializable()]
11    [XmlRoot(ElementName = "err")]
12    internal class PwgBaseProxyReponseError
13    {
14        [XmlAttribute(AttributeName = "code")]
15        internal Int32 Code { get; set; }
16
17        [XmlAttribute(AttributeName = "msg")]
18        internal String Message { get; set; }
19    }
20
21
22    [Serializable()]
23    [XmlRoot(ElementName = "rsp")]
24    internal abstract class PwgBaseProxyReponse
25    {
26        [XmlAttribute(AttributeName="stat")]
27        internal PwgBaseProxyReponseRetourEnum Retour { get; set; }
28
29        [XmlElement(ElementName="err")]
30        internal PwgBaseProxyReponseError Erreur { get; set; }
31
32    }
33}
Note: See TracBrowser for help on using the repository browser.