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

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

            return((o != null) && (o.Tags.Trim().ToLowerInvariant() == Tags.Trim().ToLowerInvariant()));
        }
Esempio n. 12
0
 public override bool Matches(Source other)
 {
     var o = other as FlickrTags;
     return (o != null) && (o.Tags == Tags);
 }
Esempio n. 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;
 }
Esempio n. 14
0
 public override bool Matches(Source other)
 {
     var o = other as Facebook;
     return (o != null) && (o.AccessToken == AccessToken);
 }