Exemplo n.º 1
0
        public TableStore(IOptions <StoreOption> options)
        {
            this.options = options.Value;
            var cloudStorageAccount = CloudStorageAccount.Parse(this.options.ConnectionString);

            this.tableClient = cloudStorageAccount.CreateCloudTableClient();
        }
Exemplo n.º 2
0
 public ImageService(IOptions <StoreOption> storageOptions)
 {
     this.storageOptions = storageOptions.Value;
 }