aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-12 08:45:39 -0500
committerJP Dillingham <jp@dillingham.me>2022-10-12 08:45:39 -0500
commitf0cb57923b91f4db903bf6cbc4d5cc08b8995f0c (patch)
treefb686f6fb4f466d011ae967a1f1480e98ff8adb2 /src/slskd/Common
parent780e9b5fd515421a12cea3b35308889f70370e6e (diff)
parentdddcc1314d2260a21fe62e61b92f446a15357b04 (diff)
downloadslskd-f0cb57923b91f4db903bf6cbc4d5cc08b8995f0c.tar.gz
Merge remote-tracking branch 'origin/master' into multi-shares
Diffstat (limited to 'src/slskd/Common')
-rw-r--r--src/slskd/Common/ChannelReader.cs2
-rw-r--r--src/slskd/Common/CommonExtensions.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Common/ChannelReader.cs b/src/slskd/Common/ChannelReader.cs
index 49ebf0cf..a5386715 100644
--- a/src/slskd/Common/ChannelReader.cs
+++ b/src/slskd/Common/ChannelReader.cs
@@ -50,7 +50,7 @@ namespace slskd.Shares
public class ChannelReader<T> : IChannelReader
{
/// <summary>
- /// Initializes a new instance of the <see cref="ChannelReader"/> class.
+ /// Initializes a new instance of the <see cref="ChannelReader{T}"/> class.
/// </summary>
/// <param name="channel">The channel from which the reader will read.</param>
/// <param name="handler">An <see cref="Action"/> to be invoked for each item read from the channel.</param>
diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs
index 0998d44d..8fb1fd25 100644
--- a/src/slskd/Common/CommonExtensions.cs
+++ b/src/slskd/Common/CommonExtensions.cs
@@ -367,7 +367,7 @@ namespace slskd
/// </summary>
/// <typeparam name="T">The Enum type to which to cast.</typeparam>
/// <param name="str">The string to cast.</param>
- /// <returns>The cast enum</returns>
+ /// <returns>The cast enum.</returns>
public static T ToEnum<T>(this string str)
{
return (T)Enum.Parse(typeof(T), str, ignoreCase: true);