|
1 |
| -using System; |
2 |
| -using System.Collections.Generic; |
3 |
| -using System.Diagnostics.CodeAnalysis; |
4 |
| -using System.IO; |
5 |
| -using System.Linq; |
6 |
| -using System.Threading.Tasks; |
7 | 1 | using Azure;
|
8 | 2 | using Azure.Storage.Blobs;
|
9 | 3 | using Azure.Storage.Blobs.Models;
|
@@ -59,6 +53,7 @@ public AzureBlobFileSystem(AzureBlobFileSystemOptions options, IHostingEnvironme
|
59 | 53 | /// <exception cref="System.ArgumentNullException"><paramref name="blobContainerClient" /> is <c>null</c>.</exception>
|
60 | 54 | /// <exception cref="System.ArgumentNullException"><paramref name="ioHelper" /> is <c>null</c>.</exception>
|
61 | 55 | /// <exception cref="System.ArgumentNullException"><paramref name="contentTypeProvider" /> is <c>null</c>.</exception>
|
| 56 | + [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1054:URI-like parameters should not be strings", Justification = "This parameter is only a part of the URL.")] |
62 | 57 | public AzureBlobFileSystem(string rootUrl, BlobContainerClient blobContainerClient, IIOHelper ioHelper, IContentTypeProvider contentTypeProvider, string? containerRootPath = null)
|
63 | 58 | {
|
64 | 59 | ArgumentNullException.ThrowIfNull(rootUrl);
|
@@ -263,6 +258,7 @@ public bool FileExists(string path)
|
263 | 258 |
|
264 | 259 | /// <inheritdoc />
|
265 | 260 | /// <exception cref="System.ArgumentNullException"><paramref name="fullPathOrUrl" /> is <c>null</c>.</exception>
|
| 261 | + [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1054:URI-like parameters should not be strings", Justification = "This method is inherited from an interface.")] |
266 | 262 | public string GetRelativePath(string fullPathOrUrl)
|
267 | 263 | {
|
268 | 264 | ArgumentNullException.ThrowIfNull(fullPathOrUrl);
|
@@ -293,6 +289,7 @@ public string GetFullPath(string path)
|
293 | 289 |
|
294 | 290 | /// <inheritdoc />
|
295 | 291 | /// <exception cref="System.ArgumentNullException"><paramref name="path" /> is <c>null</c>.</exception>
|
| 292 | + [System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1055:URI-like return values should not be strings", Justification = "This method is inherited from an interface.")] |
296 | 293 | public string GetUrl(string? path)
|
297 | 294 | {
|
298 | 295 | ArgumentNullException.ThrowIfNull(path);
|
|
0 commit comments