Skip to content

Commit

Permalink
seal API key
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualBean committed Jul 23, 2021
1 parent fb129ad commit 4fce3b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ResilientCommand/CommandKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ResilientCommand
/// <summary>
/// A Key that represents a <see cref="ResilientCommand{TResult}"/>.
/// </summary>
public class CommandKey
public sealed class CommandKey
{
private readonly string key;

Expand Down
4 changes: 2 additions & 2 deletions ResilientCommand/Helpers/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public static void AddResilientCommands(this IServiceCollection services, params
}

/// <summary>
/// Automagically adds all ResilientCommands from the given assemblies.
/// Automagically adds all ResilientCommands from the given assemblies.
/// </summary>
/// <param name="services">The services.</param>
/// <param name="assemblies">The assemblies.</param>
/// <param name="types">The types.</param>
public static void AddResilientCommands(this IServiceCollection services, params Type[] types)
{
AddResilientCommands(services, types.Select(t => t.GetTypeInfo().Assembly));
Expand Down

0 comments on commit 4fce3b6

Please sign in to comment.