Skip to content

Commit 26aae34

Browse files
author
joe giardino
committed
Windows Azure Storage client 2.0.0.0
Update from master
1 parent 998518f commit 26aae34

File tree

108 files changed

+1774
-1460
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1774
-1460
lines changed

microsoft-azure-api/Services/Storage/Lib/Common/AccessCondition.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public sealed class AccessCondition
3737
/// <summary>
3838
/// Gets or sets an "etag" that must match the ETag of a resource.
3939
/// </summary>
40-
/// <value>A quoted ETag string. If <code>null</code>, no condition exists.</value>
40+
/// <value>A quoted ETag string. If <c>null</c>, no condition exists.</value>
4141
public string IfMatchETag
4242
{
4343
get;

microsoft-azure-api/Services/Storage/Lib/Common/Auth/StorageCredentials.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public sealed class StorageCredentials
5353
/// <summary>
5454
/// Gets a value indicating whether the credentials are for anonymous access.
5555
/// </summary>
56-
/// <value><code>true</code> if the credentials are for anonymous access; otherwise, <code>false</code>.</value>
56+
/// <value><c>true</c> if the credentials are for anonymous access; otherwise, <c>false</c>.</value>
5757
public bool IsAnonymous
5858
{
5959
get
@@ -65,7 +65,7 @@ public bool IsAnonymous
6565
/// <summary>
6666
/// Gets a value indicating whether the credentials are a shared access signature token.
6767
/// </summary>
68-
/// <value><code>true</code> if the credentials are a shared access signature token; otherwise, <code>false</code>.</value>
68+
/// <value><c>true</c> if the credentials are a shared access signature token; otherwise, <c>false</c>.</value>
6969
public bool IsSAS
7070
{
7171
get
@@ -77,7 +77,7 @@ public bool IsSAS
7777
/// <summary>
7878
/// Gets a value indicating whether the credentials are a shared key.
7979
/// </summary>
80-
/// <value><code>true</code> if the credentials are a shared key; otherwise, <code>false</code>.</value>
80+
/// <value><c>true</c> if the credentials are a shared key; otherwise, <c>false</c>.</value>
8181
public bool IsSharedKey
8282
{
8383
get
@@ -262,7 +262,7 @@ internal string ToString(bool exportSecrets)
262262
/// Determines whether an other <see cref="StorageCredentials"/> object is equal to this one by comparing their SAS tokens, account names, key names, and key values.
263263
/// </summary>
264264
/// <param name="other">The <see cref="StorageCredentials"/> object to compare to this one.</param>
265-
/// <returns><code>true</code> if the two <see cref="StorageCredentials"/> objects are equal; otherwise, <code>false</code>.</returns>
265+
/// <returns><c>true</c> if the two <see cref="StorageCredentials"/> objects are equal; otherwise, <c>false</c>.</returns>
266266
public bool Equals(StorageCredentials other)
267267
{
268268
if (other == null)

microsoft-azure-api/Services/Storage/Lib/Common/Blob/BlobContinuationToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace Microsoft.WindowsAzure.Storage.Blob
2929
/// <summary>
3030
/// Represents a continuation token for listing operations.
3131
/// </summary>
32-
/// <remarks> <see cref="BlobContinuationToken"/> continuation tokens are used in methods that return a <see cref="BlobResultSegment"/> object, such as <see cref="CloudBlobDirectory.listBlobsSegmented()"/>.</remarks>
32+
/// <remarks> <see cref="BlobContinuationToken"/> continuation tokens are used in methods that return a <see cref="BlobResultSegment"/> object, such as <see cref="CloudBlobDirectory.ListBlobsSegmented(BlobContinuationToken)"/>.</remarks>
3333
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1001:CommasMustBeSpacedCorrectly", Justification = "Reviewed.")]
3434
public sealed class BlobContinuationToken : IContinuationToken
3535
#if DNCP

microsoft-azure-api/Services/Storage/Lib/Common/Blob/BlobReadStreamBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ internal abstract class BlobReadStreamBase : Stream
4343
/// <param name="blob">Blob reference to read from</param>
4444
/// <param name="accessCondition">An object that represents the access conditions for the blob. If null, no condition is used.</param>
4545
/// <param name="options">An object that specifies any additional options for the request.</param>
46+
/// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
4647
protected BlobReadStreamBase(ICloudBlob blob, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
4748
{
4849
this.blob = blob;

microsoft-azure-api/Services/Storage/Lib/Common/Blob/BlobRequestOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ internal static BlobRequestOptions ApplyDefaults(BlobRequestOptions options, Blo
8787
/// <summary>
8888
/// Gets or sets a value to calculate and send/validate content MD5 for transactions.
8989
/// </summary>
90-
/// <value>Use <code>true</code> to calculate and send/validate content MD5 for transactions; otherwise, <code>false</code>.</value>
90+
/// <value>Use <c>true</c> to calculate and send/validate content MD5 for transactions; otherwise, <c>false</c>.</value>
9191
public bool? UseTransactionalMD5 { get; set; }
9292

9393
/// <summary>

microsoft-azure-api/Services/Storage/Lib/Common/Blob/BlobWriteStreamBase.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ internal abstract class BlobWriteStreamBase : Stream
4949
/// <summary>
5050
/// Initializes a new instance of the BlobWriteStreamBase class.
5151
/// </summary>
52-
/// <param name="blobType">Type of the target blob.</param>
53-
/// <param name="blob">Blob reference to write to.</param>
5452
/// <param name="accessCondition">An object that represents the access conditions for the blob. If null, no condition is used.</param>
5553
/// <param name="options">An object that specifies any additional options for the request.</param>
54+
/// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
5655
private BlobWriteStreamBase(CloudBlobClient serviceClient, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
5756
: base()
5857
{
@@ -74,6 +73,7 @@ private BlobWriteStreamBase(CloudBlobClient serviceClient, AccessCondition acces
7473
/// <param name="blockBlob">Blob reference to write to.</param>
7574
/// <param name="accessCondition">An object that represents the access conditions for the blob. If null, no condition is used.</param>
7675
/// <param name="options">An object that specifies any additional options for the request.</param>
76+
/// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
7777
protected BlobWriteStreamBase(CloudBlockBlob blockBlob, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
7878
: this(blockBlob.ServiceClient, accessCondition, options, operationContext)
7979
{
@@ -90,6 +90,7 @@ protected BlobWriteStreamBase(CloudBlockBlob blockBlob, AccessCondition accessCo
9090
/// <param name="pageBlobSize">Size of the page blob.</param>
9191
/// <param name="accessCondition">An object that represents the access conditions for the blob. If null, no condition is used.</param>
9292
/// <param name="options">An object that specifies any additional options for the request.</param>
93+
/// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
9394
protected BlobWriteStreamBase(CloudPageBlob pageBlob, long pageBlobSize, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
9495
: this(pageBlob.ServiceClient, accessCondition, options, operationContext)
9596
{

microsoft-azure-api/Services/Storage/Lib/Common/Blob/CloudBlobContainerBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ internal CloudBlobContainer(string containerName, CloudBlobClient serviceClient)
6666
/// Initializes a new instance of the <see cref="CloudBlobContainer"/> class.
6767
/// </summary>
6868
/// <param name="containerName">The container name.</param>
69-
/// <param name="client">The client to be used.</param>
69+
/// <param name="serviceClient">The client to be used.</param>
7070
internal CloudBlobContainer(BlobContainerProperties properties, IDictionary<string, string> metadata, string containerName, CloudBlobClient serviceClient)
7171
{
7272
this.Uri = NavigationHelper.AppendPathToUri(serviceClient.BaseUri, containerName);

microsoft-azure-api/Services/Storage/Lib/Common/Blob/CloudBlobDirectoryBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public sealed partial class CloudBlobDirectory : IListBlobItem
4444
/// <summary>
4545
/// Initializes a new instance of the <see cref="CloudBlobDirectory"/> class given an address and a client.
4646
/// </summary>
47-
/// <param name="address">The blob directory's address.</param>
47+
/// <param name="absolutePath">The blob directory's address.</param>
4848
/// <param name="service">The client to use.</param>
4949
internal CloudBlobDirectory(string absolutePath, CloudBlobClient service)
5050
{

microsoft-azure-api/Services/Storage/Lib/Common/Blob/SharedAccessBlobPolicies.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void Add(string key, SharedAccessBlobPolicy value)
4646
/// Determines whether the collection of shared access policies contains the specified key.
4747
/// </summary>
4848
/// <param name="key">The key to locate in the collection of shared access policies.</param>
49-
/// <returns><code>true</code> if the collection of shared access policies contains an element with the specified key; otherwise, <code>false</code>.</returns>
49+
/// <returns><c>true</c> if the collection of shared access policies contains an element with the specified key; otherwise, <c>false</c>.</returns>
5050
public bool ContainsKey(string key)
5151
{
5252
return this.policies.ContainsKey(key);
@@ -68,7 +68,7 @@ public ICollection<string> Keys
6868
/// Removes the value with the specified key from the shared access policies collection.
6969
/// </summary>
7070
/// <param name="key">The key of the <see cref="SharedAccessBlobPolicy"/> item to remove.</param>
71-
/// <returns><code>true</code> if the element is successfully found and removed; otherwise, <code>false</code>. This method returns <code>false</code> if the key is not found.</returns>
71+
/// <returns><c>true</c> if the element is successfully found and removed; otherwise, <c>false</c>. This method returns <c>false</c> if the key is not found.</returns>
7272
public bool Remove(string key)
7373
{
7474
return this.policies.Remove(key);
@@ -101,7 +101,7 @@ public ICollection<SharedAccessBlobPolicy> Values
101101
/// Gets or sets the <see cref="SharedAccessBlobPolicy"/> item associated with the specified key.
102102
/// </summary>
103103
/// <param name="key">The key of the <see cref="SharedAccessBlobPolicy"/> value to get or set.</param>
104-
/// <returns>The <see cref="SharedAccessBlobPolicy"/> item associated with the specified key, or <code>null</code> if key is not in the shared access policies collection.</returns>
104+
/// <returns>The <see cref="SharedAccessBlobPolicy"/> item associated with the specified key, or <c>null</c> if key is not in the shared access policies collection.</returns>
105105
public SharedAccessBlobPolicy this[string key]
106106
{
107107
get
@@ -136,7 +136,7 @@ public void Clear()
136136
/// Determines whether the collection of shared access policies contains the key and <see cref="SharedAccessBlobPolicy"/> value in the specified <see cref="KeyValuePair{TKey,TValue}"/> object.
137137
/// </summary>
138138
/// <param name="item">A <see cref="KeyValuePair{TKey,TValue}"/> object containing the key and <see cref="SharedAccessBlobPolicy"/> value to search for.</param>
139-
/// <returns><code>true</code> if the shared access policies collection contains the specified key/value; otherwise, <code>false</code>.</returns>
139+
/// <returns><c>true</c> if the shared access policies collection contains the specified key/value; otherwise, <c>false</c>.</returns>
140140
public bool Contains(KeyValuePair<string, SharedAccessBlobPolicy> item)
141141
{
142142
SharedAccessBlobPolicy storedItem;
@@ -182,7 +182,7 @@ public int Count
182182
/// <summary>
183183
/// Gets a value indicating whether the collection of shared access policies is read-only.
184184
/// </summary>
185-
/// <value><code>true</code> if the collection of shared access policies is read-only; otherwise, <code>false</code>.</value>
185+
/// <value><c>true</c> if the collection of shared access policies is read-only; otherwise, <c>false</c>.</value>
186186
public bool IsReadOnly
187187
{
188188
get
@@ -195,7 +195,7 @@ public bool IsReadOnly
195195
/// Removes the <see cref="SharedAccessBlobPolicy"/> value, specified in the <see cref="KeyValuePair{TKey,TValue}"/> object, from the shared access policies collection.
196196
/// </summary>
197197
/// <param name="item">The <see cref="KeyValuePair{TKey,TValue}"/> object, containing a key and <see cref="SharedAccessBlobPolicy"/> value, to remove from the shared access policies collection.</param>
198-
/// <returns><code>true</code> if the item was successfully removed; otherwise, <code>false</code>.</returns>
198+
/// <returns><c>true</c> if the item was successfully removed; otherwise, <c>false</c>.</returns>
199199
public bool Remove(KeyValuePair<string, SharedAccessBlobPolicy> item)
200200
{
201201
if (this.Contains(item))
@@ -220,7 +220,7 @@ public IEnumerator<KeyValuePair<string, SharedAccessBlobPolicy>> GetEnumerator()
220220
/// <summary>
221221
/// Returns an enumerator that iterates through the collection of shared access policies.
222222
/// </summary>
223-
/// <returns>An <see cref="IEnumerator"/> object that can be used to iterate through the collection of shared access policies.</returns>
223+
/// <returns>An <see cref="System.Collections.IEnumerator"/> object that can be used to iterate through the collection of shared access policies.</returns>
224224
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
225225
{
226226
System.Collections.IEnumerable enumerable = this.policies;

0 commit comments

Comments
 (0)