From 5891ce219ac0d89decd3de0dd29ec79b4c77da8e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 24 Oct 2022 10:22:49 -0500 Subject: rename ContainsKey to IsWaitingFor --- src/slskd/Common/Waiter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/slskd/Common/Waiter.cs b/src/slskd/Common/Waiter.cs index 0c9cca98..58fbcb83 100644 --- a/src/slskd/Common/Waiter.cs +++ b/src/slskd/Common/Waiter.cs @@ -63,7 +63,7 @@ namespace slskd /// /// The unique WaitKey to check. /// A value indicating whether the specified key is being waited upon. - bool ContainsKey(WaitKey key); + bool IsWaitingFor(WaitKey key); /// /// Throws the specified on the oldest wait matching the specified . @@ -197,7 +197,7 @@ namespace slskd /// /// The unique WaitKey to check. /// A value indicating whether the specified key is being waited upon. - public bool ContainsKey(WaitKey key) + public bool IsWaitingFor(WaitKey key) => Waits.ContainsKey(key); /// -- cgit v1.2.3