public TrelloApiConfiguration(TrelloEmailResolver emailResolver, TrelloAuthentication key, DeploymentLinkingConfiguration deploymentLinkingConfiguration,
                               EmailNotificationConfiguration emailNotificationConfiguration)
 {
     EmailResolver  = emailResolver;
     Authentication = key;
     DeploymentLinkingConfiguration = deploymentLinkingConfiguration;
     EmailNotificationConfiguration = emailNotificationConfiguration;
 }
Example #2
0
 private static string GetLabelSearchTemplate(DeploymentLinkingConfiguration deploymentLinkingConfiguration)
 {
     return($"board:\"{deploymentLinkingConfiguration.BoardName}\" is:open {string.Join(" ", deploymentLinkingConfiguration.FilterCardsFromColumns.Select(x => $"-list:{x}"))}" + " label:\"{0}\"");
 }