Skip to content

Commit c1ec089

Browse files
committed
remove params overload
1 parent 6ee38cd commit c1ec089

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

src/StackExchange.Redis/Interfaces/IServer.cs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -266,21 +266,6 @@ public partial interface IServer : IRedis
266266
/// <inheritdoc cref="Execute(string, object[])"/>
267267
Task<RedisResult> ExecuteAsync(string command, params object[] args);
268268

269-
/// <summary>
270-
/// Execute an arbitrary database-specific command against the server; this is primarily intended for
271-
/// executing modules, but may also be used to provide access to new features that lack
272-
/// a direct API.
273-
/// </summary>
274-
/// <param name="database">The database ID; if <see langword="null"/>, the configured default database is used.</param>
275-
/// <param name="command">The command to run.</param>
276-
/// <param name="args">The arguments to pass for the command.</param>
277-
/// <returns>A dynamic representation of the command's result.</returns>
278-
/// <remarks>This API should be considered an advanced feature; inappropriate use can be harmful.</remarks>
279-
RedisResult Execute(int? database, string command, params object[] args);
280-
281-
/// <inheritdoc cref="Execute(int?, string, object[])"/>
282-
Task<RedisResult> ExecuteAsync(int? database, string command, params object[] args);
283-
284269
#pragma warning disable RS0026, RS0027 // multiple overloads
285270
/// <summary>
286271
/// Execute an arbitrary command against the server; this is primarily intended for
@@ -296,6 +281,7 @@ public partial interface IServer : IRedis
296281

297282
/// <inheritdoc cref="Execute(string, ICollection{object}, CommandFlags)"/>
298283
Task<RedisResult> ExecuteAsync(string command, ICollection<object> args, CommandFlags flags = CommandFlags.None);
284+
#pragma warning restore RS0026, RS0027
299285

300286
/// <summary>
301287
/// Execute an arbitrary database-specific command against the server; this is primarily intended for
@@ -312,7 +298,6 @@ public partial interface IServer : IRedis
312298

313299
/// <inheritdoc cref="Execute(int?, string, ICollection{object}, CommandFlags)"/>
314300
Task<RedisResult> ExecuteAsync(int? database, string command, ICollection<object> args, CommandFlags flags = CommandFlags.None);
315-
#pragma warning restore RS0026, RS0027
316301

317302
/// <summary>
318303
/// Delete all the keys of all databases on the server.

src/StackExchange.Redis/PublicAPI/PublicAPI.Shipped.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,5 @@ static StackExchange.Redis.Condition.SortedSetContainsStarting(StackExchange.Red
19601960
static StackExchange.Redis.Condition.SortedSetNotContainsStarting(StackExchange.Redis.RedisKey key, StackExchange.Redis.RedisValue prefix) -> StackExchange.Redis.Condition!
19611961
StackExchange.Redis.ConnectionMultiplexer.GetServer(StackExchange.Redis.RedisKey key, object? asyncState = null, StackExchange.Redis.CommandFlags flags = StackExchange.Redis.CommandFlags.None) -> StackExchange.Redis.IServer!
19621962
StackExchange.Redis.IConnectionMultiplexer.GetServer(StackExchange.Redis.RedisKey key, object? asyncState = null, StackExchange.Redis.CommandFlags flags = StackExchange.Redis.CommandFlags.None) -> StackExchange.Redis.IServer!
1963-
StackExchange.Redis.IServer.Execute(int? database, string! command, params object![]! args) -> StackExchange.Redis.RedisResult!
19641963
StackExchange.Redis.IServer.Execute(int? database, string! command, System.Collections.Generic.ICollection<object!>! args, StackExchange.Redis.CommandFlags flags = StackExchange.Redis.CommandFlags.None) -> StackExchange.Redis.RedisResult!
1965-
StackExchange.Redis.IServer.ExecuteAsync(int? database, string! command, params object![]! args) -> System.Threading.Tasks.Task<StackExchange.Redis.RedisResult!>!
19661964
StackExchange.Redis.IServer.ExecuteAsync(int? database, string! command, System.Collections.Generic.ICollection<object!>! args, StackExchange.Redis.CommandFlags flags = StackExchange.Redis.CommandFlags.None) -> System.Threading.Tasks.Task<StackExchange.Redis.RedisResult!>!

0 commit comments

Comments
 (0)