public TrelloApiConfiguration(TrelloEmailResolver emailResolver, TrelloAuthentication key, DeploymentLinkingConfiguration deploymentLinkingConfiguration,
                               EmailNotificationConfiguration emailNotificationConfiguration)
 {
     EmailResolver  = emailResolver;
     Authentication = key;
     DeploymentLinkingConfiguration = deploymentLinkingConfiguration;
     EmailNotificationConfiguration = emailNotificationConfiguration;
 }
Пример #2
0
 public TrelloApiConfiguration(TrelloEmailResolver emailResolver, TrelloAuthentication key, DeploymentLinkingConfiguration deploymentLinkingConfiguration,
     EmailNotificationConfiguration emailNotificationConfiguration)
 {
     EmailResolver = emailResolver;
     Authentication = key;
     DeploymentLinkingConfiguration = deploymentLinkingConfiguration;
     EmailNotificationConfiguration = emailNotificationConfiguration;
 }
Пример #3
0
        public TrelloClient(TrelloApiConfiguration configuration)
        {
            restClient = new RestClient("https://api.trello.com/1/");
            restClient.Authenticator = GetAuthenticator(configuration.Authentication);

            restClient.ReadWriteTimeout = 60000;
            restClient.Timeout          = 60000;

            emailResolver = configuration.EmailResolver;
            deploymentLinkingSearchTemplate = GetDeploymentLinkingSearchTemplate(configuration.DeploymentLinkingConfiguration);
            labelSearchTemplate             = GetLabelSearchTemplate(configuration.DeploymentLinkingConfiguration);
            emailNotificationSearchString   = GetEmailNotificationSearchString(configuration.EmailNotificationConfiguration);
            reportAfterDaysInColumn         = configuration.EmailNotificationConfiguration.ReportAfterDaysInColumn;

            log = LogManager.GetLogger(typeof(TrelloClient));
        }
Пример #4
0
        public TrelloClient(TrelloApiConfiguration configuration)
        {
            restClient = new RestClient("https://api.trello.com/1/");
            restClient.Authenticator = GetAuthenticator(configuration.Authentication);

            restClient.ReadWriteTimeout = 60000;
            restClient.Timeout = 60000;

            emailResolver = configuration.EmailResolver;
            deploymentLinkingSearchTemplate = GetDeploymentLinkingSearchTemplate(configuration.DeploymentLinkingConfiguration);
            labelSearchTemplate = GetLabelSearchTemplate(configuration.DeploymentLinkingConfiguration);
            emailNotificationSearchString = GetEmailNotificationSearchString(configuration.EmailNotificationConfiguration);
            reportAfterDaysInColumn = configuration.EmailNotificationConfiguration.ReportAfterDaysInColumn;

            log = LogManager.GetLogger(typeof (TrelloClient));
        }