mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02: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