コード例 #1
0
 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
ファイル: TrelloClient.cs プロジェクト: Jark/DeployStatus
        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));
        }