コード例 #1
0
 /// <summary>Initializes a new instance of the <see cref="GoogleServiceAccountCredential"/> class.</summary>
 public GoogleServiceAccountCredential(GoogleCloudOptions options, IBlobStorageConnector storageConnector)
 {
     _storageConnector = storageConnector;
     _options          = options;
 }
コード例 #2
0
 public void TestInitialize()
 {
     _options           = new GoogleCloudOptions(null, "ABC", null, "QZ/XY");
     _storageConnector  = Substitute.For <IBlobStorageConnector>();
     _accountCredential = new GoogleServiceAccountCredential(_options, _storageConnector);
 }