コード例 #1
0
 /// <summary>
 /// Creates a new instance of <see cref="BlobstoreClient"/>
 /// </summary>
 /// <param name="factory">Dependency injection for <see cref="BlobstoreHttpAdapterFactory"/></param>
 public BlobstoreClient(BlobstoreHttpAdapterFactory factory)
 {
     this.factory = factory;
 }
コード例 #2
0
 private static IBlobstoreClient NewBlobstoreClientInstance(BlobstoreHttpAdapterFactory factory)
 {
     return new BlobstoreClient(factory);
 }
コード例 #3
0
 public BlobstoreHttpAdapterFactoryTest()
 {
     this.credentials = new BlobstoreCredentials("Admin", "ChangIt");
     this.uriBuilder = new BlobstoreUriBuilder("http://localhost:8080");
     this.testee = new BlobstoreHttpAdapterFactory(this.credentials, this.uriBuilder);
 }