2
0

Update with recovered code from VM binaries (Jan 1)

- ShellDemo: Updated all pages with recovered code, added AppShell.cs
- TodoApp: Updated core files, added converters
- XamlBrowser: Added recovered sample
This commit is contained in:
2026-01-01 06:25:58 -05:00
parent 518434bc4e
commit 0a8943687d
24 changed files with 23210 additions and 2538 deletions

View File

@@ -0,0 +1,30 @@
using System;
using System.Globalization;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
namespace TodoApp;
public class CompletedToTextDecorationsConverter : IValueConverter
{
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
{
bool flag = default(bool);
int num;
if (value is bool)
{
flag = (bool)value;
num = 1;
}
else
{
num = 0;
}
return (object)(TextDecorations)((((uint)num & (flag ? 1u : 0u)) != 0) ? 2 : 0);
}
public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}