Use file scoped namespace declarations

This commit is contained in:
Patrik Svensson
2021-12-21 11:06:46 +01:00
committed by Phil Scott
parent 1dbaf50935
commit ec1188b837
607 changed files with 28739 additions and 29245 deletions

View File

@@ -1,22 +1,21 @@
using Spectre.Console.Rendering;
namespace Spectre.Console
namespace Spectre.Console;
/// <summary>
/// Represents tree guide lines.
/// </summary>
public abstract partial class TreeGuide
{
/// <summary>
/// Represents tree guide lines.
/// Gets the safe guide lines or <c>null</c> if none exist.
/// </summary>
public abstract partial class TreeGuide
{
/// <summary>
/// Gets the safe guide lines or <c>null</c> if none exist.
/// </summary>
public virtual TreeGuide? SafeTreeGuide { get; }
public virtual TreeGuide? SafeTreeGuide { get; }
/// <summary>
/// Get the set of characters used to render the corresponding <see cref="TreeGuidePart"/>.
/// </summary>
/// <param name="part">The part of the tree to get rendering string for.</param>
/// <returns>Rendering string for the tree part.</returns>
public abstract string GetPart(TreeGuidePart part);
}
/// <summary>
/// Get the set of characters used to render the corresponding <see cref="TreeGuidePart"/>.
/// </summary>
/// <param name="part">The part of the tree to get rendering string for.</param>
/// <returns>Rendering string for the tree part.</returns>
public abstract string GetPart(TreeGuidePart part);
}