コード例 #1
0
        public static GithubConfiguration Retrieve()
        {
            var output = new GithubConfiguration();

            // get values from the Application Settings in Azure
            output.Username            = Environment.GetEnvironmentVariable("GithubUsername");
            output.AuthenticationToken = Environment.GetEnvironmentVariable("GithubAccessToken");

            return(output);
        }
コード例 #2
0
 public GithubApi(CloudBlockBlob githubStatusBlob)
 {
     this.Configuration = GithubConfiguration.Retrieve();
     this.Status        = GithubStatus.Retrieve(githubStatusBlob);
 }