Ejemplo n.º 1
0
 /// <summary>
 /// Creates a new category by initializing it from an existing one.
 /// </summary>
 /// <param name="categorytoclone">The category whose properties are being copied</param>
 public category(INewsFeedCategory categorytoclone)
 {
     if (categorytoclone != null)
     {
         this.AnyAttr                      = categorytoclone.AnyAttr;
         this.downloadenclosures           = categorytoclone.downloadenclosures;
         this.downloadenclosuresSpecified  = categorytoclone.downloadenclosuresSpecified;
         this.enclosurealert               = categorytoclone.enclosurealert;
         this.enclosurealertSpecified      = categorytoclone.enclosurealertSpecified;
         this.enclosurefolder              = categorytoclone.enclosurefolder;
         this.listviewlayout               = categorytoclone.listviewlayout;
         this.markitemsreadonexit          = categorytoclone.markitemsreadonexit;
         this.markitemsreadonexitSpecified = categorytoclone.markitemsreadonexitSpecified;
         this.maxitemage                   = categorytoclone.maxitemage;
         this.refreshrate                  = categorytoclone.refreshrate;
         this.refreshrateSpecified         = categorytoclone.refreshrateSpecified;
         this.stylesheet                   = categorytoclone.stylesheet;
         this.Value = categorytoclone.Value;
     }
 }
Ejemplo n.º 2
0
 public bool Equals(INewsFeedCategory other)
 {
     return(Equals(other as category));
 }