Add demo project

This commit is contained in:
Alexey Golub
2019-08-14 17:45:42 +03:00
parent 5a08b8c19b
commit f1554fd08a
19 changed files with 447 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
namespace CliFx.Demo.Models
{
public partial class Library
{
public IReadOnlyList<Book> Books { get; }
public Library(IReadOnlyList<Book> books)
{
Books = books;
}
}
public partial class Library
{
public static Library Empty { get; } = new Library(Array.Empty<Book>());
}
}