Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 27 additions & 27 deletions Chronicle/Quickstart/Console/Dialogs/AddBook.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Chronicle/Quickstart/Console/Dialogs/AddBook.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using Terminal.Gui;

namespace Quickstart.Dialogs;

Expand Down Expand Up @@ -35,8 +34,8 @@
var isbn = _isbn.Text;

await Globals.EventStore.EventLog.Append(Guid.NewGuid(), new BookAddedToInventory(title, author, isbn));
Application.RequestStop();

Check warning on line 37 in Chronicle/Quickstart/Console/Dialogs/AddBook.cs

View workflow job for this annotation

GitHub Actions / build

'Application.RequestStop(IRunnable?)' is obsolete: 'The legacy static Application object is going away.'
}

void Cancel(object? sender, CommandEventArgs e) => Application.RequestStop();

Check warning on line 40 in Chronicle/Quickstart/Console/Dialogs/AddBook.cs

View workflow job for this annotation

GitHub Actions / build

'Application.RequestStop(IRunnable?)' is obsolete: 'The legacy static Application object is going away.'
}
16 changes: 8 additions & 8 deletions Chronicle/Quickstart/Console/Dialogs/Books.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Chronicle/Quickstart/Console/Dialogs/Books.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Collections.ObjectModel;
using Terminal.Gui;

namespace Quickstart.Dialogs;

Expand Down Expand Up @@ -30,7 +29,7 @@

if (returnAction is not null && books.Count > 0 && index >= 0 && index < books.Count)
{
await returnAction(books[index]);

Check failure on line 32 in Chronicle/Quickstart/Console/Dialogs/Books.cs

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'int?' to 'int'
}

Application.RequestStop();
Expand Down
16 changes: 8 additions & 8 deletions Chronicle/Quickstart/Console/Dialogs/BorrowedBooks.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Chronicle/Quickstart/Console/Dialogs/BorrowedBooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Collections.ObjectModel;
using Terminal.Gui;

namespace Quickstart.Dialogs;

Expand Down Expand Up @@ -30,7 +29,7 @@

if (returnAction is not null && allBooks.Count > 0 && index >= 0 && index < allBooks.Count)
{
await returnAction(allBooks[index]);

Check failure on line 32 in Chronicle/Quickstart/Console/Dialogs/BorrowedBooks.cs

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'int?' to 'int'
}

Application.RequestStop();
Expand Down
16 changes: 8 additions & 8 deletions Chronicle/Quickstart/Console/Dialogs/OverdueBooks.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Chronicle/Quickstart/Console/Dialogs/OverdueBooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Collections.ObjectModel;
using Terminal.Gui;

namespace Quickstart.Dialogs;

Expand Down Expand Up @@ -30,7 +29,7 @@

if (returnAction is not null && allBooks.Count > 0 && index >= 0 && index < allBooks.Count)
{
await returnAction(allBooks[index]);

Check failure on line 32 in Chronicle/Quickstart/Console/Dialogs/OverdueBooks.cs

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'int?' to 'int'
}

Application.RequestStop();
Expand Down
16 changes: 8 additions & 8 deletions Chronicle/Quickstart/Console/Dialogs/ReservedBooks.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Chronicle/Quickstart/Console/Dialogs/ReservedBooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Collections.ObjectModel;
using Terminal.Gui;

namespace Quickstart.Dialogs;

Expand Down Expand Up @@ -30,7 +29,7 @@

if (returnAction is not null && allBooks.Count > 0 && index >= 0 && index < allBooks.Count)
{
await returnAction(allBooks[index]);

Check failure on line 32 in Chronicle/Quickstart/Console/Dialogs/ReservedBooks.cs

View workflow job for this annotation

GitHub Actions / build

Argument 1: cannot convert from 'int?' to 'int'
}

Application.RequestStop();
Expand Down
Loading
Loading