Skip to content
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

Merged
merged 2 commits into from
Aug 21, 2018
Merged

added SlackNotificationOptions #36

merged 2 commits into from
Aug 21, 2018

Conversation

samodovdi
Copy link
Contributor

No description provided.

/// <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,
Copy link
Contributor

@starkmsu starkmsu Aug 21, 2018

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; }

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; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setter could be private

@samodovdi samodovdi merged commit 4eee766 into master Aug 21, 2018
@samodovdi samodovdi deleted the checks branch August 21, 2018 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants