예제 #1
0
 private BambooApi(string baseUrl, string consumerKey, string consumerSecret, string oAuthAccessToken, string oAuthTokenSecret)
 {
     _container = new Lazy<IPandaContainer>(
         () => PandaContainerFactory.CreateAndRegisterContainerWithOAuth(new BambooApiContext(), baseUrl, consumerKey, consumerSecret, oAuthAccessToken, oAuthTokenSecret));
 }
예제 #2
0
 private BambooApi(string baseUrl, string userName, string password)
 {
     _container = new Lazy<IPandaContainer>(
         () => PandaContainerFactory.CreateAndRegisterContainerWithCredentials(new BambooApiContext(), baseUrl, userName, password));
 }