This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Abia State", | |
"localGovernmentAreas": [ | |
{ | |
"name": "Aba North" | |
}, | |
{ | |
"name": "Aba South" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
class MainClass | |
{ | |
public static void Main(string[] args) | |
{ | |
var daySlots = new List<Availability> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Program | |
{ | |
public static void Main() | |
{ | |
var sentence = AnsiConsole.Prompt(new TextPrompt<string>("What's your [green]sentence[/]?") | |
.Validate(input => | |
string.IsNullOrWhiteSpace(input) | |
? ValidationResult.Error("An input is required!") | |
: ValidationResult.Success())); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"node": true, | |
"es2021": true, | |
"commonjs": true, | |
"mocha": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaVersion": 12 |
OlderNewer