-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added SlackNotificationOptions #36
Conversation
/// <param name="key">key name in the configuration</param> | ||
/// <param name="configure">action to configure settings</param> | ||
/// <typeparam name="TSettings">model for settings</typeparam> | ||
/// <returns></returns> | ||
/// <exception cref="InvalidOperationException"></exception> | ||
public static IReloadingManagerWithConfiguration<TSettings> LoadSettings<TSettings>( | ||
this IConfiguration configuration, | ||
Func<TSettings, (string slackConnString, string queueName, string senderName)> slackCheckerSettings, | ||
Action<SlackNotificationOptions<TSettings>> slackNotificationOptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to rename argument to ...Delegate, ...Setter or somethign similar
/// <summary> | ||
/// Azure connection string | ||
/// </summary> | ||
internal string ConnectionString { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setter could be private
/// <summary> | ||
/// Azure queue name | ||
/// </summary> | ||
internal string QueueName { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setter could be private
No description provided.