Esempio n. 1
0
        /// <summary>
        /// Information about the fulfillment.
        /// </summary>
        /// <param name="key">key type of fulfillment (e.g. license, download)</param>
        /// <returns>Specific fulfillment information (FsprgLicense, FsprgFileDownload).</returns>
        public object this[string key] {
            get {
                PlistDict item = Raw.GetDict(key);

                string type = item.GetString("FulfillmentType", "");
                if (type.Equals("License"))
                {
                    return(new License(item));
                }
                if (type.Equals("File"))
                {
                    return(new FileDownload(item));
                }

                return(item);
            }
        }
 public OrderItem(PlistDict dict)
 {
     _raw = dict;
 }
 public License(PlistDict dict)
 {
     _raw = dict;
 }
 public FileDownload(PlistDict dict)
 {
     _raw = dict;
 }
Esempio n. 5
0
 public FileDownload(PlistDict dict)
 {
     _raw = dict;
 }
Esempio n. 6
0
 public OrderItem(PlistDict dict)
 {
     _raw = dict;
 }
 public Fulfillment(PlistDict dict)
 {
     _raw = dict;
 }
Esempio n. 8
0
 public Fulfillment(PlistDict dict)
 {
     _raw = dict;
 }
Esempio n. 9
0
 public License(PlistDict dict)
 {
     _raw = dict;
 }