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)); }
private BambooApi(string baseUrl, string userName, string password) { _container = new Lazy<IPandaContainer>( () => PandaContainerFactory.CreateAndRegisterContainerWithCredentials(new BambooApiContext(), baseUrl, userName, password)); }