From 52ed4199f638c94e7d98d89cca766d166fd09afa Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 31 May 2015 15:07:38 -0500 Subject: [PATCH] Comments. --- TallyCore/Quest.cs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/TallyCore/Quest.cs b/TallyCore/Quest.cs index 40973955..517697c1 100644 --- a/TallyCore/Quest.cs +++ b/TallyCore/Quest.cs @@ -50,6 +50,11 @@ protected void OnPropertyChanged([CallerMemberName] string propertyName = null) #endregion #region IQuest Properties + /// + /// Gets the expected forum adapter for this quest, with option to cancel. + /// + /// Cancellation token. + /// Returns an IForumAdapter to read the quest thread. public async Task GetForumAdapter(CancellationToken token) { if (forumAdapter == null) @@ -57,6 +62,10 @@ public async Task GetForumAdapter(CancellationToken token) return forumAdapter; } + /// + /// Gets the expected forum adapter for this quest. + /// + /// Returns an IForumAdapter to read the quest thread. public IForumAdapter GetForumAdapter() { if (forumAdapter == null) @@ -69,7 +78,9 @@ private void UpdateForumAdapter() forumAdapter = ForumAdapterFactory.GetAdapter(this); } - + /// + /// Gets the full thread URL for the quest. + /// public string ThreadName { get @@ -92,6 +103,9 @@ public string ThreadName } } + /// + /// Gets the name to display in the combo box dropdown, for selecting a quest. + /// public string DisplayName { get @@ -115,6 +129,9 @@ public string DisplayName } } + /// + /// Gets the web site name from the thread URL. + /// public string SiteName { get