From aa6d2d64bd1e830f7722a1603db8dfc0aa75d2ab Mon Sep 17 00:00:00 2001 From: glax <--local> Date: Thu, 18 May 2023 15:47:48 +0200 Subject: [PATCH] Changed prototypes for GetPublications, GetChapters and DownloadChapter to return the value instead of using out. --- Tranga/Connector.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tranga/Connector.cs b/Tranga/Connector.cs index 812a146..399b42f 100644 --- a/Tranga/Connector.cs +++ b/Tranga/Connector.cs @@ -5,9 +5,9 @@ namespace Tranga; public abstract class Connector { public abstract string name { get; } - public abstract bool GetPublications(out Publication[] publications); - public abstract bool GetChapters(Publication publication, out Chapter[] chapters); - public abstract bool DownloadChapter(Chapter chapter); //where to? + public abstract Publication[] GetPublications(); + public abstract Chapter[] GetChapters(Publication publication); + public abstract void DownloadChapter(Chapter chapter); //where to? internal class DownloadClient {