mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Scheduled Tasks should work as long as they are registered.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user