Ejemplo n.º 1
0
 public SavedSearch(SavedSearch objectToCopy)
 {
     Created    = objectToCopy.Created;
     DailyEmail = objectToCopy.DailyEmail;
     EnableEmailNotifications = objectToCopy.EnableEmailNotifications;
     FilterString             = objectToCopy.FilterString;
     Image          = objectToCopy.Image;
     LastAlertCount = objectToCopy.LastAlertCount;
     LastAlertDate  = objectToCopy.LastAlertDate;
     Name           = objectToCopy.Name;
     NewHomeSearch  = objectToCopy.NewHomeSearch;
     SavedSearchID  = objectToCopy.SavedSearchID;
     SeparateEmail  = objectToCopy.SeparateEmail;
     ShowcaseID     = objectToCopy.ShowcaseID;
     ShowcaseItemID = objectToCopy.ShowcaseItemID;
     UserID         = objectToCopy.UserID;
 }
Ejemplo n.º 2
0
 public static void SendAlertEmails(SavedSearch savedSearch, WhatChanged whatChanged = null)
 {
     SendAlertEmails(new List <SavedSearch>(new[] { savedSearch }), new List <WhatChanged>(new[] { whatChanged }));
 }