コード例 #1
0
 /// <summary>
 /// Default constructor. I don't like these but XmlSerializer requires it, even though I have NO NO NO
 /// intention of deserializing into this class  (just serializing). Make sure to populate fields if you call
 /// this constructor.
 /// </summary>
 public UpdateCollectionItem() : base()
 {
     if (Title is SwitchUpdate)
     {
         update = Title as SwitchUpdate;
     }
 }