mirror of
				https://github.com/Tyrrrz/CliFx.git
				synced 2025-10-25 15:19:17 +00:00 
			
		
		
		
	Refactor
This commit is contained in:
		| @@ -590,10 +590,10 @@ public enum CustomEnum { One, Two, Three } | ||||
| public class Command : ICommand | ||||
| { | ||||
|     [CommandParameter(0)] | ||||
|     public List<CustomEnum> Foo { get; set; } | ||||
|     public IReadOnlyList<CustomEnum> Foo { get; set; } | ||||
|  | ||||
|     [CommandOption(""bar"")] | ||||
|     public List<CustomEnum> Bar { get; set; } | ||||
|     public IReadOnlyList<CustomEnum> Bar { get; set; } | ||||
|  | ||||
|     public ValueTask ExecuteAsync(IConsole console) => default; | ||||
| } | ||||
| @@ -638,7 +638,7 @@ public class Command : ICommand | ||||
|     public CustomEnum? Foo { get; set; } | ||||
|  | ||||
|     [CommandOption(""bar"")] | ||||
|     public List<CustomEnum?> Bar { get; set; } | ||||
|     public IReadOnlyList<CustomEnum?> Bar { get; set; } | ||||
|  | ||||
|     public ValueTask ExecuteAsync(IConsole console) => default; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user