public IsFollow ( string showId, string pluginName, Quality quality, Format format ) : bool | ||
showId | string | |
pluginName | string | |
quality | Quality | |
format | Format | |
return | bool |
public bool IsFollow(string showId, string pluginName, Quality quality, Format format)
{
foreach (Follow f in ShowFollows.Where(a => a.ShowId == showId && a.PluginName == pluginName && a.Quality == quality))
{
if ((f.Format & format) != 0)
return true;
}
return false;
}
Follows::IsFollow ( string showId, string pluginName ) : bool |