Skip to content

Commit 8adde1c

Browse files
committed
Small fixes
Added inheritdoc to ToString Fixed UWP nuget contents typo
1 parent 858d2cb commit 8adde1c

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/PCLExt.FileStorage.Portable111/Extensions/FileExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void WriteAllText(this IFile file, string content)
6666
/// <param name="content">The content to write to the file</param>
6767
/// <param name="cancellationToken">The cancellation token.</param>
6868
/// <returns>A task which completes when the write operation finishes</returns>
69-
public static async Task WriteAllTextAsync(this IFile file, string contents, CancellationToken cancellationToken = default(CancellationToken))
69+
public static async Task WriteAllTextAsync(this IFile file, string content, CancellationToken cancellationToken = default(CancellationToken))
7070
{
7171
using (var stream = await file.OpenAsync(FileAccess.ReadAndWrite, cancellationToken).ConfigureAwait(false))
7272
{

src/PCLExt.FileStorage.Standard.Abstractions/BaseFile.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public abstract class BaseFile : IFile
8383
public Task<IFile> CopyAsync(string newPath, NameCollisionOption collisionOption = NameCollisionOption.ReplaceExisting, CancellationToken cancellationToken = default(CancellationToken)) => _file.CopyAsync(newPath, collisionOption, cancellationToken);
8484

8585

86+
/// <inheritdoc />
8687
public override string ToString() => Path;
8788
}
8889
}

src/PCLExt.FileStorage.Standard.Abstractions/BaseFolder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public abstract class BaseFolder : IFolder
9090
/// <inheritdoc />
9191
public Task CopyAsync(IFolder folder, NameCollisionOption option = NameCollisionOption.ReplaceExisting, CancellationToken cancellationToken = new CancellationToken()) => _folder.CopyAsync(folder, option, cancellationToken);
9292

93-
93+
/// <inheritdoc />
9494
public override string ToString() => Path;
9595
}
9696
}

test/PCLExt.FileStorage.UWP.Test/PCLExt.FileStorage.UWP.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
</ItemGroup>
140140
<ItemGroup>
141141
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
142-
<Version>6.0.1</Version>
142+
<Version>6.0.2</Version>
143143
</PackageReference>
144144
<PackageReference Include="NUnit">
145145
<Version>3.8.1</Version>

0 commit comments

Comments
 (0)