mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2026-01-02 01:03:32 +01:00
Use file scoped namespace declarations
This commit is contained in:
committed by
Phil Scott
parent
1dbaf50935
commit
ec1188b837
@@ -1,37 +1,36 @@
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace Spectre.Console
|
||||
namespace Spectre.Console;
|
||||
|
||||
/// <summary>
|
||||
/// Represents console output.
|
||||
/// </summary>
|
||||
public interface IAnsiConsoleOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents console output.
|
||||
/// Gets the <see cref="TextWriter"/> used to write to the output.
|
||||
/// </summary>
|
||||
public interface IAnsiConsoleOutput
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the <see cref="TextWriter"/> used to write to the output.
|
||||
/// </summary>
|
||||
TextWriter Writer { get; }
|
||||
TextWriter Writer { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether or not the output is a terminal.
|
||||
/// </summary>
|
||||
bool IsTerminal { get; }
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether or not the output is a terminal.
|
||||
/// </summary>
|
||||
bool IsTerminal { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the output width.
|
||||
/// </summary>
|
||||
int Width { get; }
|
||||
/// <summary>
|
||||
/// Gets the output width.
|
||||
/// </summary>
|
||||
int Width { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the output height.
|
||||
/// </summary>
|
||||
int Height { get; }
|
||||
/// <summary>
|
||||
/// Gets the output height.
|
||||
/// </summary>
|
||||
int Height { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Sets the output encoding.
|
||||
/// </summary>
|
||||
/// <param name="encoding">The encoding.</param>
|
||||
void SetEncoding(Encoding encoding);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Sets the output encoding.
|
||||
/// </summary>
|
||||
/// <param name="encoding">The encoding.</param>
|
||||
void SetEncoding(Encoding encoding);
|
||||
}
|
||||
Reference in New Issue
Block a user