public override bool Matches(Source other) { var o = other as ImageSearch; return (o != null) && (o.Search == Search); }
public override bool Matches(Source other) { var o = other as CraigslistForSale; return (o != null) && (o.Search == Search) && (o.List == List); }
public override bool Matches(Source other) { var o = other as PicasaUser; return (o != null) && (o.User == User); }
public static int Id(Source source) { return Array.IndexOf(All, source.GetType()); }
public override bool Matches(Source other) { var o = other as TwitterAccount; return (o != null) && (o.Account == Account); }
public override bool Matches(Source other) { var o = other as Mail; return (o != null) && (o.EmailAddress == EmailAddress); }
public abstract bool Matches(Source other);
public override bool Matches(Source other) { var o = other as Rss; return (o != null) && (o.Url == Url); }
public override bool Matches(Source other) { var o = other as YoutubeTags; return (o != null) && (o.Tags.Trim().ToLowerInvariant() == Tags.Trim().ToLowerInvariant()); }
public override bool Matches(Source other) { var o = other as YoutubeSearch; return((o != null) && (o.Search == Search)); }
public override bool Matches(Source other) { var o = other as YoutubeTags; return((o != null) && (o.Tags.Trim().ToLowerInvariant() == Tags.Trim().ToLowerInvariant())); }
public override bool Matches(Source other) { var o = other as FlickrTags; return (o != null) && (o.Tags == Tags); }
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; }
public override bool Matches(Source other) { var o = other as Facebook; return (o != null) && (o.AccessToken == AccessToken); }