Scheduled Tasks should work as long as they are registered.

This commit is contained in:
kay.one 2013-05-08 23:38:20 -07:00
commit 32431540c5
21 changed files with 253 additions and 106 deletions

View file

@ -56,5 +56,10 @@ namespace NzbDrone.Common.Reflection
return (T)attribute;
}
public static bool HasAttribute<TAttribute>(this Type type)
{
return type.GetCustomAttributes(typeof(TAttribute), true).Any();
}
}
}