Skip to content

Commit f67ae5f

Browse files
Update file headers and attribute statuses
Updated the last modified date in the header comments of several files to 04-30-2025. Changed the `Status` of various `Information` attributes across multiple files to reflect their current state, including updates to `GetTypeMembersWithAttribute`, `GenerateUrlHostName`, `DeleteDirectory`, `LoadFilesAsync`, and `DownloadFileFromWebAsync`. Added a documentation URL for the `TempFileManager` class.
1 parent a24f3ad commit f67ae5f

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

source/dotNetTips.Spargine.8.Extensions/TypeExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Created : 09-15-2017
55
//
66
// Last Modified By : David McCarter
7-
// Last Modified On : 04-11-2025
7+
// Last Modified On : 04-30-2025
88
// ***********************************************************************
99
// <copyright file="TypeExtensions.cs" company="McCarter Consulting">
1010
// David McCarter - dotNetTips.com
@@ -259,7 +259,7 @@ public static ReadOnlyCollection<string> GetImplementedInterfaces([NotNull] this
259259
/// <param name="type">The type whose members are to be searched.</param>
260260
/// <returns>A read-only collection of members that have the specified attribute.</returns>
261261
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="type"/> is null.</exception>
262-
[Information("https://github.com/dotnet/BenchmarkDotNet.", author: "David McCarter", createdOn: "7/15/2020", UnitTestStatus = UnitTestStatus.Completed, Status = Status.Updated)]
262+
[Information("https://github.com/dotnet/BenchmarkDotNet.", author: "David McCarter", createdOn: "7/15/2020", UnitTestStatus = UnitTestStatus.Completed, Status = Status.Available)]
263263
public static ReadOnlyCollection<MemberInfo> GetTypeMembersWithAttribute<TAttribute>([NotNull] this Type type)
264264
where TAttribute : Attribute
265265
{

source/dotNetTips.Spargine.8.Tester/RandomData.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Created : 01-19-2019
55
//
66
// Last Modified By : David McCarter
7-
// Last Modified On : 04-28-2025
7+
// Last Modified On : 04-30-2025
88
// ***********************************************************************
99
// <copyright file="RandomData.cs" company="McCarter Consulting">
1010
// Copyright (c) dotNetTips.com - McCarter Consulting. All rights reserved.
@@ -1049,7 +1049,7 @@ public static string GenerateTempFile(int fileLength = DefaultFileLength)
10491049
/// </remarks>
10501050
/// <example>Output: https://www.ukrsusbrtjijfktfj.shouji</example>
10511051
[MethodImpl(MethodImplOptions.AggressiveInlining)]
1052-
[Information(nameof(GenerateUrlHostName), "David McCarter", "1/19/2019", UnitTestStatus = UnitTestStatus.None, OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.Completed, Status = Status.Available)]
1052+
[Information(nameof(GenerateUrlHostName), "David McCarter", "1/19/2019", UnitTestStatus = UnitTestStatus.Completed, OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.Completed, Status = Status.Available)]
10531053
public static string GenerateUrlHostName() => $"https://{GenerateUrlHostNameNoProtocol()}";
10541054

10551055
/// <summary>

source/dotNetTips.Spargine.8/IO/DirectoryHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Created : 03-01-2021
55
//
66
// Last Modified By : David McCarter
7-
// Last Modified On : 04-12-2025
7+
// Last Modified On : 04-30-2025
88
// ***********************************************************************
99
// <copyright file="DirectoryHelper.cs" company="David McCarter - dotNetTips.com">
1010
// McCarter Consulting (David McCarter)
@@ -172,7 +172,7 @@ public static void CopyDirectory([NotNull] DirectoryInfo source, [NotNull] Direc
172172
/// <exception cref="IOException">Thrown when the directory could not be deleted after the specified number of retries.</exception>
173173
/// <exception cref="UnauthorizedAccessException">Thrown when the directory could not be deleted due to unauthorized access after the specified number of retries.</exception>
174174
[SupportedOSPlatform("windows")]
175-
[Information(nameof(DeleteDirectory), "David McCarter", "2/14/2018", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Updated)]
175+
[Information(nameof(DeleteDirectory), "David McCarter", "2/14/2018", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Available)]
176176
public static void DeleteDirectory([NotNull] DirectoryInfo path, [ConstantExpected(Min = 1, Max = byte.MaxValue)] byte retries = 5, bool recursive = true)
177177
{
178178
//TODO: FOR VERSION 10, RETURN SIMPLERESULT.
@@ -207,7 +207,7 @@ public static void DeleteDirectory([NotNull] DirectoryInfo path, [ConstantExpect
207207
/// <exception cref="ArgumentNullException">Thrown when <paramref name="directories"/> or <paramref name="searchPattern"/> is null.</exception>
208208
[MethodImpl(MethodImplOptions.AggressiveInlining)]
209209
[SupportedOSPlatform("windows")]
210-
[Information(nameof(LoadFilesAsync), author: "David McCarter", createdOn: "3/1/2021", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Updated)]
210+
[Information(nameof(LoadFilesAsync), author: "David McCarter", createdOn: "3/1/2021", OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.Completed, Status = Status.Available)]
211211
public static async IAsyncEnumerable<IEnumerable<FileInfo>> LoadFilesAsync([NotNull] IEnumerable<DirectoryInfo> directories, [NotNull] string searchPattern, SearchOption searchOption, [EnumeratorCancellation] CancellationToken cancellationToken = default)
212212
{
213213
directories = directories.ArgumentNotNull();

source/dotNetTips.Spargine.8/IO/FileHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Created : 03-02-2021
55
//
66
// Last Modified By : David McCarter
7-
// Last Modified On : 03-17-2025
7+
// Last Modified On : 04-30-2025
88
// ***********************************************************************
99
// <copyright file="FileHelper.cs" company="McCarter Consulting">
1010
// McCarter Consulting (David McCarter)
@@ -488,7 +488,7 @@ public static async Task DownloadFileFromWebAndUnzipAsync([NotNull] Uri remoteUr
488488
/// await FileHelper.DownloadFileFromWebAsync(remoteFileUrl, destinationDir);
489489
/// </code>
490490
/// </example>
491-
[Information(nameof(DownloadFileFromWebAsync), OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.None, Status = Status.Updated)]
491+
[Information(nameof(DownloadFileFromWebAsync), OptimizationStatus = OptimizationStatus.Completed, BenchmarkStatus = BenchmarkStatus.NotRequired, UnitTestStatus = UnitTestStatus.None, Status = Status.Available)]
492492
public static async Task<SimpleResult<int>> DownloadFileFromWebAsync([NotNull] Uri remoteUri, [NotNull] DirectoryInfo destination, CancellationToken cancellationToken = default)
493493
{
494494
remoteUri = remoteUri.ArgumentNotNull();

source/dotNetTips.Spargine.8/IO/TempFileManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Created : 08-04-2024
55
//
66
// Last Modified By : David McCarter
7-
// Last Modified On : 03-02-2025
7+
// Last Modified On : 04-30-2025
88
// ***********************************************************************
99
// <copyright file="TempFileManager.cs" company="David McCarter - dotNetTips.com">
1010
// McCarter Consulting (David McCarter)
@@ -31,7 +31,7 @@ namespace DotNetTips.Spargine.IO;
3131
/// Initializes a new instance of the <see cref="TempFileManager" /> class.
3232
/// </remarks>
3333
[SupportedOSPlatform("windows")]
34-
[Information(nameof(TempFileManager), "David McCarter", "8/4/2024", Status = Status.NeedsDocumentation, Documentation = "ADD URL")]
34+
[Information(nameof(TempFileManager), "David McCarter", "8/4/2024", Status = Status.Available, Documentation = "https://bit.ly/SpargineTempFileManager")]
3535
public class TempFileManager() : IDisposable, IAsyncDisposable
3636
{
3737

0 commit comments

Comments
 (0)