示例#1
0
 public static DropNetClient CreateClient()
 {
     var accessToken = ConfigurationManager.AppSettings["AccessToken"];
     var requestFactory = new RequestFactory();
     var config = new RuntimeClientConfiguration();
     var client = new DropboxClient(requestFactory, config);
     var authenticator = new TestAuthenticator(accessToken);
     return new DropNetClient(authenticator, client);
 }
 public void SetUp()
 {
     // arrange
     factory = new RequestFactory();
 }