aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Search/Extensions.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-07-07 09:33:10 -0500
committerJP Dillingham <jp@dillingham.me>2022-07-07 09:33:10 -0500
commit3ccd7738f2603a3710138a933694e6584a4f0dc3 (patch)
treeea4d71a2f5e607836c6aa63dd87cf8a7f1e05f9a /src/slskd/Search/Extensions.cs
parent932e8f29168bb760fe82aaac5cc43a53f0d5af9f (diff)
downloadslskd-3ccd7738f2603a3710138a933694e6584a4f0dc3.tar.gz
updates to reflect new delegate tuple signature
Diffstat (limited to 'src/slskd/Search/Extensions.cs')
-rw-r--r--src/slskd/Search/Extensions.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Search/Extensions.cs b/src/slskd/Search/Extensions.cs
index b43c3e68..5fc53f88 100644
--- a/src/slskd/Search/Extensions.cs
+++ b/src/slskd/Search/Extensions.cs
@@ -32,8 +32,8 @@ namespace slskd.Search
/// <returns></returns>
public static SearchOptions WithActions(
this SearchOptions options,
- Action<SearchStateChangedEventArgs> stateChanged = null,
- Action<SearchResponseReceivedEventArgs> responseReceived = null)
+ Action<(SearchStates PreviousState, Soulseek.Search Search)> stateChanged = null,
+ Action<(Soulseek.Search Search, SearchResponse Response)> responseReceived = null)
{
stateChanged ??= (args) => { };
responseReceived ??= (args) => { };