コード例 #1
0
 // Use this for initialization
 void Awake()
 {
     if (string.IsNullOrEmpty(azureAccount) ||
         string.IsNullOrEmpty(azureAppKey))
     {
         Debug.LogError("Azure account and key required");
         return;
     }
     // setup blob service
     client  = new StorageServiceClient(azureAccount, azureAppKey);
     Service = new BlobService(client);
     ready   = true;
 }
コード例 #2
0
 public BlobStorageLoader(BlobService blobService, string container)
 {
     _service   = blobService;
     _container = container;
 }