Ignore:
Timestamp:
Oct 11, 2010, 8:04:34 PM (14 years ago)
Author:
bayral
Message:

Connection à partir de wpf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgImagesProxyResponse.cs

    r7149 r7160  
    1111    [Serializable()]
    1212    [XmlRoot(ElementName = "rsp")]
    13     internal class PwgImageRateProxyResponse : PwgBaseProxyReponse
     13    public class PwgImageRateProxyResponse : PwgBaseProxyReponse
    1414    {
    1515        [XmlElement("count")]
    16         internal Int32 Count { get; set; }
     16        public Int32 Count { get; set; }
    1717        [XmlElement("average")]
    18         internal String Average { get; set; }
     18        public String Average { get; set; }
    1919        [XmlElement("stdev")]
    20         internal String Stdev { get; set; }
     20        public String Stdev { get; set; }
    2121    }
    2222
    2323    [Serializable()]
    2424    [XmlRoot(ElementName = "categorie")]
    25     internal class PwgImageProxyResponse
     25    public class PwgImageProxyResponse
    2626    {
    2727        [XmlAttribute(AttributeName = "id")]
    28         internal Int32 Id { get; set; }
     28        public Int32 Id { get; set; }
    2929        [XmlAttribute(AttributeName = "width")]
    30         internal Int32 Width { get; set; }
     30        public Int32 Width { get; set; }
    3131        [XmlAttribute(AttributeName = "height")]
    32         internal Int32 Height { get; set; }
     32        public Int32 Height { get; set; }
    3333        [XmlAttribute(AttributeName = "file")]
    34         internal String File { get; set; }
     34        public String File { get; set; }
    3535        [XmlAttribute(AttributeName = "tn_url")]
    36         internal String UrlThunb { get; set; }
     36        public String UrlThunb { get; set; }
    3737        [XmlAttribute(AttributeName = "element_url")]
    38         internal String UrlElement { get; set; }
     38        public String UrlElement { get; set; }
    3939        [XmlAttribute(AttributeName = "high_url")]
    40         internal String UrlHighDef { get; set; }
     40        public String UrlHighDef { get; set; }
    4141        [XmlAttribute(AttributeName = "hit")]
    42         internal Int64 Counter { get; set; }
     42        public Int64 Counter { get; set; }
    4343
    4444        [XmlArray("tags")]
    4545        [XmlArrayItem("tag")]
    46         internal PwgTagProxyResponse[] Tags { get; set; }
     46        public PwgTagProxyResponse[] Tags { get; set; }
    4747
    4848        [XmlArray("categories")]
    4949        [XmlArrayItem("category")]
    50         internal PwgCategoryProxyResponse[] Categories { get; set; }
     50        public PwgCategoryProxyResponse[] Categories { get; set; }
    5151
    5252    }
     
    5454    [Serializable()]
    5555    [XmlRoot(ElementName = "images")]
    56     internal class PwgImageListProxyResponse
     56    public class PwgImageListProxyResponse
    5757    {
    5858        [XmlAttribute("page")]
    59         internal Int32 Page { get; set; }
     59        public Int32 Page { get; set; }
    6060        [XmlAttribute("per_page")]
    61         internal Int32 PerPage { get; set; }
     61        public Int32 PerPage { get; set; }
    6262        [XmlAttribute("count")]
    63         internal Int32 Count { get; set; }
     63        public Int32 Count { get; set; }
    6464
    6565        [XmlElement("image", typeof(PwgImageProxyResponse))]
    66         internal PwgImageProxyResponse[] Images { get; set; }
     66        public PwgImageProxyResponse[] Images { get; set; }
    6767
    6868
     
    7171    [Serializable()]
    7272    [XmlRoot(ElementName = "rsp")]
    73     internal class PwgImagesProxyResponse : PwgBaseProxyReponse
     73    public class PwgImagesProxyResponse : PwgBaseProxyReponse
    7474    {
    7575        [XmlElement("images")]
    76         internal PwgImageListProxyResponse ImageList { get; set; }
     76        public PwgImageListProxyResponse ImageList { get; set; }
    7777    }
    7878
Note: See TracChangeset for help on using the changeset viewer.