mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Method, Variable, Class Renames in Readarr.Core
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using NzbDrone.Core.Messaging.Commands;
|
||||
|
||||
namespace NzbDrone.Core.Books.Commands
|
||||
{
|
||||
public class RefreshAuthorCommand : Command
|
||||
{
|
||||
public int? AuthorId { get; set; }
|
||||
public bool IsNewAuthor { get; set; }
|
||||
|
||||
public RefreshAuthorCommand()
|
||||
{
|
||||
}
|
||||
|
||||
public RefreshAuthorCommand(int? authorId, bool isNewAuthor = false)
|
||||
{
|
||||
AuthorId = authorId;
|
||||
IsNewAuthor = isNewAuthor;
|
||||
}
|
||||
|
||||
public override bool SendUpdatesToClient => true;
|
||||
|
||||
public override bool UpdateScheduledTask => !AuthorId.HasValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user