mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-01 01:25:27 +08:00 
			
		
		
		
	Use file scoped namespace declarations
This commit is contained in:
		 Patrik Svensson
					Patrik Svensson
				
			
				
					committed by
					
						 Phil Scott
						Phil Scott
					
				
			
			
				
	
			
			
			 Phil Scott
						Phil Scott
					
				
			
						parent
						
							1dbaf50935
						
					
				
				
					commit
					ec1188b837
				
			| @@ -1,12 +1,11 @@ | ||||
| namespace Spectre.Console.Examples | ||||
| namespace Spectre.Console.Examples; | ||||
|  | ||||
| public static class Program | ||||
| { | ||||
|     public static class Program | ||||
|     public static void Main(string[] args) | ||||
|     { | ||||
|         public static void Main(string[] args) | ||||
|         { | ||||
|             AnsiConsole.Write(new FigletText("Left aligned").LeftAligned().Color(Color.Red)); | ||||
|             AnsiConsole.Write(new FigletText("Centered").Centered().Color(Color.Green)); | ||||
|             AnsiConsole.Write(new FigletText("Right aligned").RightAligned().Color(Color.Blue)); | ||||
|         } | ||||
|         AnsiConsole.Write(new FigletText("Left aligned").LeftAligned().Color(Color.Red)); | ||||
|         AnsiConsole.Write(new FigletText("Centered").Centered().Color(Color.Green)); | ||||
|         AnsiConsole.Write(new FigletText("Right aligned").RightAligned().Color(Color.Blue)); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user