Skip to content

Commit

Permalink
reverse comment owner
Browse files Browse the repository at this point in the history
  • Loading branch information
mgravell committed Feb 28, 2024
1 parent 99774ff commit 1d63bed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/StackExchange.Redis/ConnectionMultiplexer.LibraryName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ public partial class ConnectionMultiplexer
private readonly HashSet<string> _libraryNameSuffixHash = new();
private string _libraryNameSuffixCombined = "";

/// <summary>
/// Append a usage-specific modifier to the advertised library name; suffixes are de-duplicated
/// and sorted alphabetically (so adding 'a', 'b' and 'a' will result in suffix '-a-b').
/// Connections will be updated as necessary (RESP2 subscription
/// connections will not show updates until those connections next connect).
/// </summary>
/// <inheritdoc cref="IConnectionMultiplexer.AddLibraryNameSuffix(string)" />
public void AddLibraryNameSuffix(string suffix)
{
if (string.IsNullOrWhiteSpace(suffix)) return; // trivial
Expand Down
7 changes: 6 additions & 1 deletion src/StackExchange.Redis/Interfaces/IConnectionMultiplexer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,12 @@ public interface IConnectionMultiplexer : IDisposable, IAsyncDisposable
/// <param name="options">The options to use for this export.</param>
void ExportConfiguration(Stream destination, ExportOptions options = ExportOptions.All);

/// <inheritdoc cref="ConnectionMultiplexer.AddLibraryNameSuffix(string)" />
/// <summary>
/// Append a usage-specific modifier to the advertised library name; suffixes are de-duplicated
/// and sorted alphabetically (so adding 'a', 'b' and 'a' will result in suffix '-a-b').
/// Connections will be updated as necessary (RESP2 subscription
/// connections will not show updates until those connections next connect).
/// </summary>
void AddLibraryNameSuffix(string suffix);
}
}

0 comments on commit 1d63bed

Please sign in to comment.