Esempio n. 1
0
        public static bool TryCreate(string url, string project, AuthSettings authentication, out IIssueTracker issueTracker)
        {
            // For now just check if it contains atlassian.net
            if (!string.IsNullOrWhiteSpace(url))
            {
                if (url.ToLower().Contains(".atlassian."))
                {
                    issueTracker = new JiraIssueTracker(url, project, authentication);
                    return(true);
                }
            }

            issueTracker = null;
            return(false);
        }
        public static bool TryCreate(string url, string project, AuthSettings authentication, out IIssueTracker issueTracker)
        {
            // For now just check if it contains atlassian.net
            if (!string.IsNullOrWhiteSpace(url))
            {
                if (url.ToLower().Contains(".atlassian."))
                {
                    issueTracker = new JiraIssueTracker(url, project, authentication);
                    return true;
                }
            }

            issueTracker = null;
            return false;
        }