Example #1
0
 public override bool Matches(Source other)
 {
     var o = other as ImageSearch;
     return (o != null) && (o.Search == Search);
 }
Example #2
0
 public override bool Matches(Source other)
 {
     var o = other as CraigslistForSale;
     return (o != null) && (o.Search == Search) && (o.List == List);
 }
Example #3
0
 public override bool Matches(Source other)
 {
     var o = other as PicasaUser;
     return (o != null) && (o.User == User);
 }
Example #4
0
 public static int Id(Source source)
 {
     return Array.IndexOf(All, source.GetType());
 }
Example #5
0
 public override bool Matches(Source other)
 {
     var o = other as TwitterAccount;
     return (o != null) && (o.Account == Account);
 }
Example #6
0
 public override bool Matches(Source other)
 {
     var o = other as Mail;
     return (o != null) && (o.EmailAddress == EmailAddress);
 }
Example #7
0
 public abstract bool Matches(Source other);
Example #8
0
 public override bool Matches(Source other)
 {
     var o = other as Rss;
     return (o != null) && (o.Url == Url);
 }
Example #9
0
 public override bool Matches(Source other)
 {
     var o = other as YoutubeTags;
     return (o != null) && (o.Tags.Trim().ToLowerInvariant() == Tags.Trim().ToLowerInvariant());
 }
Example #10
0
        public override bool Matches(Source other)
        {
            var o = other as YoutubeSearch;

            return((o != null) && (o.Search == Search));
        }
Example #11
0
        public override bool Matches(Source other)
        {
            var o = other as YoutubeTags;

            return((o != null) && (o.Tags.Trim().ToLowerInvariant() == Tags.Trim().ToLowerInvariant()));
        }
Example #12
0
 public override bool Matches(Source other)
 {
     var o = other as FlickrTags;
     return (o != null) && (o.Tags == Tags);
 }
Example #13
0
 public static Source GetSource(this IMessage m, Source[] srcs)
 {
     foreach (var s in srcs) {
         if (s.Id == m.SourceId && s.GetType().Name == m.SourceType) {
             return s;
         }
     }
     return null;
 }
Example #14
0
 public override bool Matches(Source other)
 {
     var o = other as Facebook;
     return (o != null) && (o.AccessToken == AccessToken);
 }