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:
737
ShellDemo/App.cs
737
ShellDemo/App.cs
@@ -1,78 +1,673 @@
|
||||
// ShellDemo App - Comprehensive Control Demo
|
||||
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Reflection;
|
||||
using System.Xml;
|
||||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Controls.Internals;
|
||||
using Microsoft.Maui.Controls.Xaml;
|
||||
using Microsoft.Maui.Controls.Xaml.Internals;
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
namespace ShellDemo;
|
||||
|
||||
/// <summary>
|
||||
/// Main application class with Shell navigation.
|
||||
/// </summary>
|
||||
[XamlFilePath("App.xaml")]
|
||||
public class App : Application
|
||||
{
|
||||
public App()
|
||||
{
|
||||
MainPage = new AppShell();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shell definition with flyout menu - comprehensive control demo.
|
||||
/// </summary>
|
||||
public class AppShell : Shell
|
||||
{
|
||||
public AppShell()
|
||||
{
|
||||
FlyoutBehavior = FlyoutBehavior.Flyout;
|
||||
Title = "OpenMaui Controls Demo";
|
||||
|
||||
// Register routes for push navigation (pages not in flyout)
|
||||
Routing.RegisterRoute("detail", typeof(DetailPage));
|
||||
|
||||
// Home
|
||||
Items.Add(CreateFlyoutItem("Home", typeof(HomePage)));
|
||||
|
||||
// Buttons Demo
|
||||
Items.Add(CreateFlyoutItem("Buttons", typeof(ButtonsPage)));
|
||||
|
||||
// Text Input Demo
|
||||
Items.Add(CreateFlyoutItem("Text Input", typeof(TextInputPage)));
|
||||
|
||||
// Selection Controls Demo
|
||||
Items.Add(CreateFlyoutItem("Selection", typeof(SelectionPage)));
|
||||
|
||||
// Pickers Demo
|
||||
Items.Add(CreateFlyoutItem("Pickers", typeof(PickersPage)));
|
||||
|
||||
// Lists Demo
|
||||
Items.Add(CreateFlyoutItem("Lists", typeof(ListsPage)));
|
||||
|
||||
// Progress Demo
|
||||
Items.Add(CreateFlyoutItem("Progress", typeof(ProgressPage)));
|
||||
|
||||
// Grids Demo
|
||||
Items.Add(CreateFlyoutItem("Grids", typeof(GridsPage)));
|
||||
|
||||
// About
|
||||
Items.Add(CreateFlyoutItem("About", typeof(AboutPage)));
|
||||
}
|
||||
|
||||
private FlyoutItem CreateFlyoutItem(string title, Type pageType)
|
||||
{
|
||||
// Route is required for Shell.GoToAsync navigation to work
|
||||
var route = title.Replace(" ", "");
|
||||
return new FlyoutItem
|
||||
{
|
||||
Title = title,
|
||||
Route = route,
|
||||
Items =
|
||||
{
|
||||
new ShellContent
|
||||
{
|
||||
Title = title,
|
||||
Route = route,
|
||||
ContentTemplate = new DataTemplate(pageType)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
public App()
|
||||
{
|
||||
InitializeComponent();
|
||||
((Application)this).MainPage = (Page)(object)new AppShell();
|
||||
}
|
||||
|
||||
[GeneratedCode("Microsoft.Maui.Controls.SourceGen", "1.0.0.0")]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_001c: Expected O, but got Unknown
|
||||
//IL_0030: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0036: Expected O, but got Unknown
|
||||
//IL_004a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0050: Expected O, but got Unknown
|
||||
//IL_0064: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_006a: Expected O, but got Unknown
|
||||
//IL_007e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0085: Expected O, but got Unknown
|
||||
//IL_0099: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00a0: Expected O, but got Unknown
|
||||
//IL_00b4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00bb: Expected O, but got Unknown
|
||||
//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00d6: Expected O, but got Unknown
|
||||
//IL_00ea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00f1: Expected O, but got Unknown
|
||||
//IL_0105: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_010c: Expected O, but got Unknown
|
||||
//IL_0120: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0127: Expected O, but got Unknown
|
||||
//IL_013b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0142: Expected O, but got Unknown
|
||||
//IL_0156: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_015d: Expected O, but got Unknown
|
||||
//IL_0171: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0178: Expected O, but got Unknown
|
||||
//IL_018c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0193: Expected O, but got Unknown
|
||||
//IL_01a7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ae: Expected O, but got Unknown
|
||||
//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01c9: Expected O, but got Unknown
|
||||
//IL_01dd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01e4: Expected O, but got Unknown
|
||||
//IL_01f8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ff: Expected O, but got Unknown
|
||||
//IL_0213: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_021a: Expected O, but got Unknown
|
||||
//IL_022e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0235: Expected O, but got Unknown
|
||||
//IL_0235: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_023c: Expected O, but got Unknown
|
||||
//IL_023c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0243: Expected O, but got Unknown
|
||||
//IL_0243: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_024a: Expected O, but got Unknown
|
||||
//IL_024a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0251: Expected O, but got Unknown
|
||||
//IL_0251: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0258: Expected O, but got Unknown
|
||||
//IL_0258: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_025f: Expected O, but got Unknown
|
||||
//IL_025f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0266: Expected O, but got Unknown
|
||||
//IL_0266: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_026d: Expected O, but got Unknown
|
||||
//IL_026d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0274: Expected O, but got Unknown
|
||||
//IL_0274: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_027b: Expected O, but got Unknown
|
||||
//IL_027b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0282: Expected O, but got Unknown
|
||||
//IL_0282: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0289: Expected O, but got Unknown
|
||||
//IL_0293: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_029a: Expected O, but got Unknown
|
||||
//IL_029a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02a1: Expected O, but got Unknown
|
||||
//IL_02a1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02a8: Expected O, but got Unknown
|
||||
//IL_02a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02af: Expected O, but got Unknown
|
||||
//IL_02af: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02b6: Expected O, but got Unknown
|
||||
//IL_02b6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02bd: Expected O, but got Unknown
|
||||
//IL_02bd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02c4: Expected O, but got Unknown
|
||||
//IL_02c4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02cb: Expected O, but got Unknown
|
||||
//IL_02cb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02d2: Expected O, but got Unknown
|
||||
//IL_02d2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02d9: Expected O, but got Unknown
|
||||
//IL_02d9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02e0: Expected O, but got Unknown
|
||||
//IL_02e0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02e7: Expected O, but got Unknown
|
||||
//IL_02e7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02ee: Expected O, but got Unknown
|
||||
//IL_02f8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02ff: Expected O, but got Unknown
|
||||
//IL_02ff: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0306: Expected O, but got Unknown
|
||||
//IL_0306: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_030d: Expected O, but got Unknown
|
||||
//IL_030d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0314: Expected O, but got Unknown
|
||||
//IL_0314: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_031b: Expected O, but got Unknown
|
||||
//IL_031b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0322: Expected O, but got Unknown
|
||||
//IL_0322: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0329: Expected O, but got Unknown
|
||||
//IL_0333: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_033a: Expected O, but got Unknown
|
||||
//IL_033a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0341: Expected O, but got Unknown
|
||||
//IL_0341: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0348: Expected O, but got Unknown
|
||||
//IL_0348: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_034f: Expected O, but got Unknown
|
||||
//IL_034f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0356: Expected O, but got Unknown
|
||||
//IL_0356: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_035d: Expected O, but got Unknown
|
||||
//IL_0367: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_036e: Expected O, but got Unknown
|
||||
//IL_036e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0375: Expected O, but got Unknown
|
||||
//IL_0375: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_037c: Expected O, but got Unknown
|
||||
//IL_037c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0383: Expected O, but got Unknown
|
||||
//IL_0383: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_038a: Expected O, but got Unknown
|
||||
//IL_038a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0391: Expected O, but got Unknown
|
||||
//IL_0391: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0398: Expected O, but got Unknown
|
||||
//IL_0398: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_039f: Expected O, but got Unknown
|
||||
//IL_039f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03a6: Expected O, but got Unknown
|
||||
//IL_03b0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03b7: Expected O, but got Unknown
|
||||
//IL_03b7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03be: Expected O, but got Unknown
|
||||
//IL_03be: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03c5: Expected O, but got Unknown
|
||||
//IL_03c5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03cc: Expected O, but got Unknown
|
||||
//IL_03cc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03d3: Expected O, but got Unknown
|
||||
//IL_03d3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03da: Expected O, but got Unknown
|
||||
//IL_03da: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03e1: Expected O, but got Unknown
|
||||
//IL_03eb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f2: Expected O, but got Unknown
|
||||
//IL_03f2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f9: Expected O, but got Unknown
|
||||
//IL_03f9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0400: Expected O, but got Unknown
|
||||
//IL_0400: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0407: Expected O, but got Unknown
|
||||
//IL_0411: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0418: Expected O, but got Unknown
|
||||
//IL_0418: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_041f: Expected O, but got Unknown
|
||||
//IL_041f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0426: Expected O, but got Unknown
|
||||
//IL_0426: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_042d: Expected O, but got Unknown
|
||||
//IL_042d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0434: Expected O, but got Unknown
|
||||
//IL_0434: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_043b: Expected O, but got Unknown
|
||||
//IL_0445: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_044c: Expected O, but got Unknown
|
||||
//IL_044c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0453: Expected O, but got Unknown
|
||||
//IL_0470: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0477: Expected O, but got Unknown
|
||||
//IL_0477: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_047e: Expected O, but got Unknown
|
||||
//IL_047e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0485: Expected O, but got Unknown
|
||||
//IL_0485: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_048c: Expected O, but got Unknown
|
||||
//IL_048c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0493: Expected O, but got Unknown
|
||||
//IL_0493: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_049a: Expected O, but got Unknown
|
||||
//IL_049a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04a1: Expected O, but got Unknown
|
||||
//IL_04a1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04a8: Expected O, but got Unknown
|
||||
//IL_04a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04af: Expected O, but got Unknown
|
||||
//IL_04af: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04b6: Expected O, but got Unknown
|
||||
//IL_04b6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04bd: Expected O, but got Unknown
|
||||
//IL_04bd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04c4: Expected O, but got Unknown
|
||||
//IL_04c4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04cb: Expected O, but got Unknown
|
||||
//IL_04cb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04d2: Expected O, but got Unknown
|
||||
//IL_04d2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04d9: Expected O, but got Unknown
|
||||
//IL_04d9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04e0: Expected O, but got Unknown
|
||||
//IL_04e0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04e7: Expected O, but got Unknown
|
||||
//IL_04e7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04ee: Expected O, but got Unknown
|
||||
//IL_04ee: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04f5: Expected O, but got Unknown
|
||||
//IL_0659: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_065e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_067f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0689: Expected O, but got Unknown
|
||||
//IL_0689: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0698: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06a2: Expected O, but got Unknown
|
||||
//IL_069d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06a7: Expected O, but got Unknown
|
||||
//IL_06ac: Expected O, but got Unknown
|
||||
//IL_06fd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0702: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0723: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_072d: Expected O, but got Unknown
|
||||
//IL_072d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_073c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0746: Expected O, but got Unknown
|
||||
//IL_0741: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_074b: Expected O, but got Unknown
|
||||
//IL_0750: Expected O, but got Unknown
|
||||
//IL_07a1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07a6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07c7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07d1: Expected O, but got Unknown
|
||||
//IL_07d1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07e0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07ea: Expected O, but got Unknown
|
||||
//IL_07e5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07ef: Expected O, but got Unknown
|
||||
//IL_07f4: Expected O, but got Unknown
|
||||
//IL_0853: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0858: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0879: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0883: Expected O, but got Unknown
|
||||
//IL_0883: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0892: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_089c: Expected O, but got Unknown
|
||||
//IL_0897: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08a1: Expected O, but got Unknown
|
||||
//IL_08a6: Expected O, but got Unknown
|
||||
//IL_08f7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08fc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_091d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0927: Expected O, but got Unknown
|
||||
//IL_0927: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0936: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0940: Expected O, but got Unknown
|
||||
//IL_093b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0945: Expected O, but got Unknown
|
||||
//IL_094a: Expected O, but got Unknown
|
||||
//IL_099b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09a0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09c1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09cb: Expected O, but got Unknown
|
||||
//IL_09cb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09da: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09e4: Expected O, but got Unknown
|
||||
//IL_09df: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09e9: Expected O, but got Unknown
|
||||
//IL_09ee: Expected O, but got Unknown
|
||||
//IL_0abb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ac0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ae1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0aeb: Expected O, but got Unknown
|
||||
//IL_0aeb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0afa: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b04: Expected O, but got Unknown
|
||||
//IL_0aff: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b09: Expected O, but got Unknown
|
||||
//IL_0b0e: Expected O, but got Unknown
|
||||
//IL_0ba8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bad: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bce: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bd8: Expected O, but got Unknown
|
||||
//IL_0bd8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0be7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bf1: Expected O, but got Unknown
|
||||
//IL_0bec: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bf6: Expected O, but got Unknown
|
||||
//IL_0bfb: Expected O, but got Unknown
|
||||
//IL_0c5a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c5f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c80: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c8a: Expected O, but got Unknown
|
||||
//IL_0c8a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c99: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ca3: Expected O, but got Unknown
|
||||
//IL_0c9e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ca8: Expected O, but got Unknown
|
||||
//IL_0cad: Expected O, but got Unknown
|
||||
//IL_0cfe: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d03: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d24: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d2e: Expected O, but got Unknown
|
||||
//IL_0d2e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d3d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d47: Expected O, but got Unknown
|
||||
//IL_0d42: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d4c: Expected O, but got Unknown
|
||||
//IL_0d51: Expected O, but got Unknown
|
||||
//IL_0ddf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0de4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e05: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e0f: Expected O, but got Unknown
|
||||
//IL_0e0f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e1e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e28: Expected O, but got Unknown
|
||||
//IL_0e23: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e2d: Expected O, but got Unknown
|
||||
//IL_0e32: Expected O, but got Unknown
|
||||
//IL_0eee: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ef3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f14: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f1e: Expected O, but got Unknown
|
||||
//IL_0f1e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f2d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f37: Expected O, but got Unknown
|
||||
//IL_0f32: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f3c: Expected O, but got Unknown
|
||||
//IL_0f41: Expected O, but got Unknown
|
||||
//IL_0f89: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f8e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0faf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fb9: Expected O, but got Unknown
|
||||
//IL_0fb9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fc8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fd2: Expected O, but got Unknown
|
||||
//IL_0fcd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fd7: Expected O, but got Unknown
|
||||
//IL_0fdc: Expected O, but got Unknown
|
||||
//IL_0460: Unknown result type (might be due to invalid IL or missing references)
|
||||
Color val = new Color(11f / 85f, 0.5882353f, 81f / 85f, 1f);
|
||||
Color val2 = new Color(5f / 51f, 0.4627451f, 0.8235294f, 1f);
|
||||
Color val3 = new Color(1f, 0.2509804f, 43f / 85f, 1f);
|
||||
Color val4 = new Color(50f / 51f, 50f / 51f, 50f / 51f, 1f);
|
||||
Color val5 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val6 = new Color(11f / 85f, 11f / 85f, 11f / 85f, 1f);
|
||||
Color val7 = new Color(39f / 85f, 39f / 85f, 39f / 85f, 1f);
|
||||
Color val8 = new Color(0.8784314f, 0.8784314f, 0.8784314f, 1f);
|
||||
Color val9 = new Color(49f / 51f, 49f / 51f, 49f / 51f, 1f);
|
||||
Color val10 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val11 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val12 = new Color(0.8784314f, 0.8784314f, 0.8784314f, 1f);
|
||||
Color val13 = new Color(6f / 85f, 6f / 85f, 6f / 85f, 1f);
|
||||
Color val14 = new Color(0.11764706f, 0.11764706f, 0.11764706f, 1f);
|
||||
Color val15 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val16 = new Color(0.6901961f, 0.6901961f, 0.6901961f, 1f);
|
||||
Color val17 = new Color(22f / 85f, 22f / 85f, 22f / 85f, 1f);
|
||||
Color val18 = new Color(0.17254902f, 0.17254902f, 0.17254902f, 1f);
|
||||
Color val19 = new Color(0.11764706f, 0.11764706f, 0.11764706f, 1f);
|
||||
Color val20 = new Color(0.11764706f, 0.11764706f, 0.11764706f, 1f);
|
||||
Color val21 = new Color(22f / 85f, 22f / 85f, 22f / 85f, 1f);
|
||||
StaticResourceExtension val22 = new StaticResourceExtension();
|
||||
StaticResourceExtension val23 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val24 = new AppThemeBindingExtension();
|
||||
Setter val25 = new Setter();
|
||||
StaticResourceExtension val26 = new StaticResourceExtension();
|
||||
StaticResourceExtension val27 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val28 = new AppThemeBindingExtension();
|
||||
Setter val29 = new Setter();
|
||||
StaticResourceExtension val30 = new StaticResourceExtension();
|
||||
StaticResourceExtension val31 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val32 = new AppThemeBindingExtension();
|
||||
Setter val33 = new Setter();
|
||||
Style val34 = new Style(typeof(Entry));
|
||||
StaticResourceExtension val35 = new StaticResourceExtension();
|
||||
StaticResourceExtension val36 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val37 = new AppThemeBindingExtension();
|
||||
Setter val38 = new Setter();
|
||||
StaticResourceExtension val39 = new StaticResourceExtension();
|
||||
StaticResourceExtension val40 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val41 = new AppThemeBindingExtension();
|
||||
Setter val42 = new Setter();
|
||||
StaticResourceExtension val43 = new StaticResourceExtension();
|
||||
StaticResourceExtension val44 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val45 = new AppThemeBindingExtension();
|
||||
Setter val46 = new Setter();
|
||||
Style val47 = new Style(typeof(Editor));
|
||||
Setter val48 = new Setter();
|
||||
Setter val49 = new Setter();
|
||||
StaticResourceExtension val50 = new StaticResourceExtension();
|
||||
StaticResourceExtension val51 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val52 = new AppThemeBindingExtension();
|
||||
Setter val53 = new Setter();
|
||||
Style val54 = new Style(typeof(Label));
|
||||
Setter val55 = new Setter();
|
||||
StaticResourceExtension val56 = new StaticResourceExtension();
|
||||
StaticResourceExtension val57 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val58 = new AppThemeBindingExtension();
|
||||
Setter val59 = new Setter();
|
||||
Style val60 = new Style(typeof(Label));
|
||||
StaticResourceExtension val61 = new StaticResourceExtension();
|
||||
StaticResourceExtension val62 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val63 = new AppThemeBindingExtension();
|
||||
Setter val64 = new Setter();
|
||||
StaticResourceExtension val65 = new StaticResourceExtension();
|
||||
StaticResourceExtension val66 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val67 = new AppThemeBindingExtension();
|
||||
Setter val68 = new Setter();
|
||||
Style val69 = new Style(typeof(Frame));
|
||||
StaticResourceExtension val70 = new StaticResourceExtension();
|
||||
Setter val71 = new Setter();
|
||||
StaticResourceExtension val72 = new StaticResourceExtension();
|
||||
StaticResourceExtension val73 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val74 = new AppThemeBindingExtension();
|
||||
Setter val75 = new Setter();
|
||||
Style val76 = new Style(typeof(ProgressBar));
|
||||
StaticResourceExtension val77 = new StaticResourceExtension();
|
||||
Setter val78 = new Setter();
|
||||
Setter val79 = new Setter();
|
||||
Style val80 = new Style(typeof(Button));
|
||||
AppThemeBindingExtension val81 = new AppThemeBindingExtension();
|
||||
Setter val82 = new Setter();
|
||||
StaticResourceExtension val83 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val84 = new AppThemeBindingExtension();
|
||||
Setter val85 = new Setter();
|
||||
Style val86 = new Style(typeof(Button));
|
||||
ResourceDictionary val87 = new ResourceDictionary();
|
||||
App app;
|
||||
NameScope val88 = (NameScope)(((object)NameScope.GetNameScope((BindableObject)(object)(app = this))) ?? ((object)new NameScope()));
|
||||
NameScope.SetNameScope((BindableObject)(object)app, (INameScope)(object)val88);
|
||||
NameScope val89 = new NameScope();
|
||||
NameScope val90 = new NameScope();
|
||||
NameScope val91 = new NameScope();
|
||||
NameScope val92 = new NameScope();
|
||||
NameScope val93 = new NameScope();
|
||||
NameScope val94 = new NameScope();
|
||||
NameScope val95 = new NameScope();
|
||||
NameScope val96 = new NameScope();
|
||||
NameScope val97 = new NameScope();
|
||||
NameScope val98 = new NameScope();
|
||||
NameScope val99 = new NameScope();
|
||||
NameScope val100 = new NameScope();
|
||||
NameScope val101 = new NameScope();
|
||||
NameScope val102 = new NameScope();
|
||||
NameScope val103 = new NameScope();
|
||||
NameScope val104 = new NameScope();
|
||||
NameScope val105 = new NameScope();
|
||||
NameScope val106 = new NameScope();
|
||||
NameScope val107 = new NameScope();
|
||||
((Application)app).Resources = val87;
|
||||
val87.Add("PrimaryColor", (object)val);
|
||||
val87.Add("PrimaryDarkColor", (object)val2);
|
||||
val87.Add("AccentColor", (object)val3);
|
||||
val87.Add("PageBackgroundLight", (object)val4);
|
||||
val87.Add("CardBackgroundLight", (object)val5);
|
||||
val87.Add("TextPrimaryLight", (object)val6);
|
||||
val87.Add("TextSecondaryLight", (object)val7);
|
||||
val87.Add("BorderLight", (object)val8);
|
||||
val87.Add("EntryBackgroundLight", (object)val9);
|
||||
val87.Add("ShellBackgroundLight", (object)val10);
|
||||
val87.Add("FlyoutBackgroundLight", (object)val11);
|
||||
val87.Add("ProgressTrackLight", (object)val12);
|
||||
val87.Add("PageBackgroundDark", (object)val13);
|
||||
val87.Add("CardBackgroundDark", (object)val14);
|
||||
val87.Add("TextPrimaryDark", (object)val15);
|
||||
val87.Add("TextSecondaryDark", (object)val16);
|
||||
val87.Add("BorderDark", (object)val17);
|
||||
val87.Add("EntryBackgroundDark", (object)val18);
|
||||
val87.Add("ShellBackgroundDark", (object)val19);
|
||||
val87.Add("FlyoutBackgroundDark", (object)val20);
|
||||
val87.Add("ProgressTrackDark", (object)val21);
|
||||
val25.Property = VisualElement.BackgroundColorProperty;
|
||||
val22.Key = "EntryBackgroundLight";
|
||||
val24.Light = val9;
|
||||
val23.Key = "EntryBackgroundDark";
|
||||
val24.Dark = val18;
|
||||
XamlServiceProvider val108 = new XamlServiceProvider();
|
||||
val108.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val25, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val108.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(36, 52)));
|
||||
BindingBase value = ((IMarkupExtension<BindingBase>)(object)val24).ProvideValue((IServiceProvider)val108);
|
||||
val25.Value = value;
|
||||
val34.Setters.Add(val25);
|
||||
val29.Property = Entry.TextColorProperty;
|
||||
val26.Key = "TextPrimaryLight";
|
||||
val28.Light = val6;
|
||||
val27.Key = "TextPrimaryDark";
|
||||
val28.Dark = val15;
|
||||
XamlServiceProvider val109 = new XamlServiceProvider();
|
||||
val109.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val29, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val109.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(37, 46)));
|
||||
BindingBase value2 = ((IMarkupExtension<BindingBase>)(object)val28).ProvideValue((IServiceProvider)val109);
|
||||
val29.Value = value2;
|
||||
val34.Setters.Add(val29);
|
||||
val33.Property = Entry.PlaceholderColorProperty;
|
||||
val30.Key = "TextSecondaryLight";
|
||||
val32.Light = val7;
|
||||
val31.Key = "TextSecondaryDark";
|
||||
val32.Dark = val16;
|
||||
XamlServiceProvider val110 = new XamlServiceProvider();
|
||||
val110.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val33, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val110.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(38, 53)));
|
||||
BindingBase value3 = ((IMarkupExtension<BindingBase>)(object)val32).ProvideValue((IServiceProvider)val110);
|
||||
val33.Value = value3;
|
||||
val34.Setters.Add(val33);
|
||||
val87.Add("ThemedEntry", (object)val34);
|
||||
val38.Property = VisualElement.BackgroundColorProperty;
|
||||
val35.Key = "EntryBackgroundLight";
|
||||
val37.Light = val9;
|
||||
val36.Key = "EntryBackgroundDark";
|
||||
val37.Dark = val18;
|
||||
XamlServiceProvider val111 = new XamlServiceProvider();
|
||||
val111.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val38, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val111.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(43, 52)));
|
||||
BindingBase value4 = ((IMarkupExtension<BindingBase>)(object)val37).ProvideValue((IServiceProvider)val111);
|
||||
val38.Value = value4;
|
||||
val47.Setters.Add(val38);
|
||||
val42.Property = Editor.TextColorProperty;
|
||||
val39.Key = "TextPrimaryLight";
|
||||
val41.Light = val6;
|
||||
val40.Key = "TextPrimaryDark";
|
||||
val41.Dark = val15;
|
||||
XamlServiceProvider val112 = new XamlServiceProvider();
|
||||
val112.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val42, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val112.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(44, 46)));
|
||||
BindingBase value5 = ((IMarkupExtension<BindingBase>)(object)val41).ProvideValue((IServiceProvider)val112);
|
||||
val42.Value = value5;
|
||||
val47.Setters.Add(val42);
|
||||
val46.Property = Editor.PlaceholderColorProperty;
|
||||
val43.Key = "TextSecondaryLight";
|
||||
val45.Light = val7;
|
||||
val44.Key = "TextSecondaryDark";
|
||||
val45.Dark = val16;
|
||||
XamlServiceProvider val113 = new XamlServiceProvider();
|
||||
val113.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val46, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val113.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(45, 53)));
|
||||
BindingBase value6 = ((IMarkupExtension<BindingBase>)(object)val45).ProvideValue((IServiceProvider)val113);
|
||||
val46.Value = value6;
|
||||
val47.Setters.Add(val46);
|
||||
val87.Add("ThemedEditor", (object)val47);
|
||||
val48.Property = Label.FontSizeProperty;
|
||||
val48.Value = "24";
|
||||
val48.Value = 24.0;
|
||||
val54.Setters.Add(val48);
|
||||
val49.Property = Label.FontAttributesProperty;
|
||||
val49.Value = "Bold";
|
||||
val49.Value = (object)(FontAttributes)1;
|
||||
val54.Setters.Add(val49);
|
||||
val53.Property = Label.TextColorProperty;
|
||||
val50.Key = "TextPrimaryLight";
|
||||
val52.Light = val6;
|
||||
val51.Key = "TextPrimaryDark";
|
||||
val52.Dark = val15;
|
||||
XamlServiceProvider val114 = new XamlServiceProvider();
|
||||
val114.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val53, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val114.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(52, 46)));
|
||||
BindingBase value7 = ((IMarkupExtension<BindingBase>)(object)val52).ProvideValue((IServiceProvider)val114);
|
||||
val53.Value = value7;
|
||||
val54.Setters.Add(val53);
|
||||
val87.Add("TitleLabel", (object)val54);
|
||||
val55.Property = Label.FontSizeProperty;
|
||||
val55.Value = "16";
|
||||
val55.Value = 16.0;
|
||||
val60.Setters.Add(val55);
|
||||
val59.Property = Label.TextColorProperty;
|
||||
val56.Key = "TextSecondaryLight";
|
||||
val58.Light = val7;
|
||||
val57.Key = "TextSecondaryDark";
|
||||
val58.Dark = val16;
|
||||
XamlServiceProvider val115 = new XamlServiceProvider();
|
||||
val115.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val59, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val115.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(57, 46)));
|
||||
BindingBase value8 = ((IMarkupExtension<BindingBase>)(object)val58).ProvideValue((IServiceProvider)val115);
|
||||
val59.Value = value8;
|
||||
val60.Setters.Add(val59);
|
||||
val87.Add("SubtitleLabel", (object)val60);
|
||||
val64.Property = VisualElement.BackgroundColorProperty;
|
||||
val61.Key = "CardBackgroundLight";
|
||||
val63.Light = val5;
|
||||
val62.Key = "CardBackgroundDark";
|
||||
val63.Dark = val14;
|
||||
XamlServiceProvider val116 = new XamlServiceProvider();
|
||||
val116.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val64, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val116.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(62, 52)));
|
||||
BindingBase value9 = ((IMarkupExtension<BindingBase>)(object)val63).ProvideValue((IServiceProvider)val116);
|
||||
val64.Value = value9;
|
||||
val69.Setters.Add(val64);
|
||||
val68.Property = Frame.BorderColorProperty;
|
||||
val65.Key = "BorderLight";
|
||||
val67.Light = val8;
|
||||
val66.Key = "BorderDark";
|
||||
val67.Dark = val17;
|
||||
XamlServiceProvider val117 = new XamlServiceProvider();
|
||||
val117.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val68, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val117.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(63, 48)));
|
||||
BindingBase value10 = ((IMarkupExtension<BindingBase>)(object)val67).ProvideValue((IServiceProvider)val117);
|
||||
val68.Value = value10;
|
||||
val69.Setters.Add(val68);
|
||||
val87.Add("ThemedFrame", (object)val69);
|
||||
val71.Property = ProgressBar.ProgressColorProperty;
|
||||
val70.Key = "PrimaryColor";
|
||||
val71.Value = val;
|
||||
val76.Setters.Add(val71);
|
||||
val75.Property = VisualElement.BackgroundColorProperty;
|
||||
val72.Key = "ProgressTrackLight";
|
||||
val74.Light = val12;
|
||||
val73.Key = "ProgressTrackDark";
|
||||
val74.Dark = val21;
|
||||
XamlServiceProvider val118 = new XamlServiceProvider();
|
||||
val118.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val75, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val118.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(69, 52)));
|
||||
BindingBase value11 = ((IMarkupExtension<BindingBase>)(object)val74).ProvideValue((IServiceProvider)val118);
|
||||
val75.Value = value11;
|
||||
val76.Setters.Add(val75);
|
||||
val87.Add("ThemedProgressBar", (object)val76);
|
||||
val78.Property = VisualElement.BackgroundColorProperty;
|
||||
val77.Key = "PrimaryColor";
|
||||
val78.Value = val;
|
||||
val80.Setters.Add(val78);
|
||||
val79.Property = Button.TextColorProperty;
|
||||
val79.Value = "White";
|
||||
val79.Value = Colors.White;
|
||||
val80.Setters.Add(val79);
|
||||
val87.Add("PrimaryButton", (object)val80);
|
||||
val82.Property = VisualElement.BackgroundColorProperty;
|
||||
val81.Light = "#E3F2FD";
|
||||
val81.Dark = "#1565C0";
|
||||
XamlServiceProvider val119 = new XamlServiceProvider();
|
||||
val119.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val82, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val119.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(79, 52)));
|
||||
BindingBase value12 = ((IMarkupExtension<BindingBase>)(object)val81).ProvideValue((IServiceProvider)val119);
|
||||
val82.Value = value12;
|
||||
val86.Setters.Add(val82);
|
||||
val85.Property = Button.TextColorProperty;
|
||||
val83.Key = "PrimaryColor";
|
||||
val84.Light = val;
|
||||
val84.Dark = "White";
|
||||
XamlServiceProvider val120 = new XamlServiceProvider();
|
||||
val120.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val85, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val120.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(80, 46)));
|
||||
BindingBase value13 = ((IMarkupExtension<BindingBase>)(object)val84).ProvideValue((IServiceProvider)val120);
|
||||
val85.Value = value13;
|
||||
val86.Setters.Add(val85);
|
||||
val87.Add("SecondaryButton", (object)val86);
|
||||
((Application)app).Resources = val87;
|
||||
}
|
||||
}
|
||||
|
||||
650
ShellDemo/AppShell.cs
Normal file
650
ShellDemo/AppShell.cs
Normal file
@@ -0,0 +1,650 @@
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using System.Xml;
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Controls.Internals;
|
||||
using Microsoft.Maui.Controls.Xaml;
|
||||
using Microsoft.Maui.Controls.Xaml.Internals;
|
||||
|
||||
namespace ShellDemo;
|
||||
|
||||
[XamlFilePath("AppShell.xaml")]
|
||||
public class AppShell : Shell
|
||||
{
|
||||
public AppShell()
|
||||
{
|
||||
InitializeComponent();
|
||||
Routing.RegisterRoute("detail", typeof(DetailPage));
|
||||
}
|
||||
|
||||
[GeneratedCode("Microsoft.Maui.Controls.SourceGen", "1.0.0.0")]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0007: Expected O, but got Unknown
|
||||
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_000d: Expected O, but got Unknown
|
||||
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0013: Expected O, but got Unknown
|
||||
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0019: Expected O, but got Unknown
|
||||
//IL_0019: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0020: Expected O, but got Unknown
|
||||
//IL_0020: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0027: Expected O, but got Unknown
|
||||
//IL_0027: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_002e: Expected O, but got Unknown
|
||||
//IL_002e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0035: Expected O, but got Unknown
|
||||
//IL_0035: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_003c: Expected O, but got Unknown
|
||||
//IL_003c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0043: Expected O, but got Unknown
|
||||
//IL_0043: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_004a: Expected O, but got Unknown
|
||||
//IL_004a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0051: Expected O, but got Unknown
|
||||
//IL_0051: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0058: Expected O, but got Unknown
|
||||
//IL_0058: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_005f: Expected O, but got Unknown
|
||||
//IL_005f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0066: Expected O, but got Unknown
|
||||
//IL_0070: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0077: Expected O, but got Unknown
|
||||
//IL_0077: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_007e: Expected O, but got Unknown
|
||||
//IL_007e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0085: Expected O, but got Unknown
|
||||
//IL_0085: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_008c: Expected O, but got Unknown
|
||||
//IL_008c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0093: Expected O, but got Unknown
|
||||
//IL_009d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00a4: Expected O, but got Unknown
|
||||
//IL_00a4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00ab: Expected O, but got Unknown
|
||||
//IL_00ab: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00b2: Expected O, but got Unknown
|
||||
//IL_00b2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00b9: Expected O, but got Unknown
|
||||
//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00c0: Expected O, but got Unknown
|
||||
//IL_00ca: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00d1: Expected O, but got Unknown
|
||||
//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00d8: Expected O, but got Unknown
|
||||
//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00df: Expected O, but got Unknown
|
||||
//IL_00df: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00e6: Expected O, but got Unknown
|
||||
//IL_00e6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00ed: Expected O, but got Unknown
|
||||
//IL_00f7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00fe: Expected O, but got Unknown
|
||||
//IL_00fe: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0105: Expected O, but got Unknown
|
||||
//IL_0105: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_010c: Expected O, but got Unknown
|
||||
//IL_010c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0113: Expected O, but got Unknown
|
||||
//IL_0113: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_011a: Expected O, but got Unknown
|
||||
//IL_0124: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_012b: Expected O, but got Unknown
|
||||
//IL_012b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0132: Expected O, but got Unknown
|
||||
//IL_0132: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0139: Expected O, but got Unknown
|
||||
//IL_0139: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0140: Expected O, but got Unknown
|
||||
//IL_0140: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0147: Expected O, but got Unknown
|
||||
//IL_0151: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0158: Expected O, but got Unknown
|
||||
//IL_0158: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_015f: Expected O, but got Unknown
|
||||
//IL_015f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0166: Expected O, but got Unknown
|
||||
//IL_0166: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_016d: Expected O, but got Unknown
|
||||
//IL_016d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0174: Expected O, but got Unknown
|
||||
//IL_017e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0185: Expected O, but got Unknown
|
||||
//IL_0185: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_018c: Expected O, but got Unknown
|
||||
//IL_018c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0193: Expected O, but got Unknown
|
||||
//IL_0193: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_019a: Expected O, but got Unknown
|
||||
//IL_019a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01a1: Expected O, but got Unknown
|
||||
//IL_01ab: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01b2: Expected O, but got Unknown
|
||||
//IL_01b2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01b9: Expected O, but got Unknown
|
||||
//IL_01b9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01c0: Expected O, but got Unknown
|
||||
//IL_01c0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01c7: Expected O, but got Unknown
|
||||
//IL_01c7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ce: Expected O, but got Unknown
|
||||
//IL_01d8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01df: Expected O, but got Unknown
|
||||
//IL_01df: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01e6: Expected O, but got Unknown
|
||||
//IL_01e6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ed: Expected O, but got Unknown
|
||||
//IL_0361: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0366: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0371: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0376: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03bc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03c1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03c4: Expected O, but got Unknown
|
||||
//IL_03c9: Expected O, but got Unknown
|
||||
//IL_03c9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03db: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03e8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f2: Expected O, but got Unknown
|
||||
//IL_03ed: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f7: Expected O, but got Unknown
|
||||
//IL_03fc: Expected O, but got Unknown
|
||||
//IL_0411: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0416: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0421: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0426: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_046c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0471: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0474: Expected O, but got Unknown
|
||||
//IL_0479: Expected O, but got Unknown
|
||||
//IL_0479: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_048b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0498: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04a2: Expected O, but got Unknown
|
||||
//IL_049d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04a7: Expected O, but got Unknown
|
||||
//IL_04ac: Expected O, but got Unknown
|
||||
//IL_04b7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04bc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04ce: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04d8: Expected O, but got Unknown
|
||||
//IL_04d8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04e5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04ef: Expected O, but got Unknown
|
||||
//IL_04ea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04f4: Expected O, but got Unknown
|
||||
//IL_04f9: Expected O, but got Unknown
|
||||
//IL_0514: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0519: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0524: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0529: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_057a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_057f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0582: Expected O, but got Unknown
|
||||
//IL_0587: Expected O, but got Unknown
|
||||
//IL_0587: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0599: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05b2: Expected O, but got Unknown
|
||||
//IL_05ad: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05b7: Expected O, but got Unknown
|
||||
//IL_05bc: Expected O, but got Unknown
|
||||
//IL_05d5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05da: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05ec: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05f6: Expected O, but got Unknown
|
||||
//IL_05f6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0605: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_060f: Expected O, but got Unknown
|
||||
//IL_060a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0614: Expected O, but got Unknown
|
||||
//IL_0619: Expected O, but got Unknown
|
||||
//IL_0653: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0669: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06f1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0757: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_075c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_076e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0778: Expected O, but got Unknown
|
||||
//IL_0778: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0787: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0791: Expected O, but got Unknown
|
||||
//IL_078c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0796: Expected O, but got Unknown
|
||||
//IL_079b: Expected O, but got Unknown
|
||||
//IL_07fe: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0803: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0815: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_081f: Expected O, but got Unknown
|
||||
//IL_081f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_082e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0838: Expected O, but got Unknown
|
||||
//IL_0833: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_083d: Expected O, but got Unknown
|
||||
//IL_0842: Expected O, but got Unknown
|
||||
//IL_08fd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0902: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0914: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_091e: Expected O, but got Unknown
|
||||
//IL_091e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_092d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0937: Expected O, but got Unknown
|
||||
//IL_0932: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_093c: Expected O, but got Unknown
|
||||
//IL_0941: Expected O, but got Unknown
|
||||
//IL_09f1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09f6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a08: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a12: Expected O, but got Unknown
|
||||
//IL_0a12: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a21: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a2b: Expected O, but got Unknown
|
||||
//IL_0a26: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a30: Expected O, but got Unknown
|
||||
//IL_0a35: Expected O, but got Unknown
|
||||
//IL_0ae5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0aea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0afc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b06: Expected O, but got Unknown
|
||||
//IL_0b06: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b15: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b1f: Expected O, but got Unknown
|
||||
//IL_0b1a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b24: Expected O, but got Unknown
|
||||
//IL_0b29: Expected O, but got Unknown
|
||||
//IL_0bd9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bde: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bf0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bfa: Expected O, but got Unknown
|
||||
//IL_0bfa: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c09: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c13: Expected O, but got Unknown
|
||||
//IL_0c0e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c18: Expected O, but got Unknown
|
||||
//IL_0c1d: Expected O, but got Unknown
|
||||
//IL_0ccd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0cd2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ce4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0cee: Expected O, but got Unknown
|
||||
//IL_0cee: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0cfd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d07: Expected O, but got Unknown
|
||||
//IL_0d02: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d0c: Expected O, but got Unknown
|
||||
//IL_0d11: Expected O, but got Unknown
|
||||
//IL_0dc1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dc6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dd8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0de2: Expected O, but got Unknown
|
||||
//IL_0de2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0df1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dfb: Expected O, but got Unknown
|
||||
//IL_0df6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e00: Expected O, but got Unknown
|
||||
//IL_0e05: Expected O, but got Unknown
|
||||
//IL_0eb5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0eba: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ecc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ed6: Expected O, but got Unknown
|
||||
//IL_0ed6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ee5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0eef: Expected O, but got Unknown
|
||||
//IL_0eea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ef4: Expected O, but got Unknown
|
||||
//IL_0ef9: Expected O, but got Unknown
|
||||
//IL_0fa9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fae: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fc0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fca: Expected O, but got Unknown
|
||||
//IL_0fca: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fd9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fe3: Expected O, but got Unknown
|
||||
//IL_0fde: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fe8: Expected O, but got Unknown
|
||||
//IL_0fed: Expected O, but got Unknown
|
||||
//IL_109d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10a2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10b4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10be: Expected O, but got Unknown
|
||||
//IL_10be: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10cd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10d7: Expected O, but got Unknown
|
||||
//IL_10d2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10dc: Expected O, but got Unknown
|
||||
//IL_10e1: Expected O, but got Unknown
|
||||
//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
|
||||
StaticResourceExtension val = new StaticResourceExtension();
|
||||
StaticResourceExtension val2 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val3 = new AppThemeBindingExtension();
|
||||
StaticResourceExtension val4 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val5 = new AppThemeBindingExtension();
|
||||
Image val6 = new Image();
|
||||
AppThemeBindingExtension val7 = new AppThemeBindingExtension();
|
||||
Label val8 = new Label();
|
||||
AppThemeBindingExtension val9 = new AppThemeBindingExtension();
|
||||
Label val10 = new Label();
|
||||
VerticalStackLayout val11 = new VerticalStackLayout();
|
||||
HorizontalStackLayout val12 = new HorizontalStackLayout();
|
||||
Grid val13 = new Grid();
|
||||
AppThemeBindingExtension val14 = new AppThemeBindingExtension();
|
||||
FontImageSource val15 = new FontImageSource();
|
||||
DataTemplate val16 = new DataTemplate(typeof(HomePage));
|
||||
ShellContent val17 = new ShellContent();
|
||||
FlyoutItem val18 = new FlyoutItem();
|
||||
AppThemeBindingExtension val19 = new AppThemeBindingExtension();
|
||||
FontImageSource val20 = new FontImageSource();
|
||||
DataTemplate val21 = new DataTemplate(typeof(ButtonsPage));
|
||||
ShellContent val22 = new ShellContent();
|
||||
FlyoutItem val23 = new FlyoutItem();
|
||||
AppThemeBindingExtension val24 = new AppThemeBindingExtension();
|
||||
FontImageSource val25 = new FontImageSource();
|
||||
DataTemplate val26 = new DataTemplate(typeof(TextInputPage));
|
||||
ShellContent val27 = new ShellContent();
|
||||
FlyoutItem val28 = new FlyoutItem();
|
||||
AppThemeBindingExtension val29 = new AppThemeBindingExtension();
|
||||
FontImageSource val30 = new FontImageSource();
|
||||
DataTemplate val31 = new DataTemplate(typeof(SelectionPage));
|
||||
ShellContent val32 = new ShellContent();
|
||||
FlyoutItem val33 = new FlyoutItem();
|
||||
AppThemeBindingExtension val34 = new AppThemeBindingExtension();
|
||||
FontImageSource val35 = new FontImageSource();
|
||||
DataTemplate val36 = new DataTemplate(typeof(PickersPage));
|
||||
ShellContent val37 = new ShellContent();
|
||||
FlyoutItem val38 = new FlyoutItem();
|
||||
AppThemeBindingExtension val39 = new AppThemeBindingExtension();
|
||||
FontImageSource val40 = new FontImageSource();
|
||||
DataTemplate val41 = new DataTemplate(typeof(ListsPage));
|
||||
ShellContent val42 = new ShellContent();
|
||||
FlyoutItem val43 = new FlyoutItem();
|
||||
AppThemeBindingExtension val44 = new AppThemeBindingExtension();
|
||||
FontImageSource val45 = new FontImageSource();
|
||||
DataTemplate val46 = new DataTemplate(typeof(ProgressPage));
|
||||
ShellContent val47 = new ShellContent();
|
||||
FlyoutItem val48 = new FlyoutItem();
|
||||
AppThemeBindingExtension val49 = new AppThemeBindingExtension();
|
||||
FontImageSource val50 = new FontImageSource();
|
||||
DataTemplate val51 = new DataTemplate(typeof(GridsPage));
|
||||
ShellContent val52 = new ShellContent();
|
||||
FlyoutItem val53 = new FlyoutItem();
|
||||
AppThemeBindingExtension val54 = new AppThemeBindingExtension();
|
||||
FontImageSource val55 = new FontImageSource();
|
||||
DataTemplate val56 = new DataTemplate(typeof(AboutPage));
|
||||
ShellContent val57 = new ShellContent();
|
||||
FlyoutItem val58 = new FlyoutItem();
|
||||
AppShell appShell;
|
||||
NameScope val59 = (NameScope)(((object)NameScope.GetNameScope((BindableObject)(object)(appShell = this))) ?? ((object)new NameScope()));
|
||||
NameScope.SetNameScope((BindableObject)(object)appShell, (INameScope)(object)val59);
|
||||
((Element)val13).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val12).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val6).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val11).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val8).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val10).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val18).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val15).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val17).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val23).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val20).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val22).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val28).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val25).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val27).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val33).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val30).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val32).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val38).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val35).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val37).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val43).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val40).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val42).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val48).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val45).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val47).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val53).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val50).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val52).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val58).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val55).transientNamescope = (INameScope)(object)val59;
|
||||
((Element)val57).transientNamescope = (INameScope)(object)val59;
|
||||
((BindableObject)appShell).SetValue(Page.TitleProperty, (object)"OpenMaui Controls Demo");
|
||||
((BindableObject)appShell).SetValue(Shell.FlyoutBehaviorProperty, (object)(FlyoutBehavior)1);
|
||||
val.Key = "FlyoutBackgroundLight";
|
||||
StaticResourceExtension val60 = new StaticResourceExtension
|
||||
{
|
||||
Key = "FlyoutBackgroundLight"
|
||||
};
|
||||
XamlServiceProvider val61 = new XamlServiceProvider();
|
||||
Type? typeFromHandle = typeof(IProvideValueTarget);
|
||||
object[] array = new object[0 + 2];
|
||||
array[0] = val3;
|
||||
array[1] = appShell;
|
||||
SimpleValueTargetProvider val62 = new SimpleValueTargetProvider(array, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[3] { val59, val59, val59 }, false);
|
||||
object obj = (object)val62;
|
||||
val61.Add(typeFromHandle, (object)val62);
|
||||
val61.Add(typeof(IReferenceProvider), obj);
|
||||
val61.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(8, 8)));
|
||||
object light = val60.ProvideValue((IServiceProvider)val61);
|
||||
val3.Light = light;
|
||||
val2.Key = "FlyoutBackgroundDark";
|
||||
StaticResourceExtension val63 = new StaticResourceExtension
|
||||
{
|
||||
Key = "FlyoutBackgroundDark"
|
||||
};
|
||||
XamlServiceProvider val64 = new XamlServiceProvider();
|
||||
Type? typeFromHandle2 = typeof(IProvideValueTarget);
|
||||
object[] array2 = new object[0 + 2];
|
||||
array2[0] = val3;
|
||||
array2[1] = appShell;
|
||||
SimpleValueTargetProvider val65 = new SimpleValueTargetProvider(array2, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[3] { val59, val59, val59 }, false);
|
||||
object obj2 = (object)val65;
|
||||
val64.Add(typeFromHandle2, (object)val65);
|
||||
val64.Add(typeof(IReferenceProvider), obj2);
|
||||
val64.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(8, 8)));
|
||||
object dark = val63.ProvideValue((IServiceProvider)val64);
|
||||
val3.Dark = dark;
|
||||
XamlServiceProvider val66 = new XamlServiceProvider();
|
||||
val66.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)appShell, (object)Shell.FlyoutBackgroundColorProperty));
|
||||
val66.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(8, 8)));
|
||||
BindingBase val67 = ((IMarkupExtension<BindingBase>)(object)val3).ProvideValue((IServiceProvider)val66);
|
||||
((BindableObject)appShell).SetBinding(Shell.FlyoutBackgroundColorProperty, val67);
|
||||
val4.Key = "PrimaryColor";
|
||||
StaticResourceExtension val68 = new StaticResourceExtension
|
||||
{
|
||||
Key = "PrimaryColor"
|
||||
};
|
||||
XamlServiceProvider val69 = new XamlServiceProvider();
|
||||
Type? typeFromHandle3 = typeof(IProvideValueTarget);
|
||||
object[] array3 = new object[0 + 3];
|
||||
array3[0] = val5;
|
||||
array3[1] = val13;
|
||||
array3[2] = appShell;
|
||||
SimpleValueTargetProvider val70 = new SimpleValueTargetProvider(array3, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[4] { val59, val59, val59, val59 }, false);
|
||||
object obj3 = (object)val70;
|
||||
val69.Add(typeFromHandle3, (object)val70);
|
||||
val69.Add(typeof(IReferenceProvider), obj3);
|
||||
val69.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(12, 15)));
|
||||
object light2 = val68.ProvideValue((IServiceProvider)val69);
|
||||
val5.Light = light2;
|
||||
val5.Dark = "#1A1A2E";
|
||||
XamlServiceProvider val71 = new XamlServiceProvider();
|
||||
val71.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val13, (object)VisualElement.BackgroundColorProperty));
|
||||
val71.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(12, 15)));
|
||||
BindingBase val72 = ((IMarkupExtension<BindingBase>)(object)val5).ProvideValue((IServiceProvider)val71);
|
||||
((BindableObject)val13).SetBinding(VisualElement.BackgroundColorProperty, val72);
|
||||
((BindableObject)val13).SetValue(VisualElement.HeightRequestProperty, (object)140.0);
|
||||
((BindableObject)val13).SetValue(Layout.PaddingProperty, (object)new Thickness(15.0));
|
||||
((BindableObject)val12).SetValue(View.VerticalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val12).SetValue(StackBase.SpacingProperty, (object)12.0);
|
||||
((BindableObject)val6).SetValue(Image.SourceProperty, (object)ImageSource.FromFile("openmaui_logo.svg"));
|
||||
((BindableObject)val6).SetValue(VisualElement.WidthRequestProperty, (object)60.0);
|
||||
((BindableObject)val6).SetValue(VisualElement.HeightRequestProperty, (object)60.0);
|
||||
((Layout)val12).Children.Add((IView)(object)val6);
|
||||
((BindableObject)val11).SetValue(View.VerticalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val8).SetValue(Label.TextProperty, (object)"OpenMaui");
|
||||
((BindableObject)val8).SetValue(Label.FontSizeProperty, (object)22.0);
|
||||
((BindableObject)val8).SetValue(Label.FontAttributesProperty, (object)(FontAttributes)1);
|
||||
val7.Light = "White";
|
||||
val7.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val73 = new XamlServiceProvider();
|
||||
val73.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val8, (object)Label.TextColorProperty));
|
||||
val73.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(23, 28)));
|
||||
BindingBase val74 = ((IMarkupExtension<BindingBase>)(object)val7).ProvideValue((IServiceProvider)val73);
|
||||
((BindableObject)val8).SetBinding(Label.TextColorProperty, val74);
|
||||
((Layout)val11).Children.Add((IView)(object)val8);
|
||||
((BindableObject)val10).SetValue(Label.TextProperty, (object)"Controls Demo");
|
||||
((BindableObject)val10).SetValue(Label.FontSizeProperty, (object)13.0);
|
||||
val9.Light = "White";
|
||||
val9.Dark = "#B0B0B0";
|
||||
XamlServiceProvider val75 = new XamlServiceProvider();
|
||||
val75.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val10, (object)Label.TextColorProperty));
|
||||
val75.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(26, 28)));
|
||||
BindingBase val76 = ((IMarkupExtension<BindingBase>)(object)val9).ProvideValue((IServiceProvider)val75);
|
||||
((BindableObject)val10).SetBinding(Label.TextColorProperty, val76);
|
||||
((BindableObject)val10).SetValue(VisualElement.OpacityProperty, (object)0.9);
|
||||
((Layout)val11).Children.Add((IView)(object)val10);
|
||||
((Layout)val12).Children.Add((IView)(object)val11);
|
||||
((Layout)val13).Children.Add((IView)(object)val12);
|
||||
((BindableObject)appShell).SetValue(Shell.FlyoutHeaderProperty, (object)val13);
|
||||
((BindableObject)val18).SetValue(BaseShellItem.TitleProperty, (object)"Home");
|
||||
((BaseShellItem)val18).Route = "Home";
|
||||
((BindableObject)val15).SetValue(FontImageSource.GlyphProperty, (object)"\ud83c\udfe0");
|
||||
((BindableObject)val15).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val14.Light = "#424242";
|
||||
val14.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val77 = new XamlServiceProvider();
|
||||
val77.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val15, (object)FontImageSource.ColorProperty));
|
||||
val77.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(36, 69)));
|
||||
BindingBase val78 = ((IMarkupExtension<BindingBase>)(object)val14).ProvideValue((IServiceProvider)val77);
|
||||
((BindableObject)val15).SetBinding(FontImageSource.ColorProperty, val78);
|
||||
((BindableObject)val18).SetValue(BaseShellItem.IconProperty, (object)val15);
|
||||
((BindableObject)val17).SetValue(ShellContent.ContentTemplateProperty, (object)val16);
|
||||
((ICollection<ShellSection>)((BindableObject)val18).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val17));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val18);
|
||||
((BindableObject)val23).SetValue(BaseShellItem.TitleProperty, (object)"Buttons");
|
||||
((BaseShellItem)val23).Route = "Buttons";
|
||||
((BindableObject)val20).SetValue(FontImageSource.GlyphProperty, (object)"\ud83d\udc46");
|
||||
((BindableObject)val20).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val19.Light = "#424242";
|
||||
val19.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val79 = new XamlServiceProvider();
|
||||
val79.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val20, (object)FontImageSource.ColorProperty));
|
||||
val79.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(44, 69)));
|
||||
BindingBase val80 = ((IMarkupExtension<BindingBase>)(object)val19).ProvideValue((IServiceProvider)val79);
|
||||
((BindableObject)val20).SetBinding(FontImageSource.ColorProperty, val80);
|
||||
((BindableObject)val23).SetValue(BaseShellItem.IconProperty, (object)val20);
|
||||
((BindableObject)val22).SetValue(ShellContent.ContentTemplateProperty, (object)val21);
|
||||
((ICollection<ShellSection>)((BindableObject)val23).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val22));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val23);
|
||||
((BindableObject)val28).SetValue(BaseShellItem.TitleProperty, (object)"Text Input");
|
||||
((BaseShellItem)val28).Route = "TextInput";
|
||||
((BindableObject)val25).SetValue(FontImageSource.GlyphProperty, (object)"\ud83d\udcdd");
|
||||
((BindableObject)val25).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val24.Light = "#424242";
|
||||
val24.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val81 = new XamlServiceProvider();
|
||||
val81.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val25, (object)FontImageSource.ColorProperty));
|
||||
val81.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(52, 69)));
|
||||
BindingBase val82 = ((IMarkupExtension<BindingBase>)(object)val24).ProvideValue((IServiceProvider)val81);
|
||||
((BindableObject)val25).SetBinding(FontImageSource.ColorProperty, val82);
|
||||
((BindableObject)val28).SetValue(BaseShellItem.IconProperty, (object)val25);
|
||||
((BindableObject)val27).SetValue(ShellContent.ContentTemplateProperty, (object)val26);
|
||||
((ICollection<ShellSection>)((BindableObject)val28).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val27));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val28);
|
||||
((BindableObject)val33).SetValue(BaseShellItem.TitleProperty, (object)"Selection");
|
||||
((BaseShellItem)val33).Route = "Selection";
|
||||
((BindableObject)val30).SetValue(FontImageSource.GlyphProperty, (object)"☑");
|
||||
((BindableObject)val30).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val29.Light = "#424242";
|
||||
val29.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val83 = new XamlServiceProvider();
|
||||
val83.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val30, (object)FontImageSource.ColorProperty));
|
||||
val83.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(60, 68)));
|
||||
BindingBase val84 = ((IMarkupExtension<BindingBase>)(object)val29).ProvideValue((IServiceProvider)val83);
|
||||
((BindableObject)val30).SetBinding(FontImageSource.ColorProperty, val84);
|
||||
((BindableObject)val33).SetValue(BaseShellItem.IconProperty, (object)val30);
|
||||
((BindableObject)val32).SetValue(ShellContent.ContentTemplateProperty, (object)val31);
|
||||
((ICollection<ShellSection>)((BindableObject)val33).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val32));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val33);
|
||||
((BindableObject)val38).SetValue(BaseShellItem.TitleProperty, (object)"Pickers");
|
||||
((BaseShellItem)val38).Route = "Pickers";
|
||||
((BindableObject)val35).SetValue(FontImageSource.GlyphProperty, (object)"\ud83d\udcc5");
|
||||
((BindableObject)val35).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val34.Light = "#424242";
|
||||
val34.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val85 = new XamlServiceProvider();
|
||||
val85.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val35, (object)FontImageSource.ColorProperty));
|
||||
val85.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(68, 69)));
|
||||
BindingBase val86 = ((IMarkupExtension<BindingBase>)(object)val34).ProvideValue((IServiceProvider)val85);
|
||||
((BindableObject)val35).SetBinding(FontImageSource.ColorProperty, val86);
|
||||
((BindableObject)val38).SetValue(BaseShellItem.IconProperty, (object)val35);
|
||||
((BindableObject)val37).SetValue(ShellContent.ContentTemplateProperty, (object)val36);
|
||||
((ICollection<ShellSection>)((BindableObject)val38).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val37));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val38);
|
||||
((BindableObject)val43).SetValue(BaseShellItem.TitleProperty, (object)"Lists");
|
||||
((BaseShellItem)val43).Route = "Lists";
|
||||
((BindableObject)val40).SetValue(FontImageSource.GlyphProperty, (object)"\ud83d\udccb");
|
||||
((BindableObject)val40).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val39.Light = "#424242";
|
||||
val39.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val87 = new XamlServiceProvider();
|
||||
val87.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val40, (object)FontImageSource.ColorProperty));
|
||||
val87.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(76, 69)));
|
||||
BindingBase val88 = ((IMarkupExtension<BindingBase>)(object)val39).ProvideValue((IServiceProvider)val87);
|
||||
((BindableObject)val40).SetBinding(FontImageSource.ColorProperty, val88);
|
||||
((BindableObject)val43).SetValue(BaseShellItem.IconProperty, (object)val40);
|
||||
((BindableObject)val42).SetValue(ShellContent.ContentTemplateProperty, (object)val41);
|
||||
((ICollection<ShellSection>)((BindableObject)val43).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val42));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val43);
|
||||
((BindableObject)val48).SetValue(BaseShellItem.TitleProperty, (object)"Progress");
|
||||
((BaseShellItem)val48).Route = "Progress";
|
||||
((BindableObject)val45).SetValue(FontImageSource.GlyphProperty, (object)"⏳");
|
||||
((BindableObject)val45).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val44.Light = "#424242";
|
||||
val44.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val89 = new XamlServiceProvider();
|
||||
val89.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val45, (object)FontImageSource.ColorProperty));
|
||||
val89.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(84, 68)));
|
||||
BindingBase val90 = ((IMarkupExtension<BindingBase>)(object)val44).ProvideValue((IServiceProvider)val89);
|
||||
((BindableObject)val45).SetBinding(FontImageSource.ColorProperty, val90);
|
||||
((BindableObject)val48).SetValue(BaseShellItem.IconProperty, (object)val45);
|
||||
((BindableObject)val47).SetValue(ShellContent.ContentTemplateProperty, (object)val46);
|
||||
((ICollection<ShellSection>)((BindableObject)val48).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val47));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val48);
|
||||
((BindableObject)val53).SetValue(BaseShellItem.TitleProperty, (object)"Grids");
|
||||
((BaseShellItem)val53).Route = "Grids";
|
||||
((BindableObject)val50).SetValue(FontImageSource.GlyphProperty, (object)"\ud83d\udcca");
|
||||
((BindableObject)val50).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val49.Light = "#424242";
|
||||
val49.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val91 = new XamlServiceProvider();
|
||||
val91.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val50, (object)FontImageSource.ColorProperty));
|
||||
val91.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(92, 69)));
|
||||
BindingBase val92 = ((IMarkupExtension<BindingBase>)(object)val49).ProvideValue((IServiceProvider)val91);
|
||||
((BindableObject)val50).SetBinding(FontImageSource.ColorProperty, val92);
|
||||
((BindableObject)val53).SetValue(BaseShellItem.IconProperty, (object)val50);
|
||||
((BindableObject)val52).SetValue(ShellContent.ContentTemplateProperty, (object)val51);
|
||||
((ICollection<ShellSection>)((BindableObject)val53).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val52));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val53);
|
||||
((BindableObject)val58).SetValue(BaseShellItem.TitleProperty, (object)"About");
|
||||
((BaseShellItem)val58).Route = "About";
|
||||
((BindableObject)val55).SetValue(FontImageSource.GlyphProperty, (object)"ℹ");
|
||||
((BindableObject)val55).SetValue(FontImageSource.FontFamilyProperty, (object)"Default");
|
||||
val54.Light = "#424242";
|
||||
val54.Dark = "#E0E0E0";
|
||||
XamlServiceProvider val93 = new XamlServiceProvider();
|
||||
val93.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val55, (object)FontImageSource.ColorProperty));
|
||||
val93.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(100, 68)));
|
||||
BindingBase val94 = ((IMarkupExtension<BindingBase>)(object)val54).ProvideValue((IServiceProvider)val93);
|
||||
((BindableObject)val55).SetBinding(FontImageSource.ColorProperty, val94);
|
||||
((BindableObject)val58).SetValue(BaseShellItem.IconProperty, (object)val55);
|
||||
((BindableObject)val57).SetValue(ShellContent.ContentTemplateProperty, (object)val56);
|
||||
((ICollection<ShellSection>)((BindableObject)val58).GetValue(ShellItem.ItemsProperty)).Add(ShellSection.op_Implicit(val57));
|
||||
((ICollection<ShellItem>)((BindableObject)appShell).GetValue(Shell.ItemsProperty)).Add((ShellItem)(object)val58);
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
// MauiProgram.cs - Shared MAUI app configuration
|
||||
// Works across all platforms (iOS, Android, Windows, Linux)
|
||||
|
||||
using Microsoft.Maui.Controls.Hosting;
|
||||
using Microsoft.Maui.Hosting;
|
||||
using Microsoft.Maui.Platform.Linux.Hosting;
|
||||
|
||||
@@ -8,17 +6,11 @@ namespace ShellDemo;
|
||||
|
||||
public static class MauiProgram
|
||||
{
|
||||
public static MauiApp CreateMauiApp()
|
||||
{
|
||||
var builder = MauiApp.CreateBuilder();
|
||||
|
||||
// Configure the app (shared across all platforms)
|
||||
builder.UseMauiApp<App>();
|
||||
|
||||
// Add Linux platform support
|
||||
// On other platforms, this would be iOS/Android/Windows specific
|
||||
builder.UseLinux();
|
||||
|
||||
return builder.Build();
|
||||
}
|
||||
public static MauiApp CreateMauiApp()
|
||||
{
|
||||
MauiAppBuilder obj = MauiApp.CreateBuilder(true);
|
||||
AppHostBuilderExtensions.UseMauiApp<App>(obj);
|
||||
obj.UseLinux();
|
||||
return obj.Build();
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,123 +1,848 @@
|
||||
// DetailPage - Demonstrates push/pop navigation
|
||||
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Reflection;
|
||||
using System.Xml;
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Controls.Compatibility;
|
||||
using Microsoft.Maui.Controls.Internals;
|
||||
using Microsoft.Maui.Controls.Xaml;
|
||||
using Microsoft.Maui.Controls.Xaml.Internals;
|
||||
using Microsoft.Maui.Graphics;
|
||||
using Microsoft.Maui.Platform.Linux.Hosting;
|
||||
|
||||
namespace ShellDemo;
|
||||
|
||||
/// <summary>
|
||||
/// A detail page that can be pushed onto the navigation stack.
|
||||
/// </summary>
|
||||
[XamlFilePath("Pages/DetailPage.xaml")]
|
||||
public class DetailPage : ContentPage
|
||||
{
|
||||
private readonly string _itemName;
|
||||
public DetailPage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public DetailPage() : this("Detail Item")
|
||||
{
|
||||
}
|
||||
private void OnGoBackClicked(object? sender, EventArgs e)
|
||||
{
|
||||
Console.WriteLine("[DetailPage] Go Back clicked");
|
||||
LinuxViewRenderer.PopPage();
|
||||
}
|
||||
|
||||
public DetailPage(string itemName)
|
||||
{
|
||||
_itemName = itemName;
|
||||
Title = "Detail Page";
|
||||
|
||||
Content = new VerticalStackLayout
|
||||
{
|
||||
Padding = new Thickness(30),
|
||||
Spacing = 20,
|
||||
VerticalOptions = LayoutOptions.Center,
|
||||
Children =
|
||||
{
|
||||
new Label
|
||||
{
|
||||
Text = "Pushed Page",
|
||||
FontSize = 28,
|
||||
FontAttributes = FontAttributes.Bold,
|
||||
HorizontalOptions = LayoutOptions.Center,
|
||||
TextColor = Color.FromArgb("#9C27B0")
|
||||
},
|
||||
|
||||
new Label
|
||||
{
|
||||
Text = $"You navigated to: {_itemName}",
|
||||
FontSize = 16,
|
||||
HorizontalOptions = LayoutOptions.Center
|
||||
},
|
||||
|
||||
new Label
|
||||
{
|
||||
Text = "This page was pushed onto the navigation stack using Shell.Current.GoToAsync()",
|
||||
FontSize = 14,
|
||||
TextColor = Colors.Gray,
|
||||
HorizontalTextAlignment = TextAlignment.Center,
|
||||
LineBreakMode = LineBreakMode.WordWrap
|
||||
},
|
||||
|
||||
new BoxView
|
||||
{
|
||||
HeightRequest = 2,
|
||||
Color = Color.FromArgb("#E0E0E0"),
|
||||
Margin = new Thickness(0, 20)
|
||||
},
|
||||
|
||||
CreateBackButton(),
|
||||
|
||||
new Label
|
||||
{
|
||||
Text = "Use the back button above or the hardware/gesture back to pop this page",
|
||||
FontSize = 12,
|
||||
TextColor = Colors.Gray,
|
||||
HorizontalTextAlignment = TextAlignment.Center,
|
||||
Margin = new Thickness(0, 20, 0, 0)
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private Button CreateBackButton()
|
||||
{
|
||||
var backBtn = new Button
|
||||
{
|
||||
Text = "Go Back (Pop)",
|
||||
BackgroundColor = Color.FromArgb("#9C27B0"),
|
||||
TextColor = Colors.White,
|
||||
HorizontalOptions = LayoutOptions.Center,
|
||||
Padding = new Thickness(30, 10)
|
||||
};
|
||||
|
||||
backBtn.Clicked += (s, e) =>
|
||||
{
|
||||
// Pop this page off the navigation stack using LinuxViewRenderer
|
||||
Console.WriteLine("[DetailPage] Go Back clicked");
|
||||
var success = LinuxViewRenderer.PopPage();
|
||||
Console.WriteLine($"[DetailPage] PopPage result: {success}");
|
||||
};
|
||||
|
||||
return backBtn;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Query property for passing data to DetailPage.
|
||||
/// </summary>
|
||||
[QueryProperty(nameof(ItemName), "item")]
|
||||
public class DetailPageWithQuery : DetailPage
|
||||
{
|
||||
private string _itemName = "Item";
|
||||
|
||||
public string ItemName
|
||||
{
|
||||
get => _itemName;
|
||||
set
|
||||
{
|
||||
_itemName = value;
|
||||
// Update the title when the property is set
|
||||
Title = $"Detail: {value}";
|
||||
}
|
||||
}
|
||||
|
||||
public DetailPageWithQuery() : base()
|
||||
{
|
||||
}
|
||||
[GeneratedCode("Microsoft.Maui.Controls.SourceGen", "1.0.0.0")]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0007: Expected O, but got Unknown
|
||||
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_000d: Expected O, but got Unknown
|
||||
//IL_000d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0013: Expected O, but got Unknown
|
||||
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0019: Expected O, but got Unknown
|
||||
//IL_0019: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0020: Expected O, but got Unknown
|
||||
//IL_0020: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0027: Expected O, but got Unknown
|
||||
//IL_0027: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_002e: Expected O, but got Unknown
|
||||
//IL_002e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0035: Expected O, but got Unknown
|
||||
//IL_0035: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_003c: Expected O, but got Unknown
|
||||
//IL_003c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0043: Expected O, but got Unknown
|
||||
//IL_0043: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_004a: Expected O, but got Unknown
|
||||
//IL_004a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0051: Expected O, but got Unknown
|
||||
//IL_0051: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0058: Expected O, but got Unknown
|
||||
//IL_0058: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_005f: Expected O, but got Unknown
|
||||
//IL_005f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0066: Expected O, but got Unknown
|
||||
//IL_0066: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_006d: Expected O, but got Unknown
|
||||
//IL_006d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0074: Expected O, but got Unknown
|
||||
//IL_0074: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_007b: Expected O, but got Unknown
|
||||
//IL_007b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0082: Expected O, but got Unknown
|
||||
//IL_0082: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0089: Expected O, but got Unknown
|
||||
//IL_0089: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0090: Expected O, but got Unknown
|
||||
//IL_0090: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0097: Expected O, but got Unknown
|
||||
//IL_0097: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_009e: Expected O, but got Unknown
|
||||
//IL_009e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00a5: Expected O, but got Unknown
|
||||
//IL_00a5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00ac: Expected O, but got Unknown
|
||||
//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00b3: Expected O, but got Unknown
|
||||
//IL_00b3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00ba: Expected O, but got Unknown
|
||||
//IL_00ba: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00c1: Expected O, but got Unknown
|
||||
//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00c8: Expected O, but got Unknown
|
||||
//IL_00c8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00cf: Expected O, but got Unknown
|
||||
//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00d6: Expected O, but got Unknown
|
||||
//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00dd: Expected O, but got Unknown
|
||||
//IL_00dd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00e4: Expected O, but got Unknown
|
||||
//IL_00e4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00eb: Expected O, but got Unknown
|
||||
//IL_018f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0194: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_019f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01a4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ef: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01f2: Expected O, but got Unknown
|
||||
//IL_01f7: Expected O, but got Unknown
|
||||
//IL_01f7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0209: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0217: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0221: Expected O, but got Unknown
|
||||
//IL_021c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0226: Expected O, but got Unknown
|
||||
//IL_022b: Expected O, but got Unknown
|
||||
//IL_0240: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0245: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0250: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0255: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_029b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02a0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02a3: Expected O, but got Unknown
|
||||
//IL_02a8: Expected O, but got Unknown
|
||||
//IL_02a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02ba: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02c8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02d2: Expected O, but got Unknown
|
||||
//IL_02cd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02d7: Expected O, but got Unknown
|
||||
//IL_02dc: Expected O, but got Unknown
|
||||
//IL_02e7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02ec: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02fe: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0308: Expected O, but got Unknown
|
||||
//IL_0308: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0316: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0320: Expected O, but got Unknown
|
||||
//IL_031b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0325: Expected O, but got Unknown
|
||||
//IL_032a: Expected O, but got Unknown
|
||||
//IL_034a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_037a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03da: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0423: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_042d: Expected O, but got Unknown
|
||||
//IL_046c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0481: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_04ef: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_050a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_050f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_051a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_051f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_057a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_057f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0582: Expected O, but got Unknown
|
||||
//IL_0587: Expected O, but got Unknown
|
||||
//IL_0587: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0599: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05b2: Expected O, but got Unknown
|
||||
//IL_05ad: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05b7: Expected O, but got Unknown
|
||||
//IL_05bc: Expected O, but got Unknown
|
||||
//IL_05d3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05d8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05e3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_05e8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0643: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0648: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_064b: Expected O, but got Unknown
|
||||
//IL_0650: Expected O, but got Unknown
|
||||
//IL_0650: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0662: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0671: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_067b: Expected O, but got Unknown
|
||||
//IL_0676: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0680: Expected O, but got Unknown
|
||||
//IL_0685: Expected O, but got Unknown
|
||||
//IL_0692: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0697: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06a9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06b3: Expected O, but got Unknown
|
||||
//IL_06b3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06c2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06cc: Expected O, but got Unknown
|
||||
//IL_06c7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06d1: Expected O, but got Unknown
|
||||
//IL_06d6: Expected O, but got Unknown
|
||||
//IL_0726: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0753: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0758: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0763: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0768: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07c3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07c8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07cb: Expected O, but got Unknown
|
||||
//IL_07d0: Expected O, but got Unknown
|
||||
//IL_07d0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07e2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07f1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_07fb: Expected O, but got Unknown
|
||||
//IL_07f6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0800: Expected O, but got Unknown
|
||||
//IL_0805: Expected O, but got Unknown
|
||||
//IL_081c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0821: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_082c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0831: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_088c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0891: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0894: Expected O, but got Unknown
|
||||
//IL_0899: Expected O, but got Unknown
|
||||
//IL_0899: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08ab: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08ba: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08c4: Expected O, but got Unknown
|
||||
//IL_08bf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08c9: Expected O, but got Unknown
|
||||
//IL_08ce: Expected O, but got Unknown
|
||||
//IL_08db: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08e0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08f2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08fc: Expected O, but got Unknown
|
||||
//IL_08fc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_090b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0915: Expected O, but got Unknown
|
||||
//IL_0910: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_091a: Expected O, but got Unknown
|
||||
//IL_091f: Expected O, but got Unknown
|
||||
//IL_0949: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_094e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0959: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_095e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09a0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09a5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09a8: Expected O, but got Unknown
|
||||
//IL_09ad: Expected O, but got Unknown
|
||||
//IL_09ad: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09bf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09ce: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09d8: Expected O, but got Unknown
|
||||
//IL_09d3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09dd: Expected O, but got Unknown
|
||||
//IL_09e2: Expected O, but got Unknown
|
||||
//IL_00f8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a3a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0a62: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ad4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ad9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ae4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ae9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b58: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b5d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b60: Expected O, but got Unknown
|
||||
//IL_0b65: Expected O, but got Unknown
|
||||
//IL_0b65: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b77: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b86: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b90: Expected O, but got Unknown
|
||||
//IL_0b8b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b95: Expected O, but got Unknown
|
||||
//IL_0b9a: Expected O, but got Unknown
|
||||
//IL_0bb1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bb6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bc1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bc6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c35: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c3a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c3d: Expected O, but got Unknown
|
||||
//IL_0c42: Expected O, but got Unknown
|
||||
//IL_0c42: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c54: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c63: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c6d: Expected O, but got Unknown
|
||||
//IL_0c68: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c72: Expected O, but got Unknown
|
||||
//IL_0c77: Expected O, but got Unknown
|
||||
//IL_0c84: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c89: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c9b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ca5: Expected O, but got Unknown
|
||||
//IL_0ca5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0cb4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0cbe: Expected O, but got Unknown
|
||||
//IL_0cb9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0cc3: Expected O, but got Unknown
|
||||
//IL_0cc8: Expected O, but got Unknown
|
||||
//IL_0d1d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d22: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d2d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d32: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0da1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0da6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0da9: Expected O, but got Unknown
|
||||
//IL_0dae: Expected O, but got Unknown
|
||||
//IL_0dae: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dc0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dcf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dd9: Expected O, but got Unknown
|
||||
//IL_0dd4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dde: Expected O, but got Unknown
|
||||
//IL_0de3: Expected O, but got Unknown
|
||||
//IL_0dfa: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0dff: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e0a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e0f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e7e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e83: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e86: Expected O, but got Unknown
|
||||
//IL_0e8b: Expected O, but got Unknown
|
||||
//IL_0e8b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0e9d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0eac: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0eb6: Expected O, but got Unknown
|
||||
//IL_0eb1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ebb: Expected O, but got Unknown
|
||||
//IL_0ec0: Expected O, but got Unknown
|
||||
//IL_0ecd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ed2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ee4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0eee: Expected O, but got Unknown
|
||||
//IL_0eee: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0efd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f07: Expected O, but got Unknown
|
||||
//IL_0f02: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f0c: Expected O, but got Unknown
|
||||
//IL_0f11: Expected O, but got Unknown
|
||||
//IL_0f66: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f6b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f76: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0f7b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0fef: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ff2: Expected O, but got Unknown
|
||||
//IL_0ff7: Expected O, but got Unknown
|
||||
//IL_0ff7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1009: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1018: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1022: Expected O, but got Unknown
|
||||
//IL_101d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1027: Expected O, but got Unknown
|
||||
//IL_102c: Expected O, but got Unknown
|
||||
//IL_1043: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1048: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1053: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1058: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10c7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10cc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10cf: Expected O, but got Unknown
|
||||
//IL_10d4: Expected O, but got Unknown
|
||||
//IL_10d4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10e6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10f5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_10ff: Expected O, but got Unknown
|
||||
//IL_10fa: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1104: Expected O, but got Unknown
|
||||
//IL_1109: Expected O, but got Unknown
|
||||
//IL_1116: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_111b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_112d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1137: Expected O, but got Unknown
|
||||
//IL_1137: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1146: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1150: Expected O, but got Unknown
|
||||
//IL_114b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1155: Expected O, but got Unknown
|
||||
//IL_115a: Expected O, but got Unknown
|
||||
//IL_11af: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_11b4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_11bf: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_11c4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1233: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1238: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_123b: Expected O, but got Unknown
|
||||
//IL_1240: Expected O, but got Unknown
|
||||
//IL_1240: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1252: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1261: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_126b: Expected O, but got Unknown
|
||||
//IL_1266: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1270: Expected O, but got Unknown
|
||||
//IL_1275: Expected O, but got Unknown
|
||||
//IL_128c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1291: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_129c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_12a1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1310: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1315: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1318: Expected O, but got Unknown
|
||||
//IL_131d: Expected O, but got Unknown
|
||||
//IL_131d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_132f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_133e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1348: Expected O, but got Unknown
|
||||
//IL_1343: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_134d: Expected O, but got Unknown
|
||||
//IL_1352: Expected O, but got Unknown
|
||||
//IL_135f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1364: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1376: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1380: Expected O, but got Unknown
|
||||
//IL_1380: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_138f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1399: Expected O, but got Unknown
|
||||
//IL_1394: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_139e: Expected O, but got Unknown
|
||||
//IL_13a3: Expected O, but got Unknown
|
||||
//IL_141d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1427: Expected O, but got Unknown
|
||||
//IL_143f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_1467: Unknown result type (might be due to invalid IL or missing references)
|
||||
StaticResourceExtension val = new StaticResourceExtension();
|
||||
StaticResourceExtension val2 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val3 = new AppThemeBindingExtension();
|
||||
Label val4 = new Label();
|
||||
Frame val5 = new Frame();
|
||||
StaticResourceExtension val6 = new StaticResourceExtension();
|
||||
StaticResourceExtension val7 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val8 = new AppThemeBindingExtension();
|
||||
Label val9 = new Label();
|
||||
StaticResourceExtension val10 = new StaticResourceExtension();
|
||||
StaticResourceExtension val11 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val12 = new AppThemeBindingExtension();
|
||||
Label val13 = new Label();
|
||||
StaticResourceExtension val14 = new StaticResourceExtension();
|
||||
StaticResourceExtension val15 = new StaticResourceExtension();
|
||||
StaticResourceExtension val16 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val17 = new AppThemeBindingExtension();
|
||||
Label val18 = new Label();
|
||||
StaticResourceExtension val19 = new StaticResourceExtension();
|
||||
StaticResourceExtension val20 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val21 = new AppThemeBindingExtension();
|
||||
Label val22 = new Label();
|
||||
StaticResourceExtension val23 = new StaticResourceExtension();
|
||||
StaticResourceExtension val24 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val25 = new AppThemeBindingExtension();
|
||||
Label val26 = new Label();
|
||||
StaticResourceExtension val27 = new StaticResourceExtension();
|
||||
StaticResourceExtension val28 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val29 = new AppThemeBindingExtension();
|
||||
Label val30 = new Label();
|
||||
VerticalStackLayout val31 = new VerticalStackLayout();
|
||||
Frame val32 = new Frame();
|
||||
Button val33 = new Button();
|
||||
VerticalStackLayout val34 = new VerticalStackLayout();
|
||||
DetailPage detailPage;
|
||||
NameScope val35 = (NameScope)(((object)NameScope.GetNameScope((BindableObject)(object)(detailPage = this))) ?? ((object)new NameScope()));
|
||||
NameScope.SetNameScope((BindableObject)(object)detailPage, (INameScope)(object)val35);
|
||||
((Element)val34).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val5).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val4).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val9).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val13).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val32).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val31).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val18).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val22).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val26).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val30).transientNamescope = (INameScope)(object)val35;
|
||||
((Element)val33).transientNamescope = (INameScope)(object)val35;
|
||||
((BindableObject)detailPage).SetValue(Page.TitleProperty, (object)"Detail Page");
|
||||
val.Key = "PageBackgroundLight";
|
||||
StaticResourceExtension val36 = new StaticResourceExtension
|
||||
{
|
||||
Key = "PageBackgroundLight"
|
||||
};
|
||||
XamlServiceProvider val37 = new XamlServiceProvider();
|
||||
Type? typeFromHandle = typeof(IProvideValueTarget);
|
||||
object[] array = new object[0 + 2];
|
||||
array[0] = val3;
|
||||
array[1] = detailPage;
|
||||
SimpleValueTargetProvider val38 = new SimpleValueTargetProvider(array, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[3] { val35, val35, val35 }, false);
|
||||
object obj = (object)val38;
|
||||
val37.Add(typeFromHandle, (object)val38);
|
||||
val37.Add(typeof(IReferenceProvider), obj);
|
||||
val37.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(6, 14)));
|
||||
object light = val36.ProvideValue((IServiceProvider)val37);
|
||||
val3.Light = light;
|
||||
val2.Key = "PageBackgroundDark";
|
||||
StaticResourceExtension val39 = new StaticResourceExtension
|
||||
{
|
||||
Key = "PageBackgroundDark"
|
||||
};
|
||||
XamlServiceProvider val40 = new XamlServiceProvider();
|
||||
Type? typeFromHandle2 = typeof(IProvideValueTarget);
|
||||
object[] array2 = new object[0 + 2];
|
||||
array2[0] = val3;
|
||||
array2[1] = detailPage;
|
||||
SimpleValueTargetProvider val41 = new SimpleValueTargetProvider(array2, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[3] { val35, val35, val35 }, false);
|
||||
object obj2 = (object)val41;
|
||||
val40.Add(typeFromHandle2, (object)val41);
|
||||
val40.Add(typeof(IReferenceProvider), obj2);
|
||||
val40.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(6, 14)));
|
||||
object dark = val39.ProvideValue((IServiceProvider)val40);
|
||||
val3.Dark = dark;
|
||||
XamlServiceProvider val42 = new XamlServiceProvider();
|
||||
val42.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)detailPage, (object)VisualElement.BackgroundColorProperty));
|
||||
val42.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(6, 14)));
|
||||
BindingBase val43 = ((IMarkupExtension<BindingBase>)(object)val3).ProvideValue((IServiceProvider)val42);
|
||||
((BindableObject)detailPage).SetBinding(VisualElement.BackgroundColorProperty, val43);
|
||||
((BindableObject)val34).SetValue(Layout.PaddingProperty, (object)new Thickness(30.0));
|
||||
((BindableObject)val34).SetValue(StackBase.SpacingProperty, (object)20.0);
|
||||
((BindableObject)val34).SetValue(View.VerticalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val5).SetValue(Frame.CornerRadiusProperty, (object)50f);
|
||||
((BindableObject)val5).SetValue(VisualElement.WidthRequestProperty, (object)80.0);
|
||||
((BindableObject)val5).SetValue(VisualElement.HeightRequestProperty, (object)80.0);
|
||||
((BindableObject)val5).SetValue(View.HorizontalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val5).SetValue(Layout.PaddingProperty, (object)new Thickness(0.0));
|
||||
((BindableObject)val5).SetValue(VisualElement.BackgroundColorProperty, (object)new Color(52f / 85f, 13f / 85f, 0.6901961f, 1f));
|
||||
((BindableObject)val4).SetValue(Label.TextProperty, (object)"→");
|
||||
((BindableObject)val4).SetValue(Label.FontSizeProperty, (object)32.0);
|
||||
((BindableObject)val4).SetValue(Label.TextColorProperty, (object)Colors.White);
|
||||
((BindableObject)val4).SetValue(View.HorizontalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val4).SetValue(View.VerticalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val5).SetValue(ContentView.ContentProperty, (object)val4);
|
||||
((Layout)val34).Children.Add((IView)(object)val5);
|
||||
((BindableObject)val9).SetValue(Label.TextProperty, (object)"Detail Page");
|
||||
((BindableObject)val9).SetValue(Label.FontSizeProperty, (object)28.0);
|
||||
((BindableObject)val9).SetValue(Label.FontAttributesProperty, (object)(FontAttributes)1);
|
||||
((BindableObject)val9).SetValue(View.HorizontalOptionsProperty, (object)LayoutOptions.Center);
|
||||
val6.Key = "TextPrimaryLight";
|
||||
StaticResourceExtension val44 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryLight"
|
||||
};
|
||||
XamlServiceProvider val45 = new XamlServiceProvider();
|
||||
Type? typeFromHandle3 = typeof(IProvideValueTarget);
|
||||
object[] array3 = new object[0 + 4];
|
||||
array3[0] = val8;
|
||||
array3[1] = val9;
|
||||
array3[2] = val34;
|
||||
array3[3] = detailPage;
|
||||
SimpleValueTargetProvider val46 = new SimpleValueTargetProvider(array3, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[5] { val35, val35, val35, val35, val35 }, false);
|
||||
object obj3 = (object)val46;
|
||||
val45.Add(typeFromHandle3, (object)val46);
|
||||
val45.Add(typeof(IReferenceProvider), obj3);
|
||||
val45.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(17, 16)));
|
||||
object light2 = val44.ProvideValue((IServiceProvider)val45);
|
||||
val8.Light = light2;
|
||||
val7.Key = "TextPrimaryDark";
|
||||
StaticResourceExtension val47 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryDark"
|
||||
};
|
||||
XamlServiceProvider val48 = new XamlServiceProvider();
|
||||
Type? typeFromHandle4 = typeof(IProvideValueTarget);
|
||||
object[] array4 = new object[0 + 4];
|
||||
array4[0] = val8;
|
||||
array4[1] = val9;
|
||||
array4[2] = val34;
|
||||
array4[3] = detailPage;
|
||||
SimpleValueTargetProvider val49 = new SimpleValueTargetProvider(array4, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[5] { val35, val35, val35, val35, val35 }, false);
|
||||
object obj4 = (object)val49;
|
||||
val48.Add(typeFromHandle4, (object)val49);
|
||||
val48.Add(typeof(IReferenceProvider), obj4);
|
||||
val48.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(17, 16)));
|
||||
object dark2 = val47.ProvideValue((IServiceProvider)val48);
|
||||
val8.Dark = dark2;
|
||||
XamlServiceProvider val50 = new XamlServiceProvider();
|
||||
val50.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val9, (object)Label.TextColorProperty));
|
||||
val50.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(17, 16)));
|
||||
BindingBase val51 = ((IMarkupExtension<BindingBase>)(object)val8).ProvideValue((IServiceProvider)val50);
|
||||
((BindableObject)val9).SetBinding(Label.TextColorProperty, val51);
|
||||
((Layout)val34).Children.Add((IView)(object)val9);
|
||||
((BindableObject)val13).SetValue(Label.TextProperty, (object)"This page was pushed onto the navigation stack.");
|
||||
((BindableObject)val13).SetValue(Label.FontSizeProperty, (object)16.0);
|
||||
((BindableObject)val13).SetValue(View.HorizontalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val13).SetValue(Label.HorizontalTextAlignmentProperty, (object)(TextAlignment)1);
|
||||
val10.Key = "TextSecondaryLight";
|
||||
StaticResourceExtension val52 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextSecondaryLight"
|
||||
};
|
||||
XamlServiceProvider val53 = new XamlServiceProvider();
|
||||
Type? typeFromHandle5 = typeof(IProvideValueTarget);
|
||||
object[] array5 = new object[0 + 4];
|
||||
array5[0] = val12;
|
||||
array5[1] = val13;
|
||||
array5[2] = val34;
|
||||
array5[3] = detailPage;
|
||||
SimpleValueTargetProvider val54 = new SimpleValueTargetProvider(array5, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[5] { val35, val35, val35, val35, val35 }, false);
|
||||
object obj5 = (object)val54;
|
||||
val53.Add(typeFromHandle5, (object)val54);
|
||||
val53.Add(typeof(IReferenceProvider), obj5);
|
||||
val53.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(21, 16)));
|
||||
object light3 = val52.ProvideValue((IServiceProvider)val53);
|
||||
val12.Light = light3;
|
||||
val11.Key = "TextSecondaryDark";
|
||||
StaticResourceExtension val55 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextSecondaryDark"
|
||||
};
|
||||
XamlServiceProvider val56 = new XamlServiceProvider();
|
||||
Type? typeFromHandle6 = typeof(IProvideValueTarget);
|
||||
object[] array6 = new object[0 + 4];
|
||||
array6[0] = val12;
|
||||
array6[1] = val13;
|
||||
array6[2] = val34;
|
||||
array6[3] = detailPage;
|
||||
SimpleValueTargetProvider val57 = new SimpleValueTargetProvider(array6, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[5] { val35, val35, val35, val35, val35 }, false);
|
||||
object obj6 = (object)val57;
|
||||
val56.Add(typeFromHandle6, (object)val57);
|
||||
val56.Add(typeof(IReferenceProvider), obj6);
|
||||
val56.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(21, 16)));
|
||||
object dark3 = val55.ProvideValue((IServiceProvider)val56);
|
||||
val12.Dark = dark3;
|
||||
XamlServiceProvider val58 = new XamlServiceProvider();
|
||||
val58.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val13, (object)Label.TextColorProperty));
|
||||
val58.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(21, 16)));
|
||||
BindingBase val59 = ((IMarkupExtension<BindingBase>)(object)val12).ProvideValue((IServiceProvider)val58);
|
||||
((BindableObject)val13).SetBinding(Label.TextColorProperty, val59);
|
||||
((Layout)val34).Children.Add((IView)(object)val13);
|
||||
val14.Key = "ThemedFrame";
|
||||
StaticResourceExtension val60 = new StaticResourceExtension
|
||||
{
|
||||
Key = "ThemedFrame"
|
||||
};
|
||||
XamlServiceProvider val61 = new XamlServiceProvider();
|
||||
Type? typeFromHandle7 = typeof(IProvideValueTarget);
|
||||
object[] array7 = new object[0 + 3];
|
||||
array7[0] = val32;
|
||||
array7[1] = val34;
|
||||
array7[2] = detailPage;
|
||||
SimpleValueTargetProvider val62 = new SimpleValueTargetProvider(array7, (object)VisualElement.StyleProperty, (INameScope[])(object)new NameScope[4] { val35, val35, val35, val35 }, false);
|
||||
object obj7 = (object)val62;
|
||||
val61.Add(typeFromHandle7, (object)val62);
|
||||
val61.Add(typeof(IReferenceProvider), obj7);
|
||||
val61.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(23, 16)));
|
||||
object obj8 = val60.ProvideValue((IServiceProvider)val61);
|
||||
((BindableObject)val32).SetValue(VisualElement.StyleProperty, (obj8 == null || !typeof(BindingBase).IsAssignableFrom(obj8.GetType())) ? obj8 : obj8);
|
||||
((BindableObject)val32).SetValue(Frame.CornerRadiusProperty, (object)8f);
|
||||
((BindableObject)val32).SetValue(Layout.PaddingProperty, (object)new Thickness(20.0));
|
||||
((BindableObject)val32).SetValue(View.MarginProperty, (object)new Thickness(0.0, 20.0));
|
||||
((BindableObject)val31).SetValue(StackBase.SpacingProperty, (object)10.0);
|
||||
((BindableObject)val18).SetValue(Label.TextProperty, (object)"Navigation Info");
|
||||
((BindableObject)val18).SetValue(Label.FontSizeProperty, (object)18.0);
|
||||
((BindableObject)val18).SetValue(Label.FontAttributesProperty, (object)(FontAttributes)1);
|
||||
val15.Key = "TextPrimaryLight";
|
||||
StaticResourceExtension val63 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryLight"
|
||||
};
|
||||
XamlServiceProvider val64 = new XamlServiceProvider();
|
||||
Type? typeFromHandle8 = typeof(IProvideValueTarget);
|
||||
object[] array8 = new object[0 + 6];
|
||||
array8[0] = val17;
|
||||
array8[1] = val18;
|
||||
array8[2] = val31;
|
||||
array8[3] = val32;
|
||||
array8[4] = val34;
|
||||
array8[5] = detailPage;
|
||||
SimpleValueTargetProvider val65 = new SimpleValueTargetProvider(array8, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj9 = (object)val65;
|
||||
val64.Add(typeFromHandle8, (object)val65);
|
||||
val64.Add(typeof(IReferenceProvider), obj9);
|
||||
val64.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(26, 24)));
|
||||
object light4 = val63.ProvideValue((IServiceProvider)val64);
|
||||
val17.Light = light4;
|
||||
val16.Key = "TextPrimaryDark";
|
||||
StaticResourceExtension val66 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryDark"
|
||||
};
|
||||
XamlServiceProvider val67 = new XamlServiceProvider();
|
||||
Type? typeFromHandle9 = typeof(IProvideValueTarget);
|
||||
object[] array9 = new object[0 + 6];
|
||||
array9[0] = val17;
|
||||
array9[1] = val18;
|
||||
array9[2] = val31;
|
||||
array9[3] = val32;
|
||||
array9[4] = val34;
|
||||
array9[5] = detailPage;
|
||||
SimpleValueTargetProvider val68 = new SimpleValueTargetProvider(array9, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj10 = (object)val68;
|
||||
val67.Add(typeFromHandle9, (object)val68);
|
||||
val67.Add(typeof(IReferenceProvider), obj10);
|
||||
val67.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(26, 24)));
|
||||
object dark4 = val66.ProvideValue((IServiceProvider)val67);
|
||||
val17.Dark = dark4;
|
||||
XamlServiceProvider val69 = new XamlServiceProvider();
|
||||
val69.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val18, (object)Label.TextColorProperty));
|
||||
val69.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(26, 24)));
|
||||
BindingBase val70 = ((IMarkupExtension<BindingBase>)(object)val17).ProvideValue((IServiceProvider)val69);
|
||||
((BindableObject)val18).SetBinding(Label.TextColorProperty, val70);
|
||||
((Layout)val31).Children.Add((IView)(object)val18);
|
||||
((BindableObject)val22).SetValue(Label.TextProperty, (object)"• Use Shell.GoToAsync() to navigate");
|
||||
((BindableObject)val22).SetValue(Label.FontSizeProperty, (object)14.0);
|
||||
val19.Key = "TextPrimaryLight";
|
||||
StaticResourceExtension val71 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryLight"
|
||||
};
|
||||
XamlServiceProvider val72 = new XamlServiceProvider();
|
||||
Type? typeFromHandle10 = typeof(IProvideValueTarget);
|
||||
object[] array10 = new object[0 + 6];
|
||||
array10[0] = val21;
|
||||
array10[1] = val22;
|
||||
array10[2] = val31;
|
||||
array10[3] = val32;
|
||||
array10[4] = val34;
|
||||
array10[5] = detailPage;
|
||||
SimpleValueTargetProvider val73 = new SimpleValueTargetProvider(array10, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj11 = (object)val73;
|
||||
val72.Add(typeFromHandle10, (object)val73);
|
||||
val72.Add(typeof(IReferenceProvider), obj11);
|
||||
val72.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(28, 24)));
|
||||
object light5 = val71.ProvideValue((IServiceProvider)val72);
|
||||
val21.Light = light5;
|
||||
val20.Key = "TextPrimaryDark";
|
||||
StaticResourceExtension val74 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryDark"
|
||||
};
|
||||
XamlServiceProvider val75 = new XamlServiceProvider();
|
||||
Type? typeFromHandle11 = typeof(IProvideValueTarget);
|
||||
object[] array11 = new object[0 + 6];
|
||||
array11[0] = val21;
|
||||
array11[1] = val22;
|
||||
array11[2] = val31;
|
||||
array11[3] = val32;
|
||||
array11[4] = val34;
|
||||
array11[5] = detailPage;
|
||||
SimpleValueTargetProvider val76 = new SimpleValueTargetProvider(array11, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj12 = (object)val76;
|
||||
val75.Add(typeFromHandle11, (object)val76);
|
||||
val75.Add(typeof(IReferenceProvider), obj12);
|
||||
val75.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(28, 24)));
|
||||
object dark5 = val74.ProvideValue((IServiceProvider)val75);
|
||||
val21.Dark = dark5;
|
||||
XamlServiceProvider val77 = new XamlServiceProvider();
|
||||
val77.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val22, (object)Label.TextColorProperty));
|
||||
val77.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(28, 24)));
|
||||
BindingBase val78 = ((IMarkupExtension<BindingBase>)(object)val21).ProvideValue((IServiceProvider)val77);
|
||||
((BindableObject)val22).SetBinding(Label.TextColorProperty, val78);
|
||||
((Layout)val31).Children.Add((IView)(object)val22);
|
||||
((BindableObject)val26).SetValue(Label.TextProperty, (object)"• Use the back button to return");
|
||||
((BindableObject)val26).SetValue(Label.FontSizeProperty, (object)14.0);
|
||||
val23.Key = "TextPrimaryLight";
|
||||
StaticResourceExtension val79 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryLight"
|
||||
};
|
||||
XamlServiceProvider val80 = new XamlServiceProvider();
|
||||
Type? typeFromHandle12 = typeof(IProvideValueTarget);
|
||||
object[] array12 = new object[0 + 6];
|
||||
array12[0] = val25;
|
||||
array12[1] = val26;
|
||||
array12[2] = val31;
|
||||
array12[3] = val32;
|
||||
array12[4] = val34;
|
||||
array12[5] = detailPage;
|
||||
SimpleValueTargetProvider val81 = new SimpleValueTargetProvider(array12, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj13 = (object)val81;
|
||||
val80.Add(typeFromHandle12, (object)val81);
|
||||
val80.Add(typeof(IReferenceProvider), obj13);
|
||||
val80.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(30, 24)));
|
||||
object light6 = val79.ProvideValue((IServiceProvider)val80);
|
||||
val25.Light = light6;
|
||||
val24.Key = "TextPrimaryDark";
|
||||
StaticResourceExtension val82 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryDark"
|
||||
};
|
||||
XamlServiceProvider val83 = new XamlServiceProvider();
|
||||
Type? typeFromHandle13 = typeof(IProvideValueTarget);
|
||||
object[] array13 = new object[0 + 6];
|
||||
array13[0] = val25;
|
||||
array13[1] = val26;
|
||||
array13[2] = val31;
|
||||
array13[3] = val32;
|
||||
array13[4] = val34;
|
||||
array13[5] = detailPage;
|
||||
SimpleValueTargetProvider val84 = new SimpleValueTargetProvider(array13, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj14 = (object)val84;
|
||||
val83.Add(typeFromHandle13, (object)val84);
|
||||
val83.Add(typeof(IReferenceProvider), obj14);
|
||||
val83.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(30, 24)));
|
||||
object dark6 = val82.ProvideValue((IServiceProvider)val83);
|
||||
val25.Dark = dark6;
|
||||
XamlServiceProvider val85 = new XamlServiceProvider();
|
||||
val85.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val26, (object)Label.TextColorProperty));
|
||||
val85.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(30, 24)));
|
||||
BindingBase val86 = ((IMarkupExtension<BindingBase>)(object)val25).ProvideValue((IServiceProvider)val85);
|
||||
((BindableObject)val26).SetBinding(Label.TextColorProperty, val86);
|
||||
((Layout)val31).Children.Add((IView)(object)val26);
|
||||
((BindableObject)val30).SetValue(Label.TextProperty, (object)"• Or tap 'Go Back' below");
|
||||
((BindableObject)val30).SetValue(Label.FontSizeProperty, (object)14.0);
|
||||
val27.Key = "TextPrimaryLight";
|
||||
StaticResourceExtension val87 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryLight"
|
||||
};
|
||||
XamlServiceProvider val88 = new XamlServiceProvider();
|
||||
Type? typeFromHandle14 = typeof(IProvideValueTarget);
|
||||
object[] array14 = new object[0 + 6];
|
||||
array14[0] = val29;
|
||||
array14[1] = val30;
|
||||
array14[2] = val31;
|
||||
array14[3] = val32;
|
||||
array14[4] = val34;
|
||||
array14[5] = detailPage;
|
||||
SimpleValueTargetProvider val89 = new SimpleValueTargetProvider(array14, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Light"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj15 = (object)val89;
|
||||
val88.Add(typeFromHandle14, (object)val89);
|
||||
val88.Add(typeof(IReferenceProvider), obj15);
|
||||
val88.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(32, 24)));
|
||||
object light7 = val87.ProvideValue((IServiceProvider)val88);
|
||||
val29.Light = light7;
|
||||
val28.Key = "TextPrimaryDark";
|
||||
StaticResourceExtension val90 = new StaticResourceExtension
|
||||
{
|
||||
Key = "TextPrimaryDark"
|
||||
};
|
||||
XamlServiceProvider val91 = new XamlServiceProvider();
|
||||
Type? typeFromHandle15 = typeof(IProvideValueTarget);
|
||||
object[] array15 = new object[0 + 6];
|
||||
array15[0] = val29;
|
||||
array15[1] = val30;
|
||||
array15[2] = val31;
|
||||
array15[3] = val32;
|
||||
array15[4] = val34;
|
||||
array15[5] = detailPage;
|
||||
SimpleValueTargetProvider val92 = new SimpleValueTargetProvider(array15, (object)typeof(AppThemeBindingExtension).GetRuntimeProperty("Dark"), (INameScope[])(object)new NameScope[7] { val35, val35, val35, val35, val35, val35, val35 }, false);
|
||||
object obj16 = (object)val92;
|
||||
val91.Add(typeFromHandle15, (object)val92);
|
||||
val91.Add(typeof(IReferenceProvider), obj16);
|
||||
val91.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(32, 24)));
|
||||
object dark7 = val90.ProvideValue((IServiceProvider)val91);
|
||||
val29.Dark = dark7;
|
||||
XamlServiceProvider val93 = new XamlServiceProvider();
|
||||
val93.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val30, (object)Label.TextColorProperty));
|
||||
val93.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(32, 24)));
|
||||
BindingBase val94 = ((IMarkupExtension<BindingBase>)(object)val29).ProvideValue((IServiceProvider)val93);
|
||||
((BindableObject)val30).SetBinding(Label.TextColorProperty, val94);
|
||||
((Layout)val31).Children.Add((IView)(object)val30);
|
||||
((BindableObject)val32).SetValue(ContentView.ContentProperty, (object)val31);
|
||||
((Layout)val34).Children.Add((IView)(object)val32);
|
||||
((BindableObject)val33).SetValue(Button.TextProperty, (object)"Go Back");
|
||||
val33.Clicked += detailPage.OnGoBackClicked;
|
||||
((BindableObject)val33).SetValue(VisualElement.BackgroundColorProperty, (object)new Color(52f / 85f, 13f / 85f, 0.6901961f, 1f));
|
||||
((BindableObject)val33).SetValue(Button.TextColorProperty, (object)Colors.White);
|
||||
((BindableObject)val33).SetValue(View.HorizontalOptionsProperty, (object)LayoutOptions.Center);
|
||||
((BindableObject)val33).SetValue(Button.PaddingProperty, (object)new Thickness(30.0, 10.0));
|
||||
((Layout)val34).Children.Add((IView)(object)val33);
|
||||
((BindableObject)detailPage).SetValue(ContentPage.ContentProperty, (object)val34);
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
128
TodoApp/App.cs
128
TodoApp/App.cs
@@ -1,21 +1,123 @@
|
||||
// TodoApp - Main Application with NavigationPage
|
||||
|
||||
using System.CodeDom.Compiler;
|
||||
using Microsoft.Maui.ApplicationModel;
|
||||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Controls.Internals;
|
||||
using Microsoft.Maui.Controls.Xaml;
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
namespace TodoApp;
|
||||
|
||||
[XamlFilePath("App.xaml")]
|
||||
public class App : Application
|
||||
{
|
||||
public static NavigationPage? NavigationPage { get; private set; }
|
||||
public App()
|
||||
{
|
||||
//IL_0019: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_001e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_002e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_003e: Expected O, but got Unknown
|
||||
InitializeComponent();
|
||||
((Application)this).UserAppTheme = (AppTheme)1;
|
||||
((Application)this).MainPage = (Page)new NavigationPage((Page)(object)new TodoListPage())
|
||||
{
|
||||
BarBackgroundColor = Color.FromArgb("#5C6BC0"),
|
||||
BarTextColor = Colors.White
|
||||
};
|
||||
}
|
||||
|
||||
public App()
|
||||
{
|
||||
NavigationPage = new NavigationPage(new TodoListPage())
|
||||
{
|
||||
Title = "OpenMaui Todo App",
|
||||
BarBackgroundColor = Color.FromArgb("#2196F3"),
|
||||
BarTextColor = Colors.White
|
||||
};
|
||||
MainPage = NavigationPage;
|
||||
}
|
||||
[GeneratedCode("Microsoft.Maui.Controls.SourceGen", "1.0.0.0")]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_001b: Expected O, but got Unknown
|
||||
//IL_002f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0035: Expected O, but got Unknown
|
||||
//IL_0049: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_004f: Expected O, but got Unknown
|
||||
//IL_0063: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0069: Expected O, but got Unknown
|
||||
//IL_007d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0084: Expected O, but got Unknown
|
||||
//IL_0098: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_009f: Expected O, but got Unknown
|
||||
//IL_00b3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00ba: Expected O, but got Unknown
|
||||
//IL_00ce: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00d5: Expected O, but got Unknown
|
||||
//IL_00e9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00f0: Expected O, but got Unknown
|
||||
//IL_0104: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_010b: Expected O, but got Unknown
|
||||
//IL_011f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0126: Expected O, but got Unknown
|
||||
//IL_013a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0141: Expected O, but got Unknown
|
||||
//IL_0155: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_015c: Expected O, but got Unknown
|
||||
//IL_0170: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0177: Expected O, but got Unknown
|
||||
//IL_018b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0192: Expected O, but got Unknown
|
||||
//IL_01a6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ad: Expected O, but got Unknown
|
||||
//IL_01c1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01c8: Expected O, but got Unknown
|
||||
//IL_01dc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01e3: Expected O, but got Unknown
|
||||
//IL_0206: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_020d: Expected O, but got Unknown
|
||||
//IL_021a: Unknown result type (might be due to invalid IL or missing references)
|
||||
Color val = new Color(0.36078432f, 0.41960785f, 64f / 85f, 1f);
|
||||
Color val2 = new Color(19f / 85f, 0.28627452f, 57f / 85f, 1f);
|
||||
Color val3 = new Color(0.14901961f, 0.6509804f, 0.6039216f, 1f);
|
||||
Color val4 = new Color(0.9372549f, 0.3254902f, 16f / 51f, 1f);
|
||||
Color val5 = new Color(49f / 51f, 0.96862745f, 50f / 51f, 1f);
|
||||
Color val6 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val7 = new Color(11f / 85f, 11f / 85f, 11f / 85f, 1f);
|
||||
Color val8 = new Color(39f / 85f, 39f / 85f, 39f / 85f, 1f);
|
||||
Color val9 = new Color(0.8784314f, 0.8784314f, 0.8784314f, 1f);
|
||||
Color val10 = new Color(6f / 85f, 6f / 85f, 6f / 85f, 1f);
|
||||
Color val11 = new Color(0.11764706f, 0.11764706f, 0.11764706f, 1f);
|
||||
Color val12 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val13 = new Color(0.6901961f, 0.6901961f, 0.6901961f, 1f);
|
||||
Color val14 = new Color(22f / 85f, 22f / 85f, 22f / 85f, 1f);
|
||||
Color val15 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val16 = new Color(0.1764706f, 0.1764706f, 0.1764706f, 1f);
|
||||
Color val17 = new Color(0.8784314f, 0.8784314f, 0.8784314f, 1f);
|
||||
Color val18 = new Color(22f / 85f, 22f / 85f, 22f / 85f, 1f);
|
||||
string text = "\ue145";
|
||||
string text2 = "\ue872";
|
||||
string text3 = "\ue161";
|
||||
string text4 = "\ue876";
|
||||
string text5 = "\ue3c9";
|
||||
ResourceDictionary val19 = new ResourceDictionary();
|
||||
App app;
|
||||
NameScope val20 = (NameScope)(((object)NameScope.GetNameScope((BindableObject)(object)(app = this))) ?? ((object)new NameScope()));
|
||||
NameScope.SetNameScope((BindableObject)(object)app, (INameScope)(object)val20);
|
||||
((Application)app).Resources = val19;
|
||||
val19.Add("PrimaryColor", (object)val);
|
||||
val19.Add("PrimaryDarkColor", (object)val2);
|
||||
val19.Add("AccentColor", (object)val3);
|
||||
val19.Add("DangerColor", (object)val4);
|
||||
val19.Add("PageBackgroundLight", (object)val5);
|
||||
val19.Add("CardBackgroundLight", (object)val6);
|
||||
val19.Add("TextPrimaryLight", (object)val7);
|
||||
val19.Add("TextSecondaryLight", (object)val8);
|
||||
val19.Add("BorderLight", (object)val9);
|
||||
val19.Add("PageBackgroundDark", (object)val10);
|
||||
val19.Add("CardBackgroundDark", (object)val11);
|
||||
val19.Add("TextPrimaryDark", (object)val12);
|
||||
val19.Add("TextSecondaryDark", (object)val13);
|
||||
val19.Add("BorderDark", (object)val14);
|
||||
val19.Add("InputBackgroundLight", (object)val15);
|
||||
val19.Add("InputBackgroundDark", (object)val16);
|
||||
val19.Add("CheckboxUncheckedLight", (object)val17);
|
||||
val19.Add("CheckboxUncheckedDark", (object)val18);
|
||||
val19.Add("IconAdd", (object)text);
|
||||
val19.Add("IconDelete", (object)text2);
|
||||
val19.Add("IconSave", (object)text3);
|
||||
val19.Add("IconCheck", (object)text4);
|
||||
val19.Add("IconEdit", (object)text5);
|
||||
((Application)app).Resources = val19;
|
||||
}
|
||||
}
|
||||
|
||||
72
TodoApp/CompletedToColorConverter.cs
Normal file
72
TodoApp/CompletedToColorConverter.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
namespace TodoApp;
|
||||
|
||||
public class CompletedToColorConverter : IValueConverter
|
||||
{
|
||||
private static readonly Color AccentColor = Color.FromArgb("#26A69A");
|
||||
|
||||
private static readonly Color CompletedColor = Color.FromArgb("#9E9E9E");
|
||||
|
||||
private static readonly Color TextPrimaryLight = Color.FromArgb("#212121");
|
||||
|
||||
private static readonly Color TextSecondaryLight = Color.FromArgb("#757575");
|
||||
|
||||
private static readonly Color TextPrimaryDark = Color.FromArgb("#FFFFFF");
|
||||
|
||||
private static readonly Color TextSecondaryDark = Color.FromArgb("#B0B0B0");
|
||||
|
||||
public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
{
|
||||
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0038: Invalid comparison between Unknown and I4
|
||||
bool flag = default(bool);
|
||||
int num;
|
||||
if (value is bool)
|
||||
{
|
||||
flag = (bool)value;
|
||||
num = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
num = 0;
|
||||
}
|
||||
bool flag2 = (byte)((uint)num & (flag ? 1u : 0u)) != 0;
|
||||
string text = (parameter as string) ?? "";
|
||||
Application current = Application.Current;
|
||||
bool flag3 = current != null && (int)current.RequestedTheme == 2;
|
||||
if (text == "indicator")
|
||||
{
|
||||
if (!flag2)
|
||||
{
|
||||
return AccentColor;
|
||||
}
|
||||
return CompletedColor;
|
||||
}
|
||||
if (flag2)
|
||||
{
|
||||
return CompletedColor;
|
||||
}
|
||||
if (text == "notes")
|
||||
{
|
||||
if (!flag3)
|
||||
{
|
||||
return TextSecondaryLight;
|
||||
}
|
||||
return TextSecondaryDark;
|
||||
}
|
||||
if (!flag3)
|
||||
{
|
||||
return TextPrimaryLight;
|
||||
}
|
||||
return TextPrimaryDark;
|
||||
}
|
||||
|
||||
public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
29
TodoApp/CompletedToOpacityConverter.cs
Normal file
29
TodoApp/CompletedToOpacityConverter.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using Microsoft.Maui.Controls;
|
||||
|
||||
namespace TodoApp;
|
||||
|
||||
public class CompletedToOpacityConverter : 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 (((uint)num & (flag ? 1u : 0u)) != 0) ? 0.7 : 1.0;
|
||||
}
|
||||
|
||||
public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
30
TodoApp/CompletedToTextDecorationsConverter.cs
Normal file
30
TodoApp/CompletedToTextDecorationsConverter.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
// MauiProgram.cs - MAUI app configuration
|
||||
|
||||
using Microsoft.Maui.Controls.Hosting;
|
||||
using Microsoft.Maui.Hosting;
|
||||
using Microsoft.Maui.Platform.Linux.Hosting;
|
||||
|
||||
@@ -7,16 +6,11 @@ namespace TodoApp;
|
||||
|
||||
public static class MauiProgram
|
||||
{
|
||||
public static MauiApp CreateMauiApp()
|
||||
{
|
||||
var builder = MauiApp.CreateBuilder();
|
||||
|
||||
// Configure the app
|
||||
builder.UseMauiApp<App>();
|
||||
|
||||
// Add Linux platform support with all handlers
|
||||
builder.UseLinux();
|
||||
|
||||
return builder.Build();
|
||||
}
|
||||
public static MauiApp CreateMauiApp()
|
||||
{
|
||||
MauiAppBuilder obj = MauiApp.CreateBuilder(true);
|
||||
AppHostBuilderExtensions.UseMauiApp<App>(obj);
|
||||
obj.UseLinux();
|
||||
return obj.Build();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,81 +1,108 @@
|
||||
// TodoItem - Data model for a todo item
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace TodoApp;
|
||||
|
||||
public class TodoItem : INotifyPropertyChanged
|
||||
{
|
||||
private string _title = "";
|
||||
private string _notes = "";
|
||||
private bool _isCompleted;
|
||||
private DateTime _dueDate;
|
||||
private string _title = "";
|
||||
|
||||
public int Id { get; set; }
|
||||
private string _notes = "";
|
||||
|
||||
/// <summary>
|
||||
/// Index in the collection for alternating row colors.
|
||||
/// </summary>
|
||||
public int Index { get; set; }
|
||||
private bool _isCompleted;
|
||||
|
||||
public string Title
|
||||
{
|
||||
get => _title;
|
||||
set
|
||||
{
|
||||
if (_title != value)
|
||||
{
|
||||
_title = value;
|
||||
OnPropertyChanged(nameof(Title));
|
||||
}
|
||||
}
|
||||
}
|
||||
private DateTime _dueDate;
|
||||
|
||||
public string Notes
|
||||
{
|
||||
get => _notes;
|
||||
set
|
||||
{
|
||||
if (_notes != value)
|
||||
{
|
||||
_notes = value;
|
||||
OnPropertyChanged(nameof(Notes));
|
||||
}
|
||||
}
|
||||
}
|
||||
private int _index;
|
||||
|
||||
public bool IsCompleted
|
||||
{
|
||||
get => _isCompleted;
|
||||
set
|
||||
{
|
||||
if (_isCompleted != value)
|
||||
{
|
||||
_isCompleted = value;
|
||||
OnPropertyChanged(nameof(IsCompleted));
|
||||
}
|
||||
}
|
||||
}
|
||||
public int Id { get; set; }
|
||||
|
||||
public DateTime DueDate
|
||||
{
|
||||
get => _dueDate;
|
||||
set
|
||||
{
|
||||
if (_dueDate != value)
|
||||
{
|
||||
_dueDate = value;
|
||||
OnPropertyChanged(nameof(DueDate));
|
||||
}
|
||||
}
|
||||
}
|
||||
public int Index
|
||||
{
|
||||
get
|
||||
{
|
||||
return _index;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_index != value)
|
||||
{
|
||||
_index = value;
|
||||
OnPropertyChanged("Index");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime CreatedAt { get; set; } = DateTime.Now;
|
||||
public string Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return _title;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_title != value)
|
||||
{
|
||||
_title = value;
|
||||
OnPropertyChanged("Title");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
public string Notes
|
||||
{
|
||||
get
|
||||
{
|
||||
return _notes;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_notes != value)
|
||||
{
|
||||
_notes = value;
|
||||
OnPropertyChanged("Notes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
public bool IsCompleted
|
||||
{
|
||||
get
|
||||
{
|
||||
return _isCompleted;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_isCompleted != value)
|
||||
{
|
||||
_isCompleted = value;
|
||||
OnPropertyChanged("IsCompleted");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime DueDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return _dueDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_dueDate != value)
|
||||
{
|
||||
_dueDate = value;
|
||||
OnPropertyChanged("DueDate");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime CreatedAt { get; set; } = DateTime.Now;
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
|
||||
protected void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,61 +1,59 @@
|
||||
// TodoService - Manages todo items
|
||||
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
|
||||
namespace TodoApp;
|
||||
|
||||
public class TodoService
|
||||
{
|
||||
private static TodoService? _instance;
|
||||
public static TodoService Instance => _instance ??= new TodoService();
|
||||
private static TodoService? _instance;
|
||||
|
||||
private int _nextId = 1;
|
||||
private int _nextId = 1;
|
||||
|
||||
public ObservableCollection<TodoItem> Todos { get; } = new();
|
||||
public static TodoService Instance => _instance ?? (_instance = new TodoService());
|
||||
|
||||
private TodoService()
|
||||
{
|
||||
// Add sample todos with varying lengths to test MaxLines=2 with ellipsis
|
||||
AddTodo("Learn OpenMaui Linux", "Explore the SkiaSharp-based rendering engine for .NET MAUI on Linux desktop. This is a very long description that should wrap to multiple lines and demonstrate the ellipsis truncation feature when MaxLines is set to 2.");
|
||||
AddTodo("Build amazing apps", "Create cross-platform applications that run on Windows, macOS, iOS, Android, and Linux! With OpenMaui, you can write once and deploy everywhere.");
|
||||
AddTodo("Share with the community", "Contribute to the open-source project and help others build great Linux apps. Join our growing community of developers who are passionate about bringing .NET MAUI to Linux.");
|
||||
}
|
||||
public ObservableCollection<TodoItem> Todos { get; } = new ObservableCollection<TodoItem>();
|
||||
|
||||
public TodoItem AddTodo(string title, string notes = "")
|
||||
{
|
||||
var todo = new TodoItem
|
||||
{
|
||||
Id = _nextId++,
|
||||
Index = Todos.Count, // Set index for alternating row colors
|
||||
Title = title,
|
||||
Notes = notes,
|
||||
DueDate = DateTime.Today.AddDays(7)
|
||||
};
|
||||
Todos.Add(todo);
|
||||
return todo;
|
||||
}
|
||||
public int CompletedCount => Todos.Count((TodoItem t) => t.IsCompleted);
|
||||
|
||||
/// <summary>
|
||||
/// Refreshes the Index property on all items for alternating row colors.
|
||||
/// </summary>
|
||||
public void RefreshIndexes()
|
||||
{
|
||||
for (int i = 0; i < Todos.Count; i++)
|
||||
{
|
||||
Todos[i].Index = i;
|
||||
}
|
||||
}
|
||||
public int TotalCount => Todos.Count;
|
||||
|
||||
public TodoItem? GetTodo(int id)
|
||||
{
|
||||
return Todos.FirstOrDefault(t => t.Id == id);
|
||||
}
|
||||
private TodoService()
|
||||
{
|
||||
AddTodo("Learn OpenMaui Linux", "Explore the SkiaSharp-based rendering engine for .NET MAUI on Linux desktop. This is a very long description that should wrap to multiple lines and demonstrate the ellipsis truncation feature when MaxLines is set to 2.");
|
||||
AddTodo("Build amazing apps", "Create cross-platform applications that run on Windows, macOS, iOS, Android, and Linux! With OpenMaui, you can write once and deploy everywhere.");
|
||||
AddTodo("Share with the community", "Contribute to the open-source project and help others build great Linux apps. Join our growing community of developers who are passionate about bringing .NET MAUI to Linux.");
|
||||
}
|
||||
|
||||
public void DeleteTodo(TodoItem todo)
|
||||
{
|
||||
Todos.Remove(todo);
|
||||
}
|
||||
public TodoItem AddTodo(string title, string notes = "")
|
||||
{
|
||||
TodoItem todoItem = new TodoItem
|
||||
{
|
||||
Id = _nextId++,
|
||||
Index = Todos.Count,
|
||||
Title = title,
|
||||
Notes = notes,
|
||||
DueDate = DateTime.Today.AddDays(7.0)
|
||||
};
|
||||
Todos.Add(todoItem);
|
||||
return todoItem;
|
||||
}
|
||||
|
||||
public int CompletedCount => Todos.Count(t => t.IsCompleted);
|
||||
public int TotalCount => Todos.Count;
|
||||
public void RefreshIndexes()
|
||||
{
|
||||
for (int i = 0; i < Todos.Count; i++)
|
||||
{
|
||||
Todos[i].Index = i;
|
||||
}
|
||||
}
|
||||
|
||||
public TodoItem? GetTodo(int id)
|
||||
{
|
||||
return Todos.FirstOrDefault((TodoItem t) => t.Id == id);
|
||||
}
|
||||
|
||||
public void DeleteTodo(TodoItem todo)
|
||||
{
|
||||
Todos.Remove(todo);
|
||||
}
|
||||
}
|
||||
|
||||
555
XamlBrowser/BrowserApp.cs
Normal file
555
XamlBrowser/BrowserApp.cs
Normal file
@@ -0,0 +1,555 @@
|
||||
using System;
|
||||
using System.CodeDom.Compiler;
|
||||
using System.Reflection;
|
||||
using System.Xml;
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.ApplicationModel;
|
||||
using Microsoft.Maui.Controls;
|
||||
using Microsoft.Maui.Controls.Internals;
|
||||
using Microsoft.Maui.Controls.Xaml;
|
||||
using Microsoft.Maui.Controls.Xaml.Internals;
|
||||
using Microsoft.Maui.Graphics;
|
||||
|
||||
namespace XamlBrowser;
|
||||
|
||||
[XamlFilePath("App.xaml")]
|
||||
public class BrowserApp : Application
|
||||
{
|
||||
public BrowserApp()
|
||||
{
|
||||
InitializeComponent();
|
||||
((Application)this).UserAppTheme = (AppTheme)2;
|
||||
((Application)this).MainPage = (Page)(object)new MainPage();
|
||||
}
|
||||
|
||||
public void ToggleTheme()
|
||||
{
|
||||
//IL_0002: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0008: Invalid comparison between Unknown and I4
|
||||
((Application)this).UserAppTheme = (AppTheme)(((int)((Application)this).UserAppTheme != 1) ? 1 : 2);
|
||||
}
|
||||
|
||||
[GeneratedCode("Microsoft.Maui.Controls.SourceGen", "1.0.0.0")]
|
||||
private void InitializeComponent()
|
||||
{
|
||||
//IL_0015: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_001c: Expected O, but got Unknown
|
||||
//IL_0030: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0037: Expected O, but got Unknown
|
||||
//IL_004b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0051: Expected O, but got Unknown
|
||||
//IL_0065: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_006b: Expected O, but got Unknown
|
||||
//IL_007f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0086: Expected O, but got Unknown
|
||||
//IL_009a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00a1: Expected O, but got Unknown
|
||||
//IL_00b5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00bc: Expected O, but got Unknown
|
||||
//IL_00d0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00d7: Expected O, but got Unknown
|
||||
//IL_00eb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_00f2: Expected O, but got Unknown
|
||||
//IL_0106: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_010d: Expected O, but got Unknown
|
||||
//IL_0121: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0128: Expected O, but got Unknown
|
||||
//IL_013c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0143: Expected O, but got Unknown
|
||||
//IL_0157: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_015e: Expected O, but got Unknown
|
||||
//IL_0172: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0179: Expected O, but got Unknown
|
||||
//IL_018d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0194: Expected O, but got Unknown
|
||||
//IL_01a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01af: Expected O, but got Unknown
|
||||
//IL_01c3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ca: Expected O, but got Unknown
|
||||
//IL_01de: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01e5: Expected O, but got Unknown
|
||||
//IL_01e5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01ec: Expected O, but got Unknown
|
||||
//IL_01ec: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01f3: Expected O, but got Unknown
|
||||
//IL_01f3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_01fa: Expected O, but got Unknown
|
||||
//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0201: Expected O, but got Unknown
|
||||
//IL_0201: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0208: Expected O, but got Unknown
|
||||
//IL_0208: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_020f: Expected O, but got Unknown
|
||||
//IL_020f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0216: Expected O, but got Unknown
|
||||
//IL_0216: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_021d: Expected O, but got Unknown
|
||||
//IL_021d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0224: Expected O, but got Unknown
|
||||
//IL_0224: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_022b: Expected O, but got Unknown
|
||||
//IL_022b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0232: Expected O, but got Unknown
|
||||
//IL_0232: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0239: Expected O, but got Unknown
|
||||
//IL_0239: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0240: Expected O, but got Unknown
|
||||
//IL_0240: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0247: Expected O, but got Unknown
|
||||
//IL_0251: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0258: Expected O, but got Unknown
|
||||
//IL_0258: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_025f: Expected O, but got Unknown
|
||||
//IL_025f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0266: Expected O, but got Unknown
|
||||
//IL_0266: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_026d: Expected O, but got Unknown
|
||||
//IL_026d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0274: Expected O, but got Unknown
|
||||
//IL_0274: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_027b: Expected O, but got Unknown
|
||||
//IL_027b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0282: Expected O, but got Unknown
|
||||
//IL_0282: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0289: Expected O, but got Unknown
|
||||
//IL_0289: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0290: Expected O, but got Unknown
|
||||
//IL_0290: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0297: Expected O, but got Unknown
|
||||
//IL_0297: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_029e: Expected O, but got Unknown
|
||||
//IL_02a8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02af: Expected O, but got Unknown
|
||||
//IL_02af: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02b6: Expected O, but got Unknown
|
||||
//IL_02b6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02bd: Expected O, but got Unknown
|
||||
//IL_02bd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02c4: Expected O, but got Unknown
|
||||
//IL_02c4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02cb: Expected O, but got Unknown
|
||||
//IL_02cb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02d2: Expected O, but got Unknown
|
||||
//IL_02d2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02d9: Expected O, but got Unknown
|
||||
//IL_02d9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02e0: Expected O, but got Unknown
|
||||
//IL_02e0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02e7: Expected O, but got Unknown
|
||||
//IL_02e7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02ee: Expected O, but got Unknown
|
||||
//IL_02ee: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02f5: Expected O, but got Unknown
|
||||
//IL_02f5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_02fc: Expected O, but got Unknown
|
||||
//IL_02fc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0303: Expected O, but got Unknown
|
||||
//IL_0303: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_030a: Expected O, but got Unknown
|
||||
//IL_030a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0311: Expected O, but got Unknown
|
||||
//IL_031b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0322: Expected O, but got Unknown
|
||||
//IL_0322: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0329: Expected O, but got Unknown
|
||||
//IL_0329: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0330: Expected O, but got Unknown
|
||||
//IL_0330: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0337: Expected O, but got Unknown
|
||||
//IL_0337: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_033e: Expected O, but got Unknown
|
||||
//IL_033e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0345: Expected O, but got Unknown
|
||||
//IL_0345: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_034c: Expected O, but got Unknown
|
||||
//IL_0356: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_035d: Expected O, but got Unknown
|
||||
//IL_035d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0364: Expected O, but got Unknown
|
||||
//IL_0381: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0388: Expected O, but got Unknown
|
||||
//IL_0388: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_038f: Expected O, but got Unknown
|
||||
//IL_038f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0396: Expected O, but got Unknown
|
||||
//IL_0396: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_039d: Expected O, but got Unknown
|
||||
//IL_039d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03a4: Expected O, but got Unknown
|
||||
//IL_03a4: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03ab: Expected O, but got Unknown
|
||||
//IL_03ab: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03b2: Expected O, but got Unknown
|
||||
//IL_03b2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03b9: Expected O, but got Unknown
|
||||
//IL_03b9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03c0: Expected O, but got Unknown
|
||||
//IL_03c0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03c7: Expected O, but got Unknown
|
||||
//IL_03c7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03ce: Expected O, but got Unknown
|
||||
//IL_03ce: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03d5: Expected O, but got Unknown
|
||||
//IL_03d5: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03dc: Expected O, but got Unknown
|
||||
//IL_03dc: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03e3: Expected O, but got Unknown
|
||||
//IL_03e3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03ea: Expected O, but got Unknown
|
||||
//IL_03ea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f1: Expected O, but got Unknown
|
||||
//IL_03f1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03f8: Expected O, but got Unknown
|
||||
//IL_03f8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_03ff: Expected O, but got Unknown
|
||||
//IL_03ff: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0406: Expected O, but got Unknown
|
||||
//IL_0406: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_040d: Expected O, but got Unknown
|
||||
//IL_040d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0414: Expected O, but got Unknown
|
||||
//IL_0414: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_041b: Expected O, but got Unknown
|
||||
//IL_0658: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06ad: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06b2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06d3: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06dd: Expected O, but got Unknown
|
||||
//IL_06dd: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06ec: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06f6: Expected O, but got Unknown
|
||||
//IL_06f1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_06fb: Expected O, but got Unknown
|
||||
//IL_0700: Expected O, but got Unknown
|
||||
//IL_0751: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0756: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0777: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0781: Expected O, but got Unknown
|
||||
//IL_0781: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0790: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_079a: Expected O, but got Unknown
|
||||
//IL_0795: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_079f: Expected O, but got Unknown
|
||||
//IL_07a4: Expected O, but got Unknown
|
||||
//IL_08e8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_08ed: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_090e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0918: Expected O, but got Unknown
|
||||
//IL_0918: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0927: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0931: Expected O, but got Unknown
|
||||
//IL_092c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0936: Expected O, but got Unknown
|
||||
//IL_093b: Expected O, but got Unknown
|
||||
//IL_097a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_097f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09a0: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09aa: Expected O, but got Unknown
|
||||
//IL_09aa: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09b9: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09c3: Expected O, but got Unknown
|
||||
//IL_09be: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_09c8: Expected O, but got Unknown
|
||||
//IL_09cd: Expected O, but got Unknown
|
||||
//IL_0aa2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0aa7: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ac8: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ad2: Expected O, but got Unknown
|
||||
//IL_0ad2: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0ae1: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0aeb: Expected O, but got Unknown
|
||||
//IL_0ae6: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0af0: Expected O, but got Unknown
|
||||
//IL_0af5: Expected O, but got Unknown
|
||||
//IL_0b46: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b4b: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b6c: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b76: Expected O, but got Unknown
|
||||
//IL_0b76: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b85: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b8f: Expected O, but got Unknown
|
||||
//IL_0b8a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0b94: Expected O, but got Unknown
|
||||
//IL_0b99: Expected O, but got Unknown
|
||||
//IL_0bea: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0bef: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c10: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c1a: Expected O, but got Unknown
|
||||
//IL_0c1a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c29: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c33: Expected O, but got Unknown
|
||||
//IL_0c2e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0c38: Expected O, but got Unknown
|
||||
//IL_0c3d: Expected O, but got Unknown
|
||||
//IL_0ccb: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d20: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d25: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d46: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d50: Expected O, but got Unknown
|
||||
//IL_0d50: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d5f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d69: Expected O, but got Unknown
|
||||
//IL_0d64: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0d6e: Expected O, but got Unknown
|
||||
//IL_0d73: Expected O, but got Unknown
|
||||
//IL_0371: Unknown result type (might be due to invalid IL or missing references)
|
||||
Color val = new Color(0.101960786f, 23f / 51f, 0.9098039f, 1f);
|
||||
Color val2 = new Color(46f / 85f, 0.7058824f, 0.972549f, 1f);
|
||||
Color val3 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val4 = new Color(0.1254902f, 11f / 85f, 12f / 85f, 1f);
|
||||
Color val5 = new Color(1f, 1f, 1f, 1f);
|
||||
Color val6 = new Color(0.16078432f, 14f / 85f, 0.1764706f, 1f);
|
||||
Color val7 = new Color(0.94509804f, 81f / 85f, 0.95686275f, 1f);
|
||||
Color val8 = new Color(0.23529412f, 0.2509804f, 0.2627451f, 1f);
|
||||
Color val9 = new Color(0.94509804f, 81f / 85f, 0.95686275f, 1f);
|
||||
Color val10 = new Color(0.23529412f, 0.2509804f, 0.2627451f, 1f);
|
||||
Color val11 = new Color(0.1254902f, 11f / 85f, 12f / 85f, 1f);
|
||||
Color val12 = new Color(0.9098039f, 78f / 85f, 79f / 85f, 1f);
|
||||
Color val13 = new Color(19f / 51f, 33f / 85f, 0.40784314f, 1f);
|
||||
Color val14 = new Color(0.6039216f, 32f / 51f, 0.6509804f, 1f);
|
||||
Color val15 = new Color(0.5019608f, 0.5254902f, 0.54509807f, 1f);
|
||||
Color val16 = new Color(0.6039216f, 32f / 51f, 0.6509804f, 1f);
|
||||
Color val17 = new Color(0.972549f, 83f / 85f, 50f / 51f, 1f);
|
||||
Color val18 = new Color(0.20784314f, 18f / 85f, 0.22745098f, 1f);
|
||||
Setter val19 = new Setter();
|
||||
Setter val20 = new Setter();
|
||||
Setter val21 = new Setter();
|
||||
Setter val22 = new Setter();
|
||||
Setter val23 = new Setter();
|
||||
Setter val24 = new Setter();
|
||||
StaticResourceExtension val25 = new StaticResourceExtension();
|
||||
StaticResourceExtension val26 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val27 = new AppThemeBindingExtension();
|
||||
Setter val28 = new Setter();
|
||||
StaticResourceExtension val29 = new StaticResourceExtension();
|
||||
StaticResourceExtension val30 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val31 = new AppThemeBindingExtension();
|
||||
Setter val32 = new Setter();
|
||||
Style val33 = new Style(typeof(Button));
|
||||
Setter val34 = new Setter();
|
||||
Setter val35 = new Setter();
|
||||
Setter val36 = new Setter();
|
||||
Setter val37 = new Setter();
|
||||
StaticResourceExtension val38 = new StaticResourceExtension();
|
||||
StaticResourceExtension val39 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val40 = new AppThemeBindingExtension();
|
||||
Setter val41 = new Setter();
|
||||
AppThemeBindingExtension val42 = new AppThemeBindingExtension();
|
||||
Setter val43 = new Setter();
|
||||
Style val44 = new Style(typeof(Button));
|
||||
Setter val45 = new Setter();
|
||||
Setter val46 = new Setter();
|
||||
StaticResourceExtension val47 = new StaticResourceExtension();
|
||||
StaticResourceExtension val48 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val49 = new AppThemeBindingExtension();
|
||||
Setter val50 = new Setter();
|
||||
StaticResourceExtension val51 = new StaticResourceExtension();
|
||||
StaticResourceExtension val52 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val53 = new AppThemeBindingExtension();
|
||||
Setter val54 = new Setter();
|
||||
StaticResourceExtension val55 = new StaticResourceExtension();
|
||||
StaticResourceExtension val56 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val57 = new AppThemeBindingExtension();
|
||||
Setter val58 = new Setter();
|
||||
Style val59 = new Style(typeof(Entry));
|
||||
Setter val60 = new Setter();
|
||||
Setter val61 = new Setter();
|
||||
StaticResourceExtension val62 = new StaticResourceExtension();
|
||||
StaticResourceExtension val63 = new StaticResourceExtension();
|
||||
AppThemeBindingExtension val64 = new AppThemeBindingExtension();
|
||||
Setter val65 = new Setter();
|
||||
Style val66 = new Style(typeof(Label));
|
||||
ResourceDictionary val67 = new ResourceDictionary();
|
||||
BrowserApp browserApp;
|
||||
NameScope val68 = (NameScope)(((object)NameScope.GetNameScope((BindableObject)(object)(browserApp = this))) ?? ((object)new NameScope()));
|
||||
NameScope.SetNameScope((BindableObject)(object)browserApp, (INameScope)(object)val68);
|
||||
NameScope val69 = new NameScope();
|
||||
NameScope val70 = new NameScope();
|
||||
NameScope val71 = new NameScope();
|
||||
NameScope val72 = new NameScope();
|
||||
NameScope val73 = new NameScope();
|
||||
NameScope val74 = new NameScope();
|
||||
NameScope val75 = new NameScope();
|
||||
NameScope val76 = new NameScope();
|
||||
NameScope val77 = new NameScope();
|
||||
NameScope val78 = new NameScope();
|
||||
NameScope val79 = new NameScope();
|
||||
NameScope val80 = new NameScope();
|
||||
NameScope val81 = new NameScope();
|
||||
NameScope val82 = new NameScope();
|
||||
NameScope val83 = new NameScope();
|
||||
NameScope val84 = new NameScope();
|
||||
NameScope val85 = new NameScope();
|
||||
NameScope val86 = new NameScope();
|
||||
NameScope val87 = new NameScope();
|
||||
NameScope val88 = new NameScope();
|
||||
NameScope val89 = new NameScope();
|
||||
NameScope val90 = new NameScope();
|
||||
((Application)browserApp).Resources = val67;
|
||||
val67.Add("PrimaryColor", (object)val);
|
||||
val67.Add("PrimaryDarkColor", (object)val2);
|
||||
val67.Add("PageBackgroundLight", (object)val3);
|
||||
val67.Add("PageBackgroundDark", (object)val4);
|
||||
val67.Add("ToolbarBackgroundLight", (object)val5);
|
||||
val67.Add("ToolbarBackgroundDark", (object)val6);
|
||||
val67.Add("EntryBackgroundLight", (object)val7);
|
||||
val67.Add("EntryBackgroundDark", (object)val8);
|
||||
val67.Add("ButtonBackgroundLight", (object)val9);
|
||||
val67.Add("ButtonBackgroundDark", (object)val10);
|
||||
val67.Add("TextPrimaryLight", (object)val11);
|
||||
val67.Add("TextPrimaryDark", (object)val12);
|
||||
val67.Add("TextSecondaryLight", (object)val13);
|
||||
val67.Add("TextSecondaryDark", (object)val14);
|
||||
val67.Add("PlaceholderLight", (object)val15);
|
||||
val67.Add("PlaceholderDark", (object)val16);
|
||||
val67.Add("StatusBackgroundLight", (object)val17);
|
||||
val67.Add("StatusBackgroundDark", (object)val18);
|
||||
val19.Property = VisualElement.WidthRequestProperty;
|
||||
val19.Value = "40";
|
||||
val19.Value = 40.0;
|
||||
val33.Setters.Add(val19);
|
||||
val20.Property = VisualElement.HeightRequestProperty;
|
||||
val20.Value = "40";
|
||||
val20.Value = 40.0;
|
||||
val33.Setters.Add(val20);
|
||||
val21.Property = Button.CornerRadiusProperty;
|
||||
val21.Value = "20";
|
||||
val21.Value = 20;
|
||||
val33.Setters.Add(val21);
|
||||
val22.Property = Button.FontSizeProperty;
|
||||
val22.Value = "18";
|
||||
val22.Value = 18.0;
|
||||
val33.Setters.Add(val22);
|
||||
val23.Property = Button.FontFamilyProperty;
|
||||
val23.Value = "Segoe UI Symbol, Symbola, DejaVu Sans, sans-serif";
|
||||
val23.Value = "Segoe UI Symbol, Symbola, DejaVu Sans, sans-serif";
|
||||
val33.Setters.Add(val23);
|
||||
val24.Property = Button.PaddingProperty;
|
||||
val24.Value = "0";
|
||||
val24.Value = (object)new Thickness(0.0);
|
||||
val33.Setters.Add(val24);
|
||||
val28.Property = VisualElement.BackgroundColorProperty;
|
||||
val25.Key = "ButtonBackgroundLight";
|
||||
val27.Light = val9;
|
||||
val26.Key = "ButtonBackgroundDark";
|
||||
val27.Dark = val10;
|
||||
XamlServiceProvider val91 = new XamlServiceProvider();
|
||||
val91.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val28, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val91.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(46, 52)));
|
||||
BindingBase value = ((IMarkupExtension<BindingBase>)(object)val27).ProvideValue((IServiceProvider)val91);
|
||||
val28.Value = value;
|
||||
val33.Setters.Add(val28);
|
||||
val32.Property = Button.TextColorProperty;
|
||||
val29.Key = "TextPrimaryLight";
|
||||
val31.Light = val11;
|
||||
val30.Key = "TextPrimaryDark";
|
||||
val31.Dark = val12;
|
||||
XamlServiceProvider val92 = new XamlServiceProvider();
|
||||
val92.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val32, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val92.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(47, 46)));
|
||||
BindingBase value2 = ((IMarkupExtension<BindingBase>)(object)val31).ProvideValue((IServiceProvider)val92);
|
||||
val32.Value = value2;
|
||||
val33.Setters.Add(val32);
|
||||
val67.Add("NavButtonStyle", (object)val33);
|
||||
val34.Property = VisualElement.WidthRequestProperty;
|
||||
val34.Value = "60";
|
||||
val34.Value = 60.0;
|
||||
val44.Setters.Add(val34);
|
||||
val35.Property = VisualElement.HeightRequestProperty;
|
||||
val35.Value = "36";
|
||||
val35.Value = 36.0;
|
||||
val44.Setters.Add(val35);
|
||||
val36.Property = Button.CornerRadiusProperty;
|
||||
val36.Value = "18";
|
||||
val36.Value = 18;
|
||||
val44.Setters.Add(val36);
|
||||
val37.Property = Button.FontSizeProperty;
|
||||
val37.Value = "14";
|
||||
val37.Value = 14.0;
|
||||
val44.Setters.Add(val37);
|
||||
val41.Property = VisualElement.BackgroundColorProperty;
|
||||
val38.Key = "PrimaryColor";
|
||||
val40.Light = val;
|
||||
val39.Key = "PrimaryDarkColor";
|
||||
val40.Dark = val2;
|
||||
XamlServiceProvider val93 = new XamlServiceProvider();
|
||||
val93.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val41, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val93.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(56, 52)));
|
||||
BindingBase value3 = ((IMarkupExtension<BindingBase>)(object)val40).ProvideValue((IServiceProvider)val93);
|
||||
val41.Value = value3;
|
||||
val44.Setters.Add(val41);
|
||||
val43.Property = Button.TextColorProperty;
|
||||
val42.Light = "White";
|
||||
val42.Dark = "#202124";
|
||||
XamlServiceProvider val94 = new XamlServiceProvider();
|
||||
val94.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val43, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val94.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(57, 46)));
|
||||
BindingBase value4 = ((IMarkupExtension<BindingBase>)(object)val42).ProvideValue((IServiceProvider)val94);
|
||||
val43.Value = value4;
|
||||
val44.Setters.Add(val43);
|
||||
val67.Add("GoButtonStyle", (object)val44);
|
||||
val45.Property = Entry.FontSizeProperty;
|
||||
val45.Value = "14";
|
||||
val45.Value = 14.0;
|
||||
val59.Setters.Add(val45);
|
||||
val46.Property = VisualElement.HeightRequestProperty;
|
||||
val46.Value = "36";
|
||||
val46.Value = 36.0;
|
||||
val59.Setters.Add(val46);
|
||||
val50.Property = VisualElement.BackgroundColorProperty;
|
||||
val47.Key = "EntryBackgroundLight";
|
||||
val49.Light = val7;
|
||||
val48.Key = "EntryBackgroundDark";
|
||||
val49.Dark = val8;
|
||||
XamlServiceProvider val95 = new XamlServiceProvider();
|
||||
val95.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val50, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val95.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(64, 52)));
|
||||
BindingBase value5 = ((IMarkupExtension<BindingBase>)(object)val49).ProvideValue((IServiceProvider)val95);
|
||||
val50.Value = value5;
|
||||
val59.Setters.Add(val50);
|
||||
val54.Property = Entry.TextColorProperty;
|
||||
val51.Key = "TextPrimaryLight";
|
||||
val53.Light = val11;
|
||||
val52.Key = "TextPrimaryDark";
|
||||
val53.Dark = val12;
|
||||
XamlServiceProvider val96 = new XamlServiceProvider();
|
||||
val96.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val54, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val96.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(65, 46)));
|
||||
BindingBase value6 = ((IMarkupExtension<BindingBase>)(object)val53).ProvideValue((IServiceProvider)val96);
|
||||
val54.Value = value6;
|
||||
val59.Setters.Add(val54);
|
||||
val58.Property = Entry.PlaceholderColorProperty;
|
||||
val55.Key = "PlaceholderLight";
|
||||
val57.Light = val15;
|
||||
val56.Key = "PlaceholderDark";
|
||||
val57.Dark = val16;
|
||||
XamlServiceProvider val97 = new XamlServiceProvider();
|
||||
val97.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val58, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val97.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(66, 53)));
|
||||
BindingBase value7 = ((IMarkupExtension<BindingBase>)(object)val57).ProvideValue((IServiceProvider)val97);
|
||||
val58.Value = value7;
|
||||
val59.Setters.Add(val58);
|
||||
val67.Add("AddressBarStyle", (object)val59);
|
||||
val60.Property = Label.FontSizeProperty;
|
||||
val60.Value = "12";
|
||||
val60.Value = 12.0;
|
||||
val66.Setters.Add(val60);
|
||||
val61.Property = Label.PaddingProperty;
|
||||
val61.Value = "8,4";
|
||||
val61.Value = (object)new Thickness(8.0, 4.0);
|
||||
val66.Setters.Add(val61);
|
||||
val65.Property = Label.TextColorProperty;
|
||||
val62.Key = "TextSecondaryLight";
|
||||
val64.Light = val13;
|
||||
val63.Key = "TextSecondaryDark";
|
||||
val64.Dark = val14;
|
||||
XamlServiceProvider val98 = new XamlServiceProvider();
|
||||
val98.Add(typeof(IProvideValueTarget), (object)new ValueTargetProvider((object)val65, (object)typeof(Setter).GetRuntimeProperty("Value")));
|
||||
val98.Add(typeof(IXmlLineInfoProvider), (object)new XmlLineInfoProvider((IXmlLineInfo)new XmlLineInfo(73, 46)));
|
||||
BindingBase value8 = ((IMarkupExtension<BindingBase>)(object)val64).ProvideValue((IServiceProvider)val98);
|
||||
val65.Value = value8;
|
||||
val66.Setters.Add(val65);
|
||||
val67.Add("StatusLabelStyle", (object)val66);
|
||||
((Application)browserApp).Resources = val67;
|
||||
}
|
||||
}
|
||||
1478
XamlBrowser/MainPage.cs
Normal file
1478
XamlBrowser/MainPage.cs
Normal file
File diff suppressed because it is too large
Load Diff
22
XamlBrowser/MauiProgram.cs
Normal file
22
XamlBrowser/MauiProgram.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Microsoft.Maui.Controls.Hosting;
|
||||
using Microsoft.Maui.Hosting;
|
||||
using Microsoft.Maui.Platform.Linux;
|
||||
using Microsoft.Maui.Platform.Linux.Hosting;
|
||||
|
||||
namespace XamlBrowser;
|
||||
|
||||
public static class MauiProgram
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
MauiAppBuilder obj = MauiApp.CreateBuilder(true);
|
||||
AppHostBuilderExtensions.UseMauiApp<BrowserApp>(obj).UseLinux();
|
||||
LinuxApplication.Run(obj.Build(), args, delegate(LinuxApplicationOptions options)
|
||||
{
|
||||
options.Title = "XAML Browser";
|
||||
options.Width = 1200;
|
||||
options.Height = 800;
|
||||
options.UseGtk = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
25
XamlBrowser/XamlBrowser.csproj
Normal file
25
XamlBrowser/XamlBrowser.csproj
Normal file
@@ -0,0 +1,25 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<AssemblyName>XamlBrowser</AssemblyName>
|
||||
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp9.0</TargetFramework>
|
||||
<PlatformTarget>Arm64</PlatformTarget>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<LangVersion>12.0</LangVersion>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup />
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Maui.Controls" />
|
||||
<Reference Include="Microsoft.Maui.Controls.Xaml" />
|
||||
<Reference Include="OpenMaui.Controls.Linux">
|
||||
<HintPath>../../OpenMaui.Controls.Linux.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Maui.Essentials" />
|
||||
<Reference Include="Microsoft.Maui" />
|
||||
<Reference Include="Microsoft.Maui.Graphics" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user