Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

Licenses.cs

using System;
using System.Xml.Serialization;
using System.Xml.Schema;

namespace FlickrNet
{
      /// <summary>
      /// A class which encapsulates a single property, an array of
      /// <see cref="License"/> objects in its <see cref="LicenseCollection"/> property.
      /// </summary>
      [System.Serializable]
00012       public class Licenses
      {
            /// <summary>A collection of available licenses.</summary>
            /// <remarks/>
            [XmlElement("license", Form=XmlSchemaForm.Unqualified)]
00017             public License[] LicenseCollection;
    
      }

      /// <summary>
      /// Details of a particular license available from Flickr.
      /// </summary>
      [System.Serializable]
00025       public class License
      {
            /// <summary>The ID of the license. Used by <see cref="Flickr.PhotosGetInfo"/>.</summary>
            /// <remarks/>
            [XmlAttribute("id", Form=XmlSchemaForm.Unqualified)]
00030             public int LicenseId;

            /// <summary>The name of the license.</summary>
            /// <remarks/>
            [XmlAttribute("name", Form=XmlSchemaForm.Unqualified)]
00035             public string LicenseName;

            /// <summary>The URL for the license text.</summary>
            /// <remarks/>
            [XmlAttribute("url", Form=XmlSchemaForm.Unqualified)]
00040             public string LicenseUrl;

      }
}

Generated by  Doxygen 1.6.0   Back to index