예제 #1
0
        public TableStore(IOptions <StoreOption> options)
        {
            this.options = options.Value;
            var cloudStorageAccount = CloudStorageAccount.Parse(this.options.ConnectionString);

            this.tableClient = cloudStorageAccount.CreateCloudTableClient();
        }
예제 #2
0
 public ImageService(IOptions <StoreOption> storageOptions)
 {
     this.storageOptions = storageOptions.Value;
 }