├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── FmgLib.MauiMarkup.sln ├── LICENSE ├── README.md ├── sample ├── App1 │ ├── App.cs │ ├── App1.csproj │ ├── AppShell.cs │ ├── Imports.cs │ ├── MainPage.cs │ ├── MauiProgram.cs │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Resources │ │ ├── AppIcon │ │ ├── appicon.svg │ │ └── appiconfg.svg │ │ ├── Fonts │ │ ├── OpenSans-Regular.ttf │ │ └── OpenSans-Semibold.ttf │ │ ├── Images │ │ └── dotnet_bot.png │ │ ├── Raw │ │ └── AboutAssets.txt │ │ ├── Splash │ │ └── splash.svg │ │ └── Styles │ │ ├── AppColors.cs │ │ └── AppStyles.cs ├── DalluiApp │ ├── App.cs │ ├── AppShell.cs │ ├── DalluiApp.csproj │ ├── Imports.cs │ ├── MauiProgram.cs │ ├── Models │ │ ├── ArtStyle.cs │ │ ├── GeneratedImage.cs │ │ └── Profile.cs │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── README.md │ ├── Resources │ │ ├── AppIcon │ │ │ ├── appicon.svg │ │ │ └── appiconfg.svg │ │ ├── Fonts │ │ │ ├── Nexa-ExtraLight.ttf │ │ │ ├── Nexa-Heavy.ttf │ │ │ ├── OpenSans-Regular.ttf │ │ │ └── OpenSans-Semibold.ttf │ │ ├── Images │ │ │ ├── anime.jpg │ │ │ ├── cartoon.jpg │ │ │ ├── dashboard1.jpg │ │ │ ├── dashboard2.jpg │ │ │ ├── dashboard3.jpg │ │ │ ├── dotnet_bot.png │ │ │ ├── funko.jpg │ │ │ ├── isometric.jpg │ │ │ ├── minimalism.jpg │ │ │ ├── popart.jpg │ │ │ ├── profile1.jpg │ │ │ ├── profile2.jpg │ │ │ ├── profile3.jpg │ │ │ ├── profilesquare.jpg │ │ │ ├── realistic.jpg │ │ │ ├── storybook.jpg │ │ │ ├── surrealism.jpg │ │ │ └── watercolor.jpg │ │ ├── Raw │ │ │ ├── AboutAssets.txt │ │ │ └── robot.json │ │ ├── Splash │ │ │ └── splash.svg │ │ └── Styles │ │ │ ├── AppColors.cs │ │ │ └── AppStyles.cs │ └── Views │ │ ├── DashboardView.cs │ │ ├── GenerationOptionsView.cs │ │ └── ImageGeneratorView.cs ├── F1TV │ ├── App.cs │ ├── AppShell.cs │ ├── F1TV.csproj │ ├── Helpers │ │ └── IconFontHelper.cs │ ├── Imports.cs │ ├── MainPage.cs │ ├── MauiProgram.cs │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── README.md │ └── Resources │ │ ├── AppIcon │ │ ├── appicon.svg │ │ └── appiconfg.svg │ │ ├── Fonts │ │ ├── OpenSans-Regular.ttf │ │ ├── OpenSans-Semibold.ttf │ │ └── materialdesignicons-webfont.ttf │ │ ├── Images │ │ ├── dotnet_bot.png │ │ ├── leclerc.jpg │ │ └── redoutline.png │ │ ├── Raw │ │ └── AboutAssets.txt │ │ ├── Splash │ │ └── splash.svg │ │ └── Styles │ │ ├── AppColors.cs │ │ └── AppStyles.cs ├── FruitApp │ ├── App.cs │ ├── FruitApp.csproj │ ├── Imports.cs │ ├── MainPage.cs │ ├── MauiProgram.cs │ ├── Models │ │ └── FruitInformation.cs │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── README.md │ └── Resources │ │ ├── AppIcon │ │ ├── appicon.svg │ │ └── appiconfg.svg │ │ ├── Fonts │ │ ├── OpenSans-Regular.ttf │ │ ├── OpenSans-Semibold.ttf │ │ ├── Roboto-Bold.ttf │ │ └── Roboto-Regular.ttf │ │ ├── Images │ │ ├── dotnet_bot.png │ │ └── papaya.png │ │ ├── Raw │ │ └── AboutAssets.txt │ │ ├── Splash │ │ └── splash.svg │ │ └── Styles │ │ ├── AppColors.cs │ │ └── AppStyles.cs ├── Game2048 │ ├── App.cs │ ├── Behaviors │ │ └── TileStateBehavior.cs │ ├── Converters │ │ ├── StringToTileBackgroundColorConverter.cs │ │ └── StringToTileTextColorConverter.cs │ ├── Data │ │ ├── ConfettiConfig.cs │ │ └── GameRepository.cs │ ├── Enums │ │ ├── Direction.cs │ │ └── LevelState.cs │ ├── Game2048Maui.csproj │ ├── Imports.cs │ ├── MainPage.BE.cs │ ├── MainPage.cs │ ├── MauiProgram.cs │ ├── Models │ │ └── NumberTile.cs │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── README.md │ ├── Resources │ │ ├── AppIcon │ │ │ ├── appicon.svg │ │ │ └── appiconfg.svg │ │ ├── Fonts │ │ │ ├── OpenSans-Bold.ttf │ │ │ ├── OpenSans-Regular.ttf │ │ │ ├── OpenSans-Semibold.ttf │ │ │ ├── Poppins-Bold.ttf │ │ │ ├── Poppins-Regular.ttf │ │ │ └── Poppins-SemiBold.ttf │ │ ├── Images │ │ │ └── dotnet_bot.png │ │ ├── Raw │ │ │ ├── AboutAssets.txt │ │ │ ├── dotnetbot.json │ │ │ └── gameoveranimate.json │ │ ├── Splash │ │ │ └── splash.svg │ │ └── Styles │ │ │ ├── AppColors.cs │ │ │ └── AppStyles.cs │ └── ViewModels │ │ └── MainPageViewModel.cs ├── GeneratedExam │ ├── GeneratedExam.csproj │ ├── MyClass.cs │ └── Program.cs ├── MatchingImage │ ├── App.cs │ ├── CardView.cs │ ├── Imports.cs │ ├── MainPage.BE.cs │ ├── MainPage.cs │ ├── MatchingImage.csproj │ ├── MauiProgram.cs │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── README.md │ └── Resources │ │ ├── AppIcon │ │ ├── appicon.svg │ │ └── appiconfg.svg │ │ ├── Fonts │ │ ├── OpenSans-Regular.ttf │ │ └── OpenSans-Semibold.ttf │ │ ├── Images │ │ ├── apricot.png │ │ ├── banana.png │ │ ├── dotnet_bot.png │ │ ├── leaf.png │ │ ├── orange.png │ │ ├── peach.png │ │ ├── pear.png │ │ └── strawberry.png │ │ ├── Raw │ │ └── AboutAssets.txt │ │ ├── Splash │ │ └── splash.svg │ │ └── Styles │ │ ├── AppColors.cs │ │ └── AppStyles.cs ├── MyMauiMarkupApp │ ├── App.cs │ ├── AppShell.cs │ ├── Imports.cs │ ├── MainPage.cs │ ├── MauiProgram.cs │ ├── MyMauiMarkupApp.csproj │ ├── Platforms │ │ ├── Android │ │ │ ├── AndroidManifest.xml │ │ │ ├── MainActivity.cs │ │ │ ├── MainApplication.cs │ │ │ └── Resources │ │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MacCatalyst │ │ │ ├── AppDelegate.cs │ │ │ ├── Entitlements.plist │ │ │ ├── Info.plist │ │ │ └── Program.cs │ │ ├── Tizen │ │ │ ├── Main.cs │ │ │ └── tizen-manifest.xml │ │ ├── Windows │ │ │ ├── App.xaml │ │ │ ├── App.xaml.cs │ │ │ ├── Package.appxmanifest │ │ │ └── app.manifest │ │ └── iOS │ │ │ ├── AppDelegate.cs │ │ │ ├── Info.plist │ │ │ └── Program.cs │ ├── Properties │ │ └── launchSettings.json │ └── Resources │ │ ├── AppIcon │ │ ├── appicon.svg │ │ └── appiconfg.svg │ │ ├── AppResources.Designer.cs │ │ ├── AppResources.TR.resx │ │ ├── AppResources.resx │ │ ├── Fonts │ │ ├── OpenSans-Regular.ttf │ │ └── OpenSans-Semibold.ttf │ │ ├── Images │ │ └── dotnet_bot.png │ │ ├── Raw │ │ ├── AboutAssets.txt │ │ └── Localization.json │ │ ├── Splash │ │ └── splash.svg │ │ └── Styles │ │ ├── AppColors.cs │ │ └── AppStyles.cs └── MyOrderApp │ ├── App.cs │ ├── AppShell.cs │ ├── Context │ └── MyContext.cs │ ├── Controls │ └── MyPopup.cs │ ├── Converters │ ├── BoolToFavoriteImageConverter.cs │ ├── BoolToFontSizeConverter.cs │ ├── BoolToTextDecorationConverter.cs │ └── TextLengthToBoolConverter.cs │ ├── Extensions │ ├── BindableLayoutExtensions.cs │ └── ExpanderExtensions.cs │ ├── Helpers │ └── AuthHelper.cs │ ├── HotReloadHandler.cs │ ├── Imports.cs │ ├── Mappers │ ├── CategoryProfile.cs │ └── ProductProfile.cs │ ├── MauiProgram.cs │ ├── Models │ ├── Basket.cs │ ├── Category.cs │ ├── Common │ │ └── BaseModel.cs │ ├── Product.cs │ ├── SubCategory.cs │ ├── User.cs │ └── ViewModels │ │ ├── BasketProductVM.cs │ │ ├── BasketVM.cs │ │ ├── CategoryVM.cs │ │ ├── ProductVM.cs │ │ └── SubCategoryVM.cs │ ├── MyOrderApp.code-workspace │ ├── MyOrderApp.csproj │ ├── Platforms │ ├── Android │ │ ├── AndroidManifest.xml │ │ ├── MainActivity.cs │ │ ├── MainApplication.cs │ │ └── Resources │ │ │ └── values │ │ │ └── colors.xml │ ├── MacCatalyst │ │ ├── AppDelegate.cs │ │ ├── Info.plist │ │ └── Program.cs │ ├── Tizen │ │ ├── Main.cs │ │ └── tizen-manifest.xml │ ├── Windows │ │ ├── App.xaml │ │ ├── App.xaml.cs │ │ ├── Package.appxmanifest │ │ └── app.manifest │ └── iOS │ │ ├── AppDelegate.cs │ │ ├── Info.plist │ │ └── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Repository │ ├── Abstract │ │ ├── ICategoryRepository.cs │ │ ├── IProductRepository.cs │ │ ├── ISubCategoryRepository.cs │ │ └── IUserRepository.cs │ ├── Common │ │ ├── GenericRepository.cs │ │ └── IGenericRepository.cs │ └── Concrete │ │ ├── CategoryRepository.cs │ │ ├── ProductRepository.cs │ │ ├── SubCategoryRepository.cs │ │ └── UserRepository.cs │ ├── Resources │ ├── AppColors.cs │ ├── AppStyles.cs │ ├── Fonts │ │ ├── OpenSans-Regular.ttf │ │ └── OpenSans-SemiBold.ttf │ ├── Images │ │ ├── background.jpg │ │ ├── basket.png │ │ ├── categories.png │ │ ├── chevron.png │ │ ├── dotnet_bot.svg │ │ ├── favorite.png │ │ ├── favorites.png │ │ ├── home.png │ │ ├── not_favorite.png │ │ ├── products.png │ │ ├── remove.png │ │ └── white_bread.png │ ├── Raw │ │ ├── AboutAssets.txt │ │ └── completed.json │ ├── appicon.svg │ └── appiconfg.svg │ ├── TemplateData.cs │ ├── ViewModels │ ├── BasketPageViewModel.cs │ ├── CategoriesPageViewModel.cs │ ├── Common │ │ └── BaseViewModel.cs │ ├── FavoritesPageViewModel.cs │ ├── HomePageViewModel.cs │ ├── LoadingPageViewModel.cs │ ├── LoginPageViewModel.cs │ ├── ProductsPageViewModel.cs │ └── RegisterPageViewModel.cs │ └── Views │ ├── BasketPage.cs │ ├── CategoriesPage.cs │ ├── Common │ └── BasePage.cs │ ├── FavoritesPage.cs │ ├── HomePage.cs │ ├── LoadingPage.cs │ ├── LoginPage.cs │ ├── ProductsPage.cs │ └── RegisterPage.cs ├── src ├── FmgLib.MauiMarkup.Generator │ ├── Extensions │ │ ├── ExtensionGenerator.AnimateTo.cs │ │ ├── ExtensionGenerator.BindingBuilder.cs │ │ ├── ExtensionGenerator.ContentProp.cs │ │ ├── ExtensionGenerator.DataTemplate.cs │ │ ├── ExtensionGenerator.Events.cs │ │ ├── ExtensionGenerator.GetValue.cs │ │ ├── ExtensionGenerator.ITextAlignment.cs │ │ ├── ExtensionGenerator.Lists.cs │ │ ├── ExtensionGenerator.Setters.BindingBuilder.cs │ │ ├── ExtensionGenerator.Setters.Value.cs │ │ ├── ExtensionGenerator.Value.cs │ │ └── ExtensionGenerator.cs │ ├── FmgLib.MauiMarkup.Generator.csproj │ ├── Helpers │ │ ├── AttachedFieldInfo.cs │ │ ├── AttachedModel.cs │ │ ├── Helpers.cs │ │ └── PropInfo.cs │ └── SourceGenerator.cs └── FmgLib.MauiMarkup │ ├── Core │ ├── Builder │ │ ├── ColumnDefinitionBuilder.cs │ │ ├── IPropertyBuilder.cs │ │ ├── IPropertySettersBuilder.cs │ │ ├── ParameterReplacer.cs │ │ ├── PropertyBindingBuilder.cs │ │ ├── PropertyDynamicResourcesBuilder.cs │ │ ├── PropertyIdiomBuilder.cs │ │ ├── PropertyMultiBindingBuilder.cs │ │ ├── PropertyPlatformBuilder.cs │ │ ├── PropertySettersBindingBuilder.cs │ │ ├── PropertySettersDynamicResourcesBuilder.cs │ │ ├── PropertySettersIdiomBuilder.cs │ │ ├── PropertySettersMultiBindingBuilder.cs │ │ ├── PropertySettersPlatformBuilder.cs │ │ ├── PropertySettersThemeBuilder.cs │ │ ├── PropertyThemeBuilder.cs │ │ └── RowDefinitionBuilder.cs │ ├── Context │ │ ├── FuncContext.cs │ │ ├── FuncMultiContext.cs │ │ ├── PropertyContext.cs │ │ ├── PropertySettersContext.cs │ │ ├── SetterContext.cs │ │ └── Setters.cs │ ├── Extensions │ │ ├── ColorExtension.cs │ │ ├── ColumnDefinitionCollectionExtension.cs │ │ ├── IEnumerableExtension.cs │ │ ├── RowDefinitionCollectionExtension.cs │ │ ├── StyleExtension.cs │ │ ├── VisualStateExtension.cs │ │ └── VisualStateGroupListExtension.cs │ └── Visuals │ │ ├── INameScope.cs │ │ ├── NameScope.cs │ │ ├── Style.cs │ │ ├── Transformations.cs │ │ ├── VisualState.cs │ │ └── VisualStates.cs │ ├── Extensions │ ├── ActivityIndicatorExtension.cs │ ├── AdaptiveTriggerExtension.cs │ ├── AppLinkEntryExtension.cs │ ├── ApplicationExtension.cs │ ├── ArcSegmentExtension.cs │ ├── BackButtonBehaviorExtension.cs │ ├── BaseShellItemExtension.cs │ ├── BezierSegmentExtension.cs │ ├── BindableLayoutExtensions.cs │ ├── BindableObjectExtension.cs │ ├── BindingBaseExtension.cs │ ├── BindingConditionExtension.cs │ ├── BindingExtension.cs │ ├── BorderExtension.cs │ ├── BoxViewExtension.cs │ ├── ButtonExtension.cs │ ├── CarouselViewExtension.cs │ ├── CellExtension.cs │ ├── CheckBoxExtension.cs │ ├── ClickGestureRecognizerExtension.cs │ ├── ColumnDefinitionExtension.cs │ ├── CompareStateTriggerExtension.cs │ ├── CompatibilityLayoutExtension.cs │ ├── CompositeTransformExtension.cs │ ├── ContentPageExtension.cs │ ├── ContentPresenterExtension.cs │ ├── ContentViewExtension.cs │ ├── DataTriggerExtension.cs │ ├── DatePickerExtension.cs │ ├── DeviceStateTriggerExtension.cs │ ├── DragGestureRecognizerExtension.cs │ ├── DropGestureRecognizerExtension.cs │ ├── EditorExtension.cs │ ├── ElementExtension.cs │ ├── ElementTemplateExtension.cs │ ├── EllipseGeometryExtension.cs │ ├── EntryCellExtension.cs │ ├── EntryExtension.cs │ ├── EventTriggerExtension.cs │ ├── FileImageSourceExtension.cs │ ├── FlexLayoutExtension.cs │ ├── FlyoutPageExtension.cs │ ├── FontImageSourceExtension.cs │ ├── FormattedStringExtension.cs │ ├── FrameExtension.cs │ ├── GeometryGroupExtension.cs │ ├── GestureElementExtension.cs │ ├── GradientBrushExtension.cs │ ├── GradientStopExtension.cs │ ├── GraphicsViewExtension.cs │ ├── GridExtension.cs │ ├── GridItemsLayoutExtension.cs │ ├── GroupableItemsViewExtension.cs │ ├── HtmlWebViewSourceExtension.cs │ ├── HybridWebViewExtension.cs │ ├── ImageButtonExtension.cs │ ├── ImageCellExtension.cs │ ├── ImageExtension.cs │ ├── IndicatorViewExtension.cs │ ├── InputViewExtension.cs │ ├── ItemsLayoutExtension.cs │ ├── ItemsViewExtension.cs │ ├── ItemsViewOfCellExtension.cs │ ├── KeyboardAcceleratorExtension.cs │ ├── LabelExtension.cs │ ├── LayoutExtension.cs │ ├── LineExtension.cs │ ├── LineGeometryExtension.cs │ ├── LineSegmentExtension.cs │ ├── LinearGradientBrushExtension.cs │ ├── LinearItemsLayoutExtension.cs │ ├── ListViewExtension.cs │ ├── MatrixTransformExtension.cs │ ├── MenuBarExtension.cs │ ├── MenuBarItemExtension.cs │ ├── MenuFlyoutItemExtension.cs │ ├── MenuItemExtension.cs │ ├── MultiPageOfPageExtension.cs │ ├── MultiTriggerExtension.cs │ ├── NavigableElementExtension.cs │ ├── NavigationPageExtension.cs │ ├── OrientationStateTriggerExtension.cs │ ├── PageExtension.NavigationPageProps.cs │ ├── PageExtension.ShellProps.cs │ ├── PageExtension.cs │ ├── PanGestureRecognizerExtension.cs │ ├── PathExtension.cs │ ├── PathFigureExtension.cs │ ├── PathGeometryExtension.cs │ ├── PickerExtension.cs │ ├── PinchGestureRecognizerExtension.cs │ ├── PointerGestureRecognizerExtension.cs │ ├── PolyBezierSegmentExtension.cs │ ├── PolyLineSegmentExtension.cs │ ├── PolyQuadraticBezierSegmentExtension.cs │ ├── PolygonExtension.cs │ ├── PolylineExtension.cs │ ├── ProgressBarExtension.cs │ ├── PropertyBindingBuilderExtension.cs │ ├── PropertyConditionExtension.cs │ ├── PropertyContextExtension.cs │ ├── PropertySettersContextExtension.cs │ ├── PublicExtension.cs │ ├── QuadraticBezierSegmentExtension.cs │ ├── RadialGradientBrushExtension.cs │ ├── RadioButtonExtension.cs │ ├── RadioButtonGroupExtension.cs │ ├── RectangleExtension.cs │ ├── RectangleGeometryExtension.cs │ ├── RefreshViewExtension.cs │ ├── ReorderableItemsViewExtension.cs │ ├── ResourceDictionaryExtension.cs │ ├── RotateTransformExtension.cs │ ├── RoundRectangleExtension.cs │ ├── RoundRectangleGeometryExtension.cs │ ├── RowDefinitionExtension.cs │ ├── ScaleTransformExtension.cs │ ├── ScrollViewExtension.cs │ ├── SearchBarExtension.cs │ ├── SearchHandlerExtension.cs │ ├── SelectableItemsViewExtension.cs │ ├── ShadowExtension.cs │ ├── ShapeExtension.cs │ ├── ShapesLineExtension.cs │ ├── ShapesPathFigureExtension.cs │ ├── ShellContentExtension.cs │ ├── ShellExtension.cs │ ├── ShellGroupItemExtension.cs │ ├── ShellItemExtension.cs │ ├── ShellSectionExtension.cs │ ├── SkewTransformExtension.cs │ ├── SliderExtension.cs │ ├── SolidColorBrushExtension.cs │ ├── SpanExtension.cs │ ├── StackBaseExtension.cs │ ├── StackLayoutExtension.cs │ ├── StateTriggerBaseExtension.cs │ ├── StateTriggerExtension.cs │ ├── StepperExtension.cs │ ├── StreamImageSourceExtension.cs │ ├── StructuredItemsViewExtension.cs │ ├── SwipeGestureRecognizerExtension.cs │ ├── SwipeItemExtension.cs │ ├── SwipeItemViewExtension.cs │ ├── SwipeItemsExtension.cs │ ├── SwipeViewExtension.cs │ ├── SwitchCellExtension.cs │ ├── SwitchExtension.cs │ ├── TabbedPageExtension.cs │ ├── TableSectionBaseExtension.cs │ ├── TableSectionBaseOfCellExtension.cs │ ├── TableSectionBaseOfTableSectionExtension.cs │ ├── TableViewExtension.cs │ ├── TapGestureRecognizerExtension.cs │ ├── TemplatedPageExtension.cs │ ├── TemplatedViewExtension.cs │ ├── TextCellExtension.cs │ ├── TimePickerExtension.cs │ ├── TitleBarExtension.cs │ ├── ToolTipPropertiesExtension.cs │ ├── ToolbarItemExtension.cs │ ├── TransformExtension.cs │ ├── TransformGroupExtension.cs │ ├── TranslateTransformExtension.cs │ ├── TriggerBaseExtension.cs │ ├── TriggerExtension.cs │ ├── TypedBindingExtensions.cs │ ├── TypedBindingsExtensions.Handlers.cs │ ├── UriImageSourceExtension.cs │ ├── UrlWebViewSourceExtension.cs │ ├── ViewCellExtension.cs │ ├── ViewExtension.cs │ ├── VisualElementExtension.cs │ ├── VisualStateGroupExtension.cs │ ├── WebViewExtension.cs │ └── WindowExtension.cs │ ├── FmgLib.MauiMarkup.csproj │ ├── Handlers │ ├── FmgLibHotReloadHandler.cs │ ├── HotReloadExtensions.cs │ └── IFmgLibHotReload.cs │ ├── LICENSE │ ├── Localization │ ├── BaseTranslator.cs │ ├── Extensions │ │ ├── JsonLocalizationExtensions.cs │ │ ├── LocalizationAppBuilderExtension.cs │ │ ├── TranslateExtension.cs │ │ └── TranslatorExtension.cs │ ├── LocalizationData.cs │ ├── Translator.cs │ └── TranslatorResx.cs │ ├── Pages │ └── ContentPage.cs │ ├── README.md │ └── nuget.png ├── templates └── FmgLib.MauiMarkup.TemplateApp │ ├── FmgLib.MauiMarkup.Template.csproj │ ├── FmgLib.MauiMarkup.TemplateApp.sln │ ├── LICENSE │ ├── README.md │ ├── content │ ├── FmgLib.MauiMarkup.App │ │ ├── .template.config │ │ │ ├── icon.ico │ │ │ ├── ide.host.json │ │ │ └── template.json │ │ ├── App.cs │ │ ├── AppShell.cs │ │ ├── FmgLib.MauiMarkup.App.csproj │ │ ├── Imports.cs │ │ ├── MainPage.cs │ │ ├── MauiProgram.cs │ │ ├── Platforms │ │ │ ├── Android │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── MainActivity.cs │ │ │ │ ├── MainApplication.cs │ │ │ │ └── Resources │ │ │ │ │ └── values │ │ │ │ │ └── colors.xml │ │ │ ├── MacCatalyst │ │ │ │ ├── AppDelegate.cs │ │ │ │ ├── Entitlements.plist │ │ │ │ ├── Info.plist │ │ │ │ └── Program.cs │ │ │ ├── Tizen │ │ │ │ ├── Main.cs │ │ │ │ └── tizen-manifest.xml │ │ │ ├── Windows │ │ │ │ ├── App.xaml │ │ │ │ ├── App.xaml.cs │ │ │ │ ├── Package.appxmanifest │ │ │ │ └── app.manifest │ │ │ └── iOS │ │ │ │ ├── AppDelegate.cs │ │ │ │ ├── Info.plist │ │ │ │ └── Program.cs │ │ ├── Properties │ │ │ └── launchSettings.json │ │ └── Resources │ │ │ ├── AppIcon │ │ │ ├── appicon.svg │ │ │ └── appiconfg.svg │ │ │ ├── Fonts │ │ │ ├── OpenSans-Regular.ttf │ │ │ └── OpenSans-Semibold.ttf │ │ │ ├── Images │ │ │ └── dotnet_bot.png │ │ │ ├── Raw │ │ │ └── AboutAssets.txt │ │ │ ├── Splash │ │ │ └── splash.svg │ │ │ └── Styles │ │ │ ├── AppColors.cs │ │ │ └── AppStyles.cs │ ├── FmgLib.MauiMarkup.ContentPage │ │ ├── .template.config │ │ │ ├── icon.ico │ │ │ ├── ide.host.json │ │ │ └── template.json │ │ └── NewPage1.cs │ └── FmgLib.MauiMarkup.ContentView │ │ ├── .template.config │ │ ├── icon.ico │ │ ├── ide.host.json │ │ └── template.json │ │ └── NewContent1.cs │ └── nuget.png └── tests └── FmgLib.MauiMarkup.Generator.Test ├── DLLs ├── CommunityToolkit.Maui.Core.dll ├── CommunityToolkit.Maui.dll ├── DevExpress.Data.v23.2.dll ├── DevExpress.Maui.CollectionView.dll ├── DevExpress.Maui.Controls.dll ├── DevExpress.Maui.Core.dll ├── DevExpress.Maui.Editors.dll ├── FmgLib.MauiMarkup.dll ├── InputKit.Maui.dll ├── LiveChartsCore.Behaviours.dll ├── LiveChartsCore.SkiaSharpView.Maui.dll ├── LiveChartsCore.SkiaSharpView.dll ├── LiveChartsCore.dll ├── Microsoft.Extensions.Configuration.Abstractions.dll ├── Microsoft.Extensions.Configuration.dll ├── Microsoft.Extensions.DependencyInjection.Abstractions.dll ├── Microsoft.Extensions.DependencyInjection.dll ├── Microsoft.Extensions.Logging.Abstractions.dll ├── Microsoft.Extensions.Logging.dll ├── Microsoft.Extensions.Options.dll ├── Microsoft.Extensions.Primitives.dll ├── Microsoft.Maui.Controls.Compatibility.dll ├── Microsoft.Maui.Controls.Xaml.dll ├── Microsoft.Maui.Controls.dll ├── Microsoft.Maui.Essentials.dll ├── Microsoft.Maui.Graphics.dll ├── Microsoft.Maui.dll ├── PanCardView.dll ├── Plainer.Maui.dll ├── SkiaSharp.Extended.UI.dll ├── SkiaSharp.Extended.dll ├── SkiaSharp.HarfBuzz.dll ├── SkiaSharp.SceneGraph.dll ├── SkiaSharp.Skottie.dll ├── SkiaSharp.Views.Maui.Controls.Compatibility.dll ├── SkiaSharp.Views.Maui.Controls.dll ├── SkiaSharp.Views.Maui.Core.dll ├── SkiaSharp.dll ├── Syncfusion.Licensing.dll ├── Syncfusion.Maui.Core.dll ├── Syncfusion.Maui.Data.dll ├── Syncfusion.Maui.DataGrid.dll ├── Syncfusion.Maui.DataSource.dll ├── Syncfusion.Maui.GridCommon.dll ├── Syncfusion.Maui.Inputs.dll ├── Syncfusion.Maui.ListView.dll ├── Syncfusion.Maui.PullToRefresh.dll ├── UraniumUI.Material.dll └── UraniumUI.dll ├── FmgLib.MauiMarkup.Generator.Test.csproj └── IntegrationTesting.cs /sample/App1/App.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | 3 | namespace App1; 4 | 5 | public partial class App : MC.Application 6 | { 7 | public App() 8 | { 9 | this.Resources(new MC.ResourceDictionary().MergedDictionaries(AppStyles.Default)); 10 | } 11 | 12 | protected override MC.Window CreateWindow(IActivationState? activationState) => new MC.Window(new AppShell()); 13 | } -------------------------------------------------------------------------------- /sample/App1/AppShell.cs: -------------------------------------------------------------------------------- 1 | namespace App1; 2 | 3 | public partial class AppShell : MC.Shell 4 | { 5 | public AppShell() 6 | { 7 | this 8 | .FlyoutBehavior(Microsoft.Maui.FlyoutBehavior.Disabled) 9 | .Items( 10 | new MC.ShellContent() 11 | .Title("Home") 12 | .ContentTemplate(() => new MainPage()) 13 | .Route(nameof(MainPage)) 14 | ); 15 | } 16 | } -------------------------------------------------------------------------------- /sample/App1/Imports.cs: -------------------------------------------------------------------------------- 1 | global using App1; 2 | 3 | // Markup FmgLib 4 | global using FmgLib.MauiMarkup; 5 | global using FmgLib.MauiMarkup.Core; 6 | 7 | // Static 8 | global using static Microsoft.Maui.Graphics.Colors; 9 | global using static Microsoft.Maui.Controls.FontAttributes; 10 | global using static Microsoft.Maui.Controls.LayoutAlignment; 11 | global using static Microsoft.Maui.ScrollBarVisibility; 12 | global using static Microsoft.Maui.SwipeMode; 13 | global using static Microsoft.Maui.SwipeDirection; 14 | global using static Microsoft.Maui.TextType; 15 | global using static Microsoft.Maui.Visibility; 16 | global using MC = Microsoft.Maui.Controls; -------------------------------------------------------------------------------- /sample/App1/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.DependencyInjection; 2 | using Microsoft.Extensions.Logging; 3 | using Microsoft.Maui.Controls.Hosting; 4 | using Microsoft.Maui.Hosting; 5 | 6 | namespace App1; 7 | 8 | public static class MauiProgram 9 | { 10 | public static MauiApp CreateMauiApp() 11 | { 12 | var builder = MauiApp.CreateBuilder(); 13 | builder 14 | .UseMauiApp() 15 | .ConfigureFonts(fonts => 16 | { 17 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 18 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 19 | }); 20 | 21 | builder.Logging.AddDebug(); 22 | 23 | builder.Services 24 | .AddSingleton() 25 | .AddSingleton() 26 | .AddScoped(); 27 | 28 | return builder.Build(); 29 | } 30 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/App1/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace App1; 6 | 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, 8 | ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | 9 | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 10 | public class MainActivity : MauiAppCompatActivity 11 | { 12 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace App1; 5 | 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/App1/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace App1; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/App1/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace App1; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.Maui; 3 | using Microsoft.Maui.Hosting; 4 | 5 | namespace App1; 6 | 7 | class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/App1/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/App1/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace App1.WinUI; 7 | 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/App1/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using Microsoft.Maui; 3 | using Microsoft.Maui.Hosting; 4 | 5 | namespace App1; 6 | 7 | [Register("AppDelegate")] 8 | public class AppDelegate : MauiUIApplicationDelegate 9 | { 10 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 11 | } -------------------------------------------------------------------------------- /sample/App1/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace App1; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } -------------------------------------------------------------------------------- /sample/App1/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/App1/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/App1/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/App1/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/App1/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/App1/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/App1/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/App1/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/App1/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/DalluiApp/App.cs: -------------------------------------------------------------------------------- 1 | namespace DalluiApp; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | this 8 | .Resources(AppStyles.Default) 9 | .MainPage(new AppShell()); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/DalluiApp/AppShell.cs: -------------------------------------------------------------------------------- 1 | namespace DalluiApp 2 | { 3 | public partial class AppShell : Shell 4 | { 5 | public AppShell() 6 | { 7 | this 8 | .FlyoutBehavior(FlyoutBehavior.Disabled) 9 | .ShellNavBarIsVisible(false) 10 | .Items( 11 | new ShellContent() 12 | .Title("DashboardView") 13 | .ContentTemplate(() => new DashboardView()) 14 | .Route(nameof(DashboardView)), 15 | 16 | new ShellContent() 17 | .Title("GenerationOptionsView") 18 | .ContentTemplate(() => new GenerationOptionsView()) 19 | .Route(nameof(GenerationOptionsView)), 20 | 21 | new ShellContent() 22 | .Title("ImageGeneratorView") 23 | .ContentTemplate(() => new ImageGeneratorView()) 24 | .Route(nameof(ImageGeneratorView)) 25 | ); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sample/DalluiApp/Imports.cs: -------------------------------------------------------------------------------- 1 | global using DalluiApp; 2 | global using DalluiApp.Views; 3 | global using DalluiApp.Models; 4 | 5 | global using PanCardView; 6 | global using PanCardView.Processors; 7 | global using CommunityToolkit.Maui; 8 | global using CommunityToolkit.Maui.Converters; 9 | global using Microsoft.Maui.Controls.Shapes; 10 | global using SkiaSharp.Views.Maui.Controls.Hosting; 11 | global using SkiaSharp.Extended.UI.Controls; 12 | 13 | // Markup FmgLib 14 | global using FmgLib.MauiMarkup; 15 | global using static Microsoft.Maui.Controls.FontAttributes; 16 | global using static Microsoft.Maui.Controls.LayoutAlignment; 17 | // Static 18 | global using static Microsoft.Maui.Graphics.Colors; 19 | global using Microsoft.Maui.Controls; 20 | -------------------------------------------------------------------------------- /sample/DalluiApp/Models/ArtStyle.cs: -------------------------------------------------------------------------------- 1 | namespace DalluiApp.Models; 2 | 3 | public class ArtStyle 4 | { 5 | public string Name { get; set; } 6 | public string ImageUrl { get; set; } 7 | } 8 | -------------------------------------------------------------------------------- /sample/DalluiApp/Models/GeneratedImage.cs: -------------------------------------------------------------------------------- 1 | namespace DalluiApp.Models; 2 | 3 | public class GeneratedImage 4 | { 5 | public string ImagePath { get; set; } 6 | public string MainKeyword { get; set; } 7 | public List Keywords { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /sample/DalluiApp/Models/Profile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace DalluiApp.Models; 8 | 9 | public class Profile 10 | { 11 | public string ProfileImage { get; set; } 12 | public string Name { get; set; } 13 | public int NoPhotos { get; set; } 14 | } 15 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace DalluiApp 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace DalluiApp 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace DalluiApp 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace DalluiApp 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | using Microsoft.Maui.Hosting; 3 | using System; 4 | 5 | namespace DalluiApp 6 | { 7 | internal class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace DalluiApp.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace DalluiApp 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/DalluiApp/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace DalluiApp 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/DalluiApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/DalluiApp/README.md: -------------------------------------------------------------------------------- 1 | ![Ekran görüntüsü 2024-07-27 125748](https://github.com/user-attachments/assets/92ca116a-55cf-4f7e-a3af-d93fc73dfbda) 2 | ![Ekran görüntüsü 2024-07-27 125833](https://github.com/user-attachments/assets/b794ffd2-43ff-47c1-afcd-9b4a9e8b76ad) 3 | ![Ekran görüntüsü 2024-07-27 125841](https://github.com/user-attachments/assets/04f62d15-b4fc-4f18-a7f3-d77bbdde4083) 4 | ![Ekran görüntüsü 2024-07-27 125849](https://github.com/user-attachments/assets/8c595f1a-0df4-40be-b7d0-c3e10fca9322) 5 | ![Ekran görüntüsü 2024-07-27 125855](https://github.com/user-attachments/assets/d8f3f980-cce5-40a9-9f14-4c93fd41e349) 6 | 7 | 8 | https://github.com/user-attachments/assets/7d3d4462-4d54-4ec5-96f1-6c88c26dea7c 9 | 10 | -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Fonts/Nexa-ExtraLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Fonts/Nexa-ExtraLight.ttf -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Fonts/Nexa-Heavy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Fonts/Nexa-Heavy.ttf -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/anime.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/anime.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/cartoon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/cartoon.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/dashboard1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/dashboard1.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/dashboard2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/dashboard2.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/dashboard3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/dashboard3.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/funko.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/funko.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/isometric.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/isometric.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/minimalism.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/minimalism.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/popart.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/popart.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/profile1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/profile1.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/profile2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/profile2.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/profile3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/profile3.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/profilesquare.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/profilesquare.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/realistic.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/realistic.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/storybook.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/storybook.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/surrealism.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/surrealism.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Images/watercolor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/DalluiApp/Resources/Images/watercolor.jpg -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/DalluiApp/Resources/Styles/AppColors.cs: -------------------------------------------------------------------------------- 1 | namespace DalluiApp 2 | { 3 | public class AppColors 4 | { 5 | public static readonly Color Primary = Color.FromArgb("512BD4"); 6 | public static readonly Color Secondary = Color.FromArgb("DFD8F7"); 7 | public static readonly Color Tertiary = Color.FromArgb("2B0B98"); 8 | 9 | public static readonly Color Gray100 = Color.FromArgb("E1E1E1"); 10 | public static readonly Color Gray200 = Color.FromArgb("C8C8C8"); 11 | public static readonly Color Gray300 = Color.FromArgb("ACACAC"); 12 | public static readonly Color Gray400 = Color.FromArgb("919191"); 13 | public static readonly Color Gray500 = Color.FromArgb("6E6E6E"); 14 | public static readonly Color Gray600 = Color.FromArgb("404040"); 15 | public static readonly Color Gray900 = Color.FromArgb("212121"); 16 | public static readonly Color Gray950 = Color.FromArgb("141414"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/F1TV/App.cs: -------------------------------------------------------------------------------- 1 | using CommunityToolkit.Maui.Behaviors; 2 | 3 | namespace F1TV; 4 | 5 | public partial class App : Application 6 | { 7 | public App() 8 | { 9 | this 10 | .Resources(AppStyles.Default) 11 | .MainPage(new AppShell()); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /sample/F1TV/AppShell.cs: -------------------------------------------------------------------------------- 1 | namespace F1TV 2 | { 3 | public partial class AppShell : Shell 4 | { 5 | public AppShell() 6 | { 7 | this 8 | .FlyoutBehavior(FlyoutBehavior.Disabled) 9 | .Items( 10 | new ShellContent() 11 | .Title("Home") 12 | .ContentTemplate(() => new MainPage()) 13 | .Route(nameof(MainPage)) 14 | ); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/F1TV/Imports.cs: -------------------------------------------------------------------------------- 1 | global using F1TV; 2 | global using F1TV.Helpers; 3 | // Markup FmgLib 4 | global using FmgLib.MauiMarkup; 5 | 6 | global using CommunityToolkit.Maui; 7 | global using CommunityToolkit.Maui.Behaviors; 8 | global using Microsoft.Maui.Layouts; 9 | global using Microsoft.Maui.Controls.Shapes; 10 | global using static Microsoft.Maui.Controls.FontAttributes; 11 | global using static Microsoft.Maui.Controls.LayoutAlignment; 12 | // Static 13 | global using static Microsoft.Maui.Graphics.Colors; 14 | global using MC = Microsoft.Maui.Controls; 15 | -------------------------------------------------------------------------------- /sample/F1TV/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Logging; 2 | 3 | namespace F1TV; 4 | 5 | [MauiMarkup(typeof(StatusBarBehavior))] 6 | public static class MauiProgram 7 | { 8 | public static MauiApp CreateMauiApp() 9 | { 10 | var builder = MauiApp.CreateBuilder(); 11 | builder 12 | .UseMauiApp() 13 | .UseMauiCommunityToolkit() 14 | .ConfigureFonts(fonts => 15 | { 16 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 17 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 18 | fonts.AddFont("materialdesignicons-webfont.ttf", "IconFontTypes"); 19 | }); 20 | 21 | builder.Logging.AddDebug(); 22 | 23 | builder.Services 24 | .AddSingleton() 25 | .AddSingleton() 26 | .AddScoped(); 27 | 28 | return builder.Build(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace F1TV 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace F1TV 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace F1TV 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace F1TV 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | using Microsoft.Maui.Hosting; 3 | using System; 4 | 5 | namespace F1TV 6 | { 7 | internal class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace F1TV.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace F1TV 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/F1TV/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace F1TV 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/F1TV/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/F1TV/README.md: -------------------------------------------------------------------------------- 1 | ![Ekran görüntüsü 2024-08-04 175242](https://github.com/user-attachments/assets/947567fa-70d7-4706-8d10-4008fe6f50c6) 2 | -------------------------------------------------------------------------------- /sample/F1TV/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/F1TV/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/F1TV/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/F1TV/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/F1TV/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/F1TV/Resources/Fonts/materialdesignicons-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/F1TV/Resources/Fonts/materialdesignicons-webfont.ttf -------------------------------------------------------------------------------- /sample/F1TV/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/F1TV/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/F1TV/Resources/Images/leclerc.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/F1TV/Resources/Images/leclerc.jpg -------------------------------------------------------------------------------- /sample/F1TV/Resources/Images/redoutline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/F1TV/Resources/Images/redoutline.png -------------------------------------------------------------------------------- /sample/F1TV/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/F1TV/Resources/Styles/AppColors.cs: -------------------------------------------------------------------------------- 1 | namespace F1TV 2 | { 3 | public class AppColors 4 | { 5 | public static readonly Color Primary = Color.FromArgb("512BD4"); 6 | public static readonly Color Secondary = Color.FromArgb("DFD8F7"); 7 | public static readonly Color Tertiary = Color.FromArgb("2B0B98"); 8 | 9 | public static readonly Color Gray100 = Color.FromArgb("E1E1E1"); 10 | public static readonly Color Gray200 = Color.FromArgb("C8C8C8"); 11 | public static readonly Color Gray300 = Color.FromArgb("ACACAC"); 12 | public static readonly Color Gray400 = Color.FromArgb("919191"); 13 | public static readonly Color Gray500 = Color.FromArgb("6E6E6E"); 14 | public static readonly Color Gray600 = Color.FromArgb("404040"); 15 | public static readonly Color Gray900 = Color.FromArgb("212121"); 16 | public static readonly Color Gray950 = Color.FromArgb("141414"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/FruitApp/App.cs: -------------------------------------------------------------------------------- 1 | namespace FruitApp; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | this 8 | .Resources(AppStyles.Default) 9 | .MainPage(new MainPage()); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/FruitApp/Imports.cs: -------------------------------------------------------------------------------- 1 | // Markup FmgLib 2 | global using FmgLib.MauiMarkup; 3 | global using FruitApp; 4 | global using FruitApp.Models; 5 | global using Xe.AcrylicView; 6 | global using Xe.AcrylicView.Controls; 7 | global using static Microsoft.Maui.Controls.FontAttributes; 8 | global using static Microsoft.Maui.Controls.LayoutAlignment; 9 | // Static 10 | global using static Microsoft.Maui.Graphics.Colors; 11 | global using MC = Microsoft.Maui.Controls; 12 | -------------------------------------------------------------------------------- /sample/FruitApp/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Logging; 2 | 3 | namespace FruitApp; 4 | 5 | [MauiMarkup(typeof(AcrylicView))] 6 | public static class MauiProgram 7 | { 8 | public static MauiApp CreateMauiApp() 9 | { 10 | var builder = MauiApp.CreateBuilder(); 11 | builder 12 | .UseMauiApp() 13 | .UseAcrylicView() 14 | .ConfigureFonts(fonts => 15 | { 16 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 17 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 18 | fonts.AddFont("Roboto-Bold.ttf", "Bold"); 19 | fonts.AddFont("Roboto-Regular.ttf", "Regular"); 20 | }); 21 | 22 | builder.Logging.AddDebug(); 23 | 24 | builder.Services 25 | .AddSingleton() 26 | .AddScoped(); 27 | 28 | return builder.Build(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /sample/FruitApp/Models/FruitInformation.cs: -------------------------------------------------------------------------------- 1 | namespace FruitApp.Models; 2 | 3 | public class FruitInformation 4 | { 5 | public string Micronutrient { get; set; } 6 | public int Percentage { get; set; } 7 | } 8 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace FruitApp 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace FruitApp 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace FruitApp 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace FruitApp 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | using Microsoft.Maui.Hosting; 3 | using System; 4 | 5 | namespace FruitApp 6 | { 7 | internal class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace FruitApp.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace FruitApp 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/FruitApp/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace FruitApp 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/FruitApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/FruitApp/README.md: -------------------------------------------------------------------------------- 1 | ![Ekran görüntüsü 2024-07-27 130630](https://github.com/user-attachments/assets/edc9e114-701f-4c74-8ca7-270e4746a52f) 2 | -------------------------------------------------------------------------------- /sample/FruitApp/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/FruitApp/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/FruitApp/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/FruitApp/Resources/Fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/FruitApp/Resources/Fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/FruitApp/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Images/papaya.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/FruitApp/Resources/Images/papaya.png -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/FruitApp/Resources/Styles/AppColors.cs: -------------------------------------------------------------------------------- 1 | namespace FruitApp 2 | { 3 | public class AppColors 4 | { 5 | public static readonly Color Primary = Color.FromArgb("512BD4"); 6 | public static readonly Color Secondary = Color.FromArgb("DFD8F7"); 7 | public static readonly Color Tertiary = Color.FromArgb("2B0B98"); 8 | 9 | public static readonly Color Gray100 = Color.FromArgb("E1E1E1"); 10 | public static readonly Color Gray200 = Color.FromArgb("C8C8C8"); 11 | public static readonly Color Gray300 = Color.FromArgb("ACACAC"); 12 | public static readonly Color Gray400 = Color.FromArgb("919191"); 13 | public static readonly Color Gray500 = Color.FromArgb("6E6E6E"); 14 | public static readonly Color Gray600 = Color.FromArgb("404040"); 15 | public static readonly Color Gray900 = Color.FromArgb("212121"); 16 | public static readonly Color Gray950 = Color.FromArgb("141414"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/Game2048/App.cs: -------------------------------------------------------------------------------- 1 | namespace Game2048Maui; 2 | 3 | public partial class App : Application 4 | { 5 | public App(IServiceProvider service) 6 | { 7 | this 8 | .Resources(AppStyles.Default) 9 | .MainPage(new NavigationPage(service.GetService())); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/Game2048/Enums/Direction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Game2048Maui.Enums 3 | { 4 | public enum Direction 5 | { 6 | Left, 7 | Down, 8 | Right, 9 | Up, 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /sample/Game2048/Enums/LevelState.cs: -------------------------------------------------------------------------------- 1 | namespace Game2048Maui.Enums 2 | { 3 | public enum LevelState 4 | { 5 | None, 6 | Playing, 7 | Complete, 8 | GameOver 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/Game2048/Imports.cs: -------------------------------------------------------------------------------- 1 | // Markup FmgLib 2 | global using FmgLib.MauiMarkup; 3 | global using CommunityToolkit.Maui; 4 | global using Microsoft.Extensions.Logging; 5 | global using SkiaSharp.Views.Maui.Controls.Hosting; 6 | global using SkiaSharp.Extended.UI.Controls; 7 | 8 | global using Game2048Maui; 9 | global using Game2048Maui.Behaviors; 10 | global using Game2048Maui.Converters; 11 | global using Game2048Maui.Data; 12 | global using Game2048Maui.Enums; 13 | global using Game2048Maui.Models; 14 | global using Game2048Maui.ViewModels; 15 | 16 | 17 | global using static Microsoft.Maui.Controls.FontAttributes; 18 | global using static Microsoft.Maui.Controls.LayoutAlignment; 19 | // Static 20 | global using static Microsoft.Maui.Graphics.Colors; 21 | global using Path = Microsoft.Maui.Controls.Shapes.Path; 22 | global using MC = Microsoft.Maui.Controls; 23 | -------------------------------------------------------------------------------- /sample/Game2048/Models/NumberTile.cs: -------------------------------------------------------------------------------- 1 | using CommunityToolkit.Mvvm.ComponentModel; 2 | using MvvmHelpers; 3 | using ObservableObject = CommunityToolkit.Mvvm.ComponentModel.ObservableObject; 4 | 5 | namespace Game2048Maui.Models 6 | { 7 | public partial class NumberTile : ObservableObject 8 | { 9 | public int Index { get; set; } 10 | 11 | [ObservableProperty] 12 | private bool isNewMatchGenerated; 13 | 14 | [ObservableProperty] 15 | private bool isNewNumberGenerated; 16 | 17 | [ObservableProperty] 18 | private bool isNumberMultiplied; 19 | 20 | [ObservableProperty] 21 | private string number; 22 | } 23 | } -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace Game2048Maui 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace Game2048Maui 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace Game2048Maui 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace Game2048Maui 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | using Microsoft.Maui.Hosting; 3 | using System; 4 | 5 | namespace Game2048Maui 6 | { 7 | internal class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace Game2048Maui.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace Game2048Maui 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/Game2048/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace Game2048Maui 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/Game2048/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/Game2048/README.md: -------------------------------------------------------------------------------- 1 | ![Ekran görüntüsü 2024-08-04 130550](https://github.com/user-attachments/assets/69b53775-1455-4d41-8db6-a11903051c2f) 2 | ![Ekran görüntüsü 2024-08-04 130643](https://github.com/user-attachments/assets/df6d2a0f-ac7d-4261-a33c-e07865bb5e58) 3 | -------------------------------------------------------------------------------- /sample/Game2048/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/Game2048/Resources/Fonts/OpenSans-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Fonts/OpenSans-Bold.ttf -------------------------------------------------------------------------------- /sample/Game2048/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/Game2048/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/Game2048/Resources/Fonts/Poppins-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Fonts/Poppins-Bold.ttf -------------------------------------------------------------------------------- /sample/Game2048/Resources/Fonts/Poppins-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Fonts/Poppins-Regular.ttf -------------------------------------------------------------------------------- /sample/Game2048/Resources/Fonts/Poppins-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Fonts/Poppins-SemiBold.ttf -------------------------------------------------------------------------------- /sample/Game2048/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/Game2048/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/Game2048/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/GeneratedExam/GeneratedExam.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Exe 5 | net9.0 6 | enable 7 | enable 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /sample/GeneratedExam/MyClass.cs: -------------------------------------------------------------------------------- 1 | using FmgLib.MauiMarkup; 2 | 3 | namespace GeneratedExam; 4 | 5 | [MauiMarkup(typeof(ZXing.Net.Maui.Controls.BarcodeGeneratorView))] 6 | public class MyBarcodeGeneratorView { } 7 | 8 | [MauiMarkup(typeof(ZXing.Net.Maui.Controls.CameraView))] 9 | public class MyCameraView { } 10 | 11 | 12 | [MauiMarkup(typeof(SkiaSharp.Extended.UI.Controls.SKLottieView), typeof(ZXing.Net.Maui.Controls.CameraBarcodeReaderView),typeof(KeyboardAccelerator))] 13 | public class MySkLottieView { } 14 | -------------------------------------------------------------------------------- /sample/GeneratedExam/Program.cs: -------------------------------------------------------------------------------- 1 |  2 | using FmgLib.MauiMarkup; 3 | //new ZXing.Net.Maui.Controls.CameraView().Height(20); 4 | 5 | using SkiaSharp.Extended.UI.Controls; 6 | 7 | Console.WriteLine($" dosyası oluşturuldu."); 8 | 9 | new SKLottieView().RepeatCount(10).RepeatMode(SKLottieRepeatMode.Reverse); -------------------------------------------------------------------------------- /sample/MatchingImage/App.cs: -------------------------------------------------------------------------------- 1 | namespace MatchingImage; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | this 8 | .Resources(AppStyles.Default) 9 | .MainPage(new MainPage()); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/MatchingImage/CardView.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui.Controls.Shapes; 2 | 3 | namespace MatchingImage; 4 | 5 | public partial class CardView : ContentView 6 | { 7 | public static readonly BindableProperty CardImageProperty = 8 | BindableProperty.Create(nameof(CardImage), typeof(string), typeof(CardView), "ac1", BindingMode.TwoWay); 9 | 10 | public string CardImage 11 | { 12 | get => (string)GetValue(CardImageProperty); 13 | set => SetValue(CardImageProperty, value); 14 | } 15 | 16 | 17 | public CardView() 18 | { 19 | this 20 | .BindingContext(this) 21 | .Content( 22 | new Border() 23 | .SizeRequest(100,140) 24 | .StrokeShape(new RoundRectangle().CornerRadius(10)) 25 | .Content( 26 | new Image().Source(e => e.Path("CardImage")) 27 | ) 28 | ); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /sample/MatchingImage/Imports.cs: -------------------------------------------------------------------------------- 1 | // Markup FmgLib 2 | global using FmgLib.MauiMarkup; 3 | global using MatchingImage; 4 | global using Microsoft.Maui.Controls.Shapes; 5 | global using static Microsoft.Maui.Controls.FontAttributes; 6 | global using static Microsoft.Maui.Controls.LayoutAlignment; 7 | // Static 8 | global using static Microsoft.Maui.Graphics.Colors; 9 | global using MC = Microsoft.Maui.Controls; 10 | -------------------------------------------------------------------------------- /sample/MatchingImage/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Logging; 2 | 3 | namespace MatchingImage; 4 | 5 | [MauiMarkup(typeof(CardView))] 6 | public static class MauiProgram 7 | { 8 | public static MauiApp CreateMauiApp() 9 | { 10 | var builder = MauiApp.CreateBuilder(); 11 | builder 12 | .UseMauiApp() 13 | .ConfigureFonts(fonts => 14 | { 15 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 16 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 17 | }); 18 | 19 | builder.Logging.AddDebug(); 20 | 21 | builder.Services 22 | .AddSingleton() 23 | .AddScoped(); 24 | 25 | return builder.Build(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace MatchingImage 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace MatchingImage 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace MatchingImage 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace MatchingImage 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | using Microsoft.Maui.Hosting; 3 | using System; 4 | 5 | namespace MatchingImage 6 | { 7 | internal class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace MatchingImage.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace MatchingImage 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/MatchingImage/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace MatchingImage 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MatchingImage/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/MatchingImage/README.md: -------------------------------------------------------------------------------- 1 | ![Ekran görüntüsü 2024-08-04 151005](https://github.com/user-attachments/assets/285be872-37f1-48eb-9835-e7004a3ef115) 2 | ![Ekran görüntüsü 2024-08-04 151025](https://github.com/user-attachments/assets/9b8bc9bb-6ea5-48e0-ae37-6633e57cd6b0) 3 | -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/apricot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/apricot.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/banana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/banana.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/leaf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/leaf.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/orange.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/peach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/peach.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/pear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/pear.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Images/strawberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MatchingImage/Resources/Images/strawberry.png -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/MatchingImage/Resources/Styles/AppColors.cs: -------------------------------------------------------------------------------- 1 | namespace MatchingImage 2 | { 3 | public class AppColors 4 | { 5 | public static readonly Color Primary = Color.FromArgb("512BD4"); 6 | public static readonly Color Secondary = Color.FromArgb("DFD8F7"); 7 | public static readonly Color Tertiary = Color.FromArgb("2B0B98"); 8 | 9 | public static readonly Color Gray100 = Color.FromArgb("E1E1E1"); 10 | public static readonly Color Gray200 = Color.FromArgb("C8C8C8"); 11 | public static readonly Color Gray300 = Color.FromArgb("ACACAC"); 12 | public static readonly Color Gray400 = Color.FromArgb("919191"); 13 | public static readonly Color Gray500 = Color.FromArgb("6E6E6E"); 14 | public static readonly Color Gray600 = Color.FromArgb("404040"); 15 | public static readonly Color Gray900 = Color.FromArgb("212121"); 16 | public static readonly Color Gray950 = Color.FromArgb("141414"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/App.cs: -------------------------------------------------------------------------------- 1 | namespace MyMauiMarkupApp; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | this 8 | .Resources(AppStyles.Default) 9 | .MainPage(new AppShell()); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/AppShell.cs: -------------------------------------------------------------------------------- 1 | namespace MyMauiMarkupApp; 2 | 3 | public partial class AppShell : Shell 4 | { 5 | public AppShell() 6 | { 7 | this 8 | .FlyoutBehavior(FlyoutBehavior.Disabled) 9 | .Items( 10 | new ShellContent() 11 | .Title("Home") 12 | .ContentTemplate(() => new MainPage()) 13 | .Route(nameof(MainPage)) 14 | ); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Imports.cs: -------------------------------------------------------------------------------- 1 | // Markup FmgLib 2 | global using FmgLib.MauiMarkup; 3 | global using FmgLib.MauiMarkup.Core; 4 | 5 | global using MyMauiMarkupApp; 6 | 7 | global using static Microsoft.Maui.Controls.FontAttributes; 8 | global using static Microsoft.Maui.Controls.LayoutAlignment; 9 | // Static 10 | global using static Microsoft.Maui.Graphics.Colors; 11 | global using static Microsoft.Maui.ScrollBarVisibility; 12 | global using static Microsoft.Maui.SwipeDirection; 13 | global using static Microsoft.Maui.SwipeMode; 14 | global using static Microsoft.Maui.TextType; 15 | global using static Microsoft.Maui.Visibility; 16 | 17 | global using MC = Microsoft.Maui.Controls; 18 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using MyMauiMarkupApp.Resources; 2 | 3 | namespace MyMauiMarkupApp; 4 | 5 | public static class MauiProgram 6 | { 7 | public static MauiApp CreateMauiApp() 8 | { 9 | var builder = MauiApp.CreateBuilder(); 10 | builder 11 | .UseMauiApp() 12 | .UseMauiMarkupLocalization("en-US") 13 | .UseMauiMarkupLocalizationWithResx(AppResources.ResourceManager, "en-US") 14 | .ConfigureFonts(fonts => 15 | { 16 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 17 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 18 | }); 19 | 20 | 21 | builder.Services 22 | .AddSingleton() 23 | .AddSingleton() 24 | .AddScoped(); 25 | 26 | return builder.Build(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace MyMauiMarkupApp 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace MyMauiMarkupApp 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace MyMauiMarkupApp 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | 3 | using UIKit; 4 | 5 | namespace MyMauiMarkupApp 6 | { 7 | public class Program 8 | { 9 | // This is the main entry point of the application. 10 | static void Main(string[] args) 11 | { 12 | // if you want to use a different Application Delegate class from "AppDelegate" 13 | // you can specify it here. 14 | UIApplication.Main(args, null, typeof(AppDelegate)); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | using Microsoft.Maui; 4 | using Microsoft.Maui.Hosting; 5 | 6 | namespace MyMauiMarkupApp 7 | { 8 | internal class Program : MauiApplication 9 | { 10 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 11 | 12 | static void Main(string[] args) 13 | { 14 | var app = new Program(); 15 | app.Run(args); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace MyMauiMarkupApp.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace MyMauiMarkupApp 4 | { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | 3 | using UIKit; 4 | 5 | namespace MyMauiMarkupApp 6 | { 7 | public class Program 8 | { 9 | // This is the main entry point of the application. 10 | static void Main(string[] args) 11 | { 12 | // if you want to use a different Application Delegate class from "AppDelegate" 13 | // you can specify it here. 14 | UIApplication.Main(args, null, typeof(AppDelegate)); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyMauiMarkupApp/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyMauiMarkupApp/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyMauiMarkupApp/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /sample/MyMauiMarkupApp/Resources/Raw/Localization.json: -------------------------------------------------------------------------------- 1 | { 2 | "Hello": { 3 | "tr-TR": "Merhaba Dünya!", 4 | "en-US": "Hello World!" 5 | }, 6 | "Msg": { 7 | "tr-TR": "FmgLib .NET MAUI Markup App hoşgeldiniz", 8 | "en-US": "Welcome to FmgLib .NET MAUI Markup App" 9 | } 10 | } -------------------------------------------------------------------------------- /sample/MyOrderApp/App.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp; 2 | 3 | public partial class App : Application 4 | { 5 | public static string AuthKey = string.Empty; 6 | 7 | public App(IServiceProvider services) 8 | { 9 | this 10 | .Resources(AppStyles.Default) 11 | .MainPage(services.GetService()); 12 | 13 | TemplateData template = new TemplateData(); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Converters/BoolToFavoriteImageConverter.cs: -------------------------------------------------------------------------------- 1 | using System.Globalization; 2 | 3 | namespace MyOrderApp.Converters; 4 | 5 | public class BoolToFavoriteImageConverter : IValueConverter 6 | { 7 | public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture) 8 | { 9 | var data = (bool)value; 10 | 11 | return data ? "favorite.png" : "not_favorite.png"; 12 | } 13 | 14 | public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) 15 | { 16 | throw new NotImplementedException(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Converters/BoolToFontSizeConverter.cs: -------------------------------------------------------------------------------- 1 | using System.Globalization; 2 | 3 | namespace MyOrderApp.Converters; 4 | 5 | public class BoolToFontSizeConverter : IValueConverter 6 | { 7 | public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture) 8 | { 9 | var data = (bool)value; 10 | 11 | return data ? 10 : 12; 12 | } 13 | 14 | public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) 15 | { 16 | throw new NotImplementedException(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Converters/BoolToTextDecorationConverter.cs: -------------------------------------------------------------------------------- 1 | using System.Globalization; 2 | 3 | namespace MyOrderApp.Converters; 4 | 5 | public class BoolToTextDecorationConverter : IValueConverter 6 | { 7 | public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture) 8 | { 9 | var data = (bool)value; 10 | 11 | return data ? TextDecorations.Strikethrough : TextDecorations.None; 12 | } 13 | 14 | public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) 15 | { 16 | throw new NotImplementedException(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Converters/TextLengthToBoolConverter.cs: -------------------------------------------------------------------------------- 1 | using System.Globalization; 2 | 3 | namespace MyOrderApp.Converters; 4 | 5 | public class TextLengthToBoolConverter : IValueConverter 6 | { 7 | public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture) 8 | { 9 | if (value == null) 10 | return false; 11 | 12 | return (int)value > 0 ? true : false; 13 | } 14 | 15 | public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture) 16 | { 17 | throw new NotImplementedException(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Helpers/AuthHelper.cs: -------------------------------------------------------------------------------- 1 | using System.Text; 2 | 3 | namespace MyOrderApp.Helpers; 4 | 5 | public static class AuthHelper 6 | { 7 | public static string BasicAuth(string username, string password) 8 | { 9 | string credentials = $"{username}:{password}"; 10 | byte[] credentialsBytes = Encoding.UTF8.GetBytes(credentials); 11 | string base64Credentials = Convert.ToBase64String(credentialsBytes); 12 | 13 | return base64Credentials; 14 | } 15 | 16 | public static (string, string) ParseBasicAuthToken(string authKey) 17 | { 18 | if (authKey == null) 19 | throw new ArgumentNullException(nameof(authKey)); 20 | 21 | byte[] bytes = Convert.FromBase64String(authKey); 22 | string credentials = Encoding.UTF8.GetString(bytes); 23 | var userInfo = credentials.Split(':', 2); 24 | 25 | return (userInfo[0], userInfo[1]); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /sample/MyOrderApp/HotReloadHandler.cs: -------------------------------------------------------------------------------- 1 | #if DEBUG 2 | using MyOrderApp; 3 | 4 | [assembly: System.Reflection.Metadata.MetadataUpdateHandler(typeof(HotReloadHandler))] 5 | namespace MyOrderApp; 6 | 7 | public static class HotReloadHandler 8 | { 9 | #pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 10 | public static event Action? UpdateApplicationEvent; 11 | #pragma warning restore CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 12 | 13 | internal static void ClearCache(Type[]? types) { } 14 | internal static void UpdateApplication(Type[]? types) 15 | { 16 | UpdateApplicationEvent?.Invoke(types); 17 | } 18 | } 19 | #endif -------------------------------------------------------------------------------- /sample/MyOrderApp/Imports.cs: -------------------------------------------------------------------------------- 1 | // .NET MAUI Toolkit 2 | global using CommunityToolkit.Maui; 3 | global using CommunityToolkit.Maui.Behaviors; 4 | global using CommunityToolkit.Maui.Converters; 5 | global using CommunityToolkit.Maui.Views; 6 | // MVVM Toolkit 7 | global using CommunityToolkit.Mvvm.ComponentModel; 8 | global using CommunityToolkit.Mvvm.Input; 9 | global using CommunityToolkit.Mvvm.Messaging; 10 | global using FmgLib.MauiMarkup; 11 | global using MyOrderApp; 12 | global using MyOrderApp.ViewModels; 13 | global using MyOrderApp.Views; 14 | global using MyOrderApp.Models; 15 | global using MyOrderApp.Repository; 16 | global using MyOrderApp.Converters; 17 | global using MyOrderApp.Extensions; 18 | // Static 19 | global using static Microsoft.Maui.Graphics.Colors; 20 | global using MC = Microsoft.Maui.Controls; 21 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Mappers/CategoryProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace MyOrderApp.Mappers; 4 | 5 | public class CategoryProfile : Profile 6 | { 7 | public CategoryProfile() 8 | { 9 | CreateMaps(); 10 | } 11 | 12 | private void CreateMaps() 13 | { 14 | CreateMap() 15 | .ForMember(dist => dist.Icon, opt => opt.MapFrom(src => "dotnet_bot.svg")); 16 | 17 | CreateMap(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Mappers/ProductProfile.cs: -------------------------------------------------------------------------------- 1 | using AutoMapper; 2 | 3 | namespace MyOrderApp.Mappers; 4 | 5 | public class ProductProfile : Profile 6 | { 7 | public ProductProfile() 8 | { 9 | CreateMaps(); 10 | } 11 | 12 | private void CreateMaps() 13 | { 14 | CreateMap() 15 | .ForMember(dist => dist.Image, opt => opt.MapFrom(src => "dotnet_bot.svg")) 16 | .ForMember(dist => dist.DiscountRate, opt => opt.MapFrom(src => $"-{src.DiscountRate}%")) 17 | .ForMember(dist => dist.Price, opt => opt.MapFrom(src => src.Price.ToString("0 ₺"))) 18 | .ForMember(dist => dist.DiscountPrice, opt => opt.MapFrom(src => (src.Price != default! ? (src.Price-(src.Price*src.DiscountRate/100)).ToString() : "0") +" ₺")); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/Basket.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class Basket :BaseModel 4 | { 5 | public List Products { get; set; } 6 | public decimal TotalPrice { get; set; } 7 | } 8 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/Category.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class Category : BaseModel 4 | { 5 | public string Name { get; set; } 6 | } 7 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/Common/BaseModel.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class BaseModel 4 | { 5 | public Guid Id { get; set; } 6 | public DateTime CreatedDate { get; set; } 7 | public DateTime UpdatedDate { get; set; } 8 | public bool IsActive { get; set; } 9 | } 10 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/Product.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class Product : BaseModel 4 | { 5 | public string Name { get; set; } 6 | public string Description { get; set; } 7 | public bool IsFavorite { get; set; } 8 | public string Unit { get; set; } 9 | public decimal Price { get; set; } 10 | public bool IsDiscount { get; set; } 11 | public int DiscountRate { get; set; } 12 | public string ImageId { get; set; } 13 | public Guid SubCategoryId { get; set; } 14 | } 15 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/SubCategory.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class SubCategory : BaseModel 4 | { 5 | public Guid CategoryId { get; set; } 6 | public string Name { get; set; } 7 | public string IconId { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/User.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class User : BaseModel 4 | { 5 | public string FullName { get; set; } 6 | public string Username { get; set; } 7 | public string Password { get; set; } 8 | } 9 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/ViewModels/BasketProductVM.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class BasketProductVM 4 | { 5 | public int Count { get; set; } 6 | public ProductVM Product { get; set; } 7 | public string TotalPrice => Product == null ? "0₺" : $"{decimal.Parse(Product.Price.Trim().Trim('₺')) * Count}₺"; 8 | } 9 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/ViewModels/BasketVM.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class BasketVM 4 | { 5 | public Guid Id { get; set; } 6 | public DateTime CreatedDate { get; set; } 7 | public DateTime UpdatedDate { get; set; } 8 | public bool IsActive { get; set; } 9 | public List Products { get; set; } 10 | public decimal TotalPrice { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/ViewModels/CategoryVM.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class CategoryVM 4 | { 5 | public Guid Id { get; set; } 6 | public DateTime CreatedDate { get; set; } 7 | public DateTime UpdatedDate { get; set; } 8 | public bool IsActive { get; set; } 9 | public string Name { get; set; } 10 | public List SubCategories { get; set; } 11 | } 12 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/ViewModels/ProductVM.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class ProductVM 4 | { 5 | public Guid Id { get; set; } 6 | public DateTime CreatedDate { get; set; } 7 | public DateTime UpdatedDate { get; set; } 8 | public bool IsActive { get; set; } 9 | public string Name { get; set; } 10 | public string Description { get; set; } 11 | public bool IsFavorite { get; set; } 12 | public string Unit { get; set; } 13 | public string Price { get; set; } 14 | public bool IsDiscount { get; set; } 15 | public string DiscountRate { get; set; } 16 | public string DiscountPrice { get; set; } 17 | public string ImageId { get; set; } 18 | public ImageSource Image { get; set; } 19 | public Guid SubCategoryId { get; set; } 20 | } 21 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Models/ViewModels/SubCategoryVM.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Models; 2 | 3 | public class SubCategoryVM 4 | { 5 | public Guid Id { get; set; } 6 | public DateTime CreatedDate { get; set; } 7 | public DateTime UpdatedDate { get; set; } 8 | public bool IsActive { get; set; } 9 | public Guid CategoryId { get; set; } 10 | public string Name { get; set; } 11 | public string IconId { get; set; } 12 | public ImageSource Icon { get; set; } 13 | } 14 | -------------------------------------------------------------------------------- /sample/MyOrderApp/MyOrderApp.code-workspace: -------------------------------------------------------------------------------- 1 | { 2 | "folders": [ 3 | { 4 | "path": "." 5 | } 6 | ], 7 | "settings": {}, 8 | "extensions": { 9 | "recommendations": [ 10 | "ms-dotnettools.csharp", 11 | "ms-dotnettools.dotnet-maui", 12 | "VisualStudioExptTeam.vscodeintellicode" 13 | ] 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace MyOrderApp 6 | { 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace MyOrderApp 5 | { 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace MyOrderApp 4 | { 5 | [Register(nameof(AppDelegate))] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace MyOrderApp 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Maui; 2 | using Microsoft.Maui.Hosting; 3 | using System; 4 | 5 | namespace MyOrderApp 6 | { 7 | internal class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | appicon.xhigh.png 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace MyOrderApp.WinUI 7 | { 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace MyOrderApp 4 | { 5 | [Register(nameof(AppDelegate))] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace MyOrderApp 5 | { 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://json.schemastore.org/launchsettings.json", 3 | "profiles": { 4 | "Windows Machine": { 5 | "commandName": "MsixPackage", 6 | "nativeDebugging": false 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Abstract/ICategoryRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public interface ICategoryRepository : IGenericRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Abstract/IProductRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public interface IProductRepository :IGenericRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Abstract/ISubCategoryRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public interface ISubCategoryRepository :IGenericRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Abstract/IUserRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public interface IUserRepository : IGenericRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Common/IGenericRepository.cs: -------------------------------------------------------------------------------- 1 | using LiteDB; 2 | using System.Linq.Expressions; 3 | 4 | namespace MyOrderApp.Repository; 5 | 6 | public interface IGenericRepository where TModel : BaseModel 7 | { 8 | // QUERY 9 | List GetAll(); 10 | List GetAll(Expression> expression); 11 | 12 | TModel Get(Guid id); 13 | TModel Get(Expression> expression); 14 | 15 | int Count(); 16 | int Count(Expression> expression); 17 | 18 | // COMMAND 19 | bool Add(TModel model); 20 | bool Update(TModel model); 21 | bool Delete(Guid id); 22 | bool Delete(Expression> expression); 23 | 24 | string UploadFile(string fileName, byte[] data); 25 | byte[] DownloadFile(string fileId); 26 | 27 | ILiteCollection Table { get; } 28 | ILiteStorage Storage { get; } 29 | 30 | void Save(); 31 | } 32 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Concrete/CategoryRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public class CategoryRepository : GenericRepository, ICategoryRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Concrete/ProductRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public class ProductRepository : GenericRepository, IProductRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Concrete/SubCategoryRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public class SubCategoryRepository : GenericRepository, ISubCategoryRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Repository/Concrete/UserRepository.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.Repository; 2 | 3 | public class UserRepository : GenericRepository, IUserRepository 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/AppColors.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp; 2 | 3 | public static class AppColors 4 | { 5 | public static readonly Color Primary = Color.FromArgb("512BD4"); 6 | public static readonly Color Secondary = Color.FromArgb("DFD8F7"); 7 | public static readonly Color Tertiary = Color.FromArgb("2B0B98"); 8 | 9 | public static readonly Color Gray100 = Color.FromArgb("E1E1E1"); 10 | public static readonly Color Gray200 = Color.FromArgb("C8C8C8"); 11 | public static readonly Color Gray300 = Color.FromArgb("ACACAC"); 12 | public static readonly Color Gray400 = Color.FromArgb("919191"); 13 | public static readonly Color Gray500 = Color.FromArgb("6E6E6E"); 14 | public static readonly Color Gray600 = Color.FromArgb("404040"); 15 | public static readonly Color Gray900 = Color.FromArgb("212121"); 16 | public static readonly Color Gray950 = Color.FromArgb("141414"); 17 | } 18 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Fonts/OpenSans-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Fonts/OpenSans-SemiBold.ttf -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/background.jpg -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/basket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/basket.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/categories.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/categories.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/chevron.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/favorite.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/favorites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/favorites.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/home.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/not_favorite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/not_favorite.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/products.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/products.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/remove.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Images/white_bread.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/sample/MyOrderApp/Resources/Images/white_bread.png -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories) and given a Build Action of "MauiAsset": 3 | 4 | 5 | 6 | These files will be deployed with you package and will be accessible using Essentials: 7 | 8 | async Task LoadMauiAsset() 9 | { 10 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 11 | using var reader = new StreamReader(stream); 12 | 13 | var contents = reader.ReadToEnd(); 14 | } 15 | -------------------------------------------------------------------------------- /sample/MyOrderApp/Resources/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /sample/MyOrderApp/ViewModels/Common/BaseViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.ViewModels; 2 | 3 | public partial class BaseViewModel : ObservableObject 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/ViewModels/LoadingPageViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace MyOrderApp.ViewModels; 2 | 3 | public partial class LoadingPageViewModel : BaseViewModel 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /sample/MyOrderApp/ViewModels/RegisterPageViewModel.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Input; 2 | 3 | namespace MyOrderApp.ViewModels; 4 | 5 | public partial class RegisterPageViewModel : BaseViewModel 6 | { 7 | private readonly IUserRepository _repository; 8 | 9 | [ObservableProperty] 10 | private User _user = new(); 11 | 12 | public RegisterPageViewModel(IUserRepository repository) 13 | { 14 | _repository = repository; 15 | } 16 | 17 | 18 | public ICommand RegisterCommand => new Command(async () => 19 | { 20 | var result = _repository.Add(User); 21 | 22 | if (result) 23 | { 24 | await Shell.Current.DisplayAlert("BİLGİ", "Kayıt Başarılı Olmuştur!", "OK"); 25 | await Shell.Current.GoToAsync($"//{nameof(LoginPage)}"); 26 | } 27 | else 28 | await Shell.Current.DisplayAlert("HATA", "Kayıt Başarısız Olmuştur!", "OK"); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup.Generator/Helpers/AttachedModel.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.CodeAnalysis; 2 | 3 | namespace FmgLib.MauiMarkup.Generator.Extensions; 4 | 5 | public class AttachedModel 6 | { 7 | public INamedTypeSymbol MainSymbol { get; set; } 8 | public IFieldSymbol FieldSymbol { get; set; } 9 | public string PropertyName { get; set; } 10 | public string ReturnTypeName { get; set; } 11 | public string DeclaringTypeName { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Builder/IPropertyBuilder.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public interface IPropertyBuilder 4 | { 5 | PropertyContext Context { get; set; } 6 | 7 | bool Build() 8 | { 9 | return false; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Builder/IPropertySettersBuilder.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public interface IPropertySettersBuilder 4 | { 5 | PropertySettersContext Context { get; set; } 6 | 7 | bool Build() 8 | { 9 | return false; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Builder/ParameterReplacer.cs: -------------------------------------------------------------------------------- 1 | using System.Linq.Expressions; 2 | 3 | namespace FmgLib.MauiMarkup; 4 | 5 | public class ParameterReplacer : ExpressionVisitor 6 | { 7 | private readonly ParameterExpression _oldParameter; 8 | private readonly Expression _newParameter; 9 | 10 | public ParameterReplacer(ParameterExpression oldParameter, Expression newParameter) 11 | { 12 | _oldParameter = oldParameter; 13 | _newParameter = newParameter; 14 | } 15 | 16 | protected override Expression VisitParameter(ParameterExpression node) 17 | { 18 | return node == _oldParameter ? _newParameter : base.VisitParameter(node); 19 | } 20 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Builder/PropertySettersDynamicResourcesBuilder.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public sealed class PropertySettersDynamicResourcesBuilder : IPropertySettersBuilder 4 | { 5 | public PropertySettersContext Context { get; set; } 6 | 7 | string key = null; 8 | 9 | public PropertySettersDynamicResourcesBuilder(PropertySettersContext context) 10 | { 11 | Context = context; 12 | } 13 | 14 | public bool Build() 15 | { 16 | if (!string.IsNullOrEmpty(key)) 17 | { 18 | Context.XamlSetters.Add(new Setter { Property = Context.Property, Value = new Microsoft.Maui.Controls.Internals.DynamicResource(key) }); 19 | } 20 | 21 | return false; 22 | } 23 | 24 | public PropertySettersDynamicResourcesBuilder DynamicResource(string key) { this.key = key; return this; } 25 | } 26 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Context/PropertyContext.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public sealed class PropertyContext 4 | { 5 | public BindableObject BindableObject { get; set; } 6 | 7 | public BindableProperty Property { get; set; } 8 | 9 | public PropertyContext(BindableObject bindableObject, BindableProperty property) 10 | { 11 | BindableObject = bindableObject; 12 | Property = property; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Context/PropertySettersContext.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public sealed class PropertySettersContext 4 | { 5 | public List XamlSetters = new List(); 6 | 7 | public BindableProperty Property { get; set; } 8 | 9 | public PropertySettersContext(List xamlSetters, BindableProperty property) 10 | { 11 | XamlSetters = xamlSetters; 12 | Property = property; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Context/SetterContext.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public class SettersContext where T : BindableObject 4 | { 5 | public List XamlSetters = new List(); 6 | } 7 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Context/Setters.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public class Setters : List where T : BindableObject 4 | { 5 | public Setters(Func, SettersContext> buildSetters) 6 | { 7 | var settersContext = new SettersContext(); 8 | buildSetters(settersContext); 9 | foreach (var setter in settersContext.XamlSetters) 10 | this.Add(setter); 11 | } 12 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Extensions/ColorExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup.Core; 2 | 3 | public static class ColorExtension 4 | { 5 | public static Color ToColorFromArgb(this string code) 6 | => Color.FromArgb(code); 7 | 8 | public static Color ToColorFromRgba(this string code) 9 | => Color.FromRgba(code); 10 | 11 | public static Color ToColor(this string code) 12 | => Color.Parse(code); 13 | } 14 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Extensions/StyleExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static class StyleExtension 4 | { 5 | public static VisualStateGroupList GetVisualStateGroupList(this Style self) 6 | { 7 | VisualStateGroupList visualStateGroupList = null; 8 | Setter setter = self.Setters.FirstOrDefault((Setter e) => e.Property == VisualStateManager.VisualStateGroupsProperty); 9 | if (setter != null) 10 | { 11 | visualStateGroupList = setter.Value as VisualStateGroupList; 12 | } 13 | 14 | if (visualStateGroupList == null) 15 | { 16 | visualStateGroupList = new VisualStateGroupList(); 17 | Setter item = new Setter 18 | { 19 | Property = VisualStateManager.VisualStateGroupsProperty, 20 | Value = visualStateGroupList 21 | }; 22 | self.Setters.Add(item); 23 | } 24 | 25 | return visualStateGroupList; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Extensions/VisualStateGroupListExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static class VisualStateGroupListExtension 4 | { 5 | public static VisualStateGroup GetCommonStatesVisualStateGroup(this VisualStateGroupList self) 6 | { 7 | VisualStateGroup visualStateGroup = self.FirstOrDefault((VisualStateGroup e) => e.Name.Equals("CommonStates")); 8 | if (visualStateGroup == null) 9 | { 10 | visualStateGroup = new VisualStateGroup 11 | { 12 | Name = "CommonStates" 13 | }; 14 | self.Add(visualStateGroup); 15 | } 16 | 17 | return visualStateGroup; 18 | } 19 | 20 | public static void Add(this VisualStateGroupList self, VisualState visualState) 21 | { 22 | self.GetCommonStatesVisualStateGroup().States.Add(visualState); 23 | } 24 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Core/Visuals/INameScope.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public interface INameScope 4 | { 5 | object FindByName(string name); 6 | void RegisterName(string name, object scopedElement); 7 | void UnregisterName(string name); 8 | } 9 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/BindingConditionExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static partial class BindingConditionExtension 4 | { 5 | public static BindingCondition Binding(this BindingCondition self, Func bindingBuilder) 6 | { 7 | self.Binding = bindingBuilder(new Binding()); 8 | return self; 9 | } 10 | 11 | public static BindingCondition Binding(this BindingCondition self, BindingBase binding) 12 | { 13 | self.Binding = binding; 14 | return self; 15 | } 16 | 17 | public static BindingCondition Value(this BindingCondition self, object value) 18 | { 19 | self.Value = value; 20 | return self; 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/ElementTemplateExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static partial class ElementTemplateExtension 4 | { 5 | public static T LoadTemplate(this T self, 6 | Func loadTemplate) 7 | where T : ElementTemplate 8 | { 9 | self.LoadTemplate = loadTemplate; 10 | return self; 11 | } 12 | 13 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/FormattedStringExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class FormattedStringExtension 6 | { 7 | public static T Spans(this T self, 8 | IList spans) 9 | where T : FormattedString 10 | { 11 | foreach (var item in spans) 12 | self.Spans.Add(item); 13 | return self; 14 | } 15 | 16 | public static T Spans(this T self, 17 | params Span[] spans) 18 | where T : FormattedString 19 | { 20 | foreach (var item in spans) 21 | self.Spans.Add(item); 22 | return self; 23 | } 24 | 25 | public static T Spans(this T self, 26 | Func configure) 27 | where T : FormattedString 28 | { 29 | var spans = configure(); 30 | foreach (var item in spans) 31 | self.Spans.Add(item); 32 | return self; 33 | } 34 | 35 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/PinchGestureRecognizerExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class PinchGestureRecognizerExtension 6 | { 7 | public static PinchGestureRecognizer OnPinchUpdated(this PinchGestureRecognizer self, EventHandler handler) 8 | { 9 | self.PinchUpdated += handler; 10 | return self; 11 | } 12 | 13 | public static PinchGestureRecognizer OnPinchUpdated(this PinchGestureRecognizer self, Action action) 14 | { 15 | self.PinchUpdated += (o, arg) => action(self); 16 | return self; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/PropertyBindingBuilderExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static class PropertyBindingBuilderExtension 4 | { 5 | public static PropertyBindingBuilder Negate(this PropertyBindingBuilder self) 6 | { 7 | return self.Convert(e => !e).ConvertBack(e => !e); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/PropertyConditionExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class PropertyConditionExtension 6 | { 7 | public static PropertyCondition Property(this PropertyCondition self, 8 | BindableProperty property) 9 | { 10 | self.Property = property; 11 | return self; 12 | } 13 | 14 | public static PropertyCondition Value(this PropertyCondition self, 15 | object value) 16 | { 17 | self.Value = value; 18 | return self; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/PublicExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static class PublicExtension 4 | { 5 | public static T Assign(this T self, out T obj) where T : BindableObject 6 | { 7 | obj = self; 8 | return obj; 9 | } 10 | 11 | public static T InvokeOnElement(this T self, Action action) where T : BindableObject 12 | { 13 | action(self); 14 | return self; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/ShapesLineExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static partial class ShapesLineExtension 4 | { 5 | public static Microsoft.Maui.Controls.Shapes.Line Points(this Microsoft.Maui.Controls.Shapes.Line self, double X1, double Y1, double X2, double Y2) 6 | { 7 | self.SetValue(Microsoft.Maui.Controls.Shapes.Line.X1Property, X1); 8 | self.SetValue(Microsoft.Maui.Controls.Shapes.Line.X2Property, X2); 9 | self.SetValue(Microsoft.Maui.Controls.Shapes.Line.Y1Property, Y1); 10 | self.SetValue(Microsoft.Maui.Controls.Shapes.Line.Y2Property, Y2); 11 | return self; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/ShapesPathFigureExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static partial class ShapesPathFigureExtension 4 | { 5 | public static Microsoft.Maui.Controls.Shapes.PathFigure StartPoint(this Microsoft.Maui.Controls.Shapes.PathFigure self, 6 | double x, double y) 7 | { 8 | self.SetValue(Microsoft.Maui.Controls.Shapes.PathFigure.StartPointProperty, new Point(x, y)); 9 | return self; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/StateTriggerBaseExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class StateTriggerBaseExtension 6 | { 7 | public static T OnIsActiveChanged(this T self, EventHandler handler) 8 | where T : StateTriggerBase 9 | { 10 | self.IsActiveChanged += handler; 11 | return self; 12 | } 13 | 14 | public static T OnIsActiveChanged(this T self, Action action) 15 | where T : StateTriggerBase 16 | { 17 | self.IsActiveChanged += (o, arg) => action(self); 18 | return self; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/TableSectionBaseOfCellExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class TableSectionBaseOfCellExtension 6 | { 7 | public static T OnCollectionChanged(this T self, System.Collections.Specialized.NotifyCollectionChangedEventHandler handler) 8 | where T : TableSectionBase 9 | { 10 | self.CollectionChanged += handler; 11 | return self; 12 | } 13 | 14 | public static T OnCollectionChanged(this T self, Action action) 15 | where T : TableSectionBase 16 | { 17 | self.CollectionChanged += (o, arg) => action(self); 18 | return self; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/TableSectionBaseOfTableSectionExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class TableSectionBaseOfTableSectionExtension 6 | { 7 | public static T OnCollectionChanged(this T self, System.Collections.Specialized.NotifyCollectionChangedEventHandler handler) 8 | where T : TableSectionBase 9 | { 10 | self.CollectionChanged += handler; 11 | return self; 12 | } 13 | 14 | public static T OnCollectionChanged(this T self, Action action) 15 | where T : TableSectionBase 16 | { 17 | self.CollectionChanged += (o, arg) => action(self); 18 | return self; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/ToolTipPropertiesExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static partial class ToolTipPropertiesExtension 4 | { 5 | public static T ToolTipPropertiesText(this T view, string text) where T : View 6 | { 7 | ToolTipProperties.SetText(view, text); 8 | 9 | return view; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/ToolbarItemExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class ToolbarItemExtension 6 | { 7 | public static T Order(this T self, 8 | ToolbarItemOrder order) 9 | where T : ToolbarItem 10 | { 11 | self.Order = order; 12 | return self; 13 | } 14 | 15 | public static T Priority(this T self, 16 | int priority) 17 | where T : ToolbarItem 18 | { 19 | self.Priority = priority; 20 | return self; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Extensions/ViewCellExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | 4 | 5 | public static partial class ViewCellExtension 6 | { 7 | public static T View(this T self, 8 | View view) 9 | where T : ViewCell 10 | { 11 | self.View = view; 12 | return self; 13 | } 14 | 15 | public static T View(this T self, 16 | Func configure) 17 | where T : ViewCell 18 | { 19 | var view = configure(); 20 | self.View = view; 21 | return self; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Handlers/FmgLibHotReloadHandler.cs: -------------------------------------------------------------------------------- 1 | [assembly: System.Reflection.Metadata.MetadataUpdateHandler(typeof(FmgLib.MauiMarkup.FmgLibHotReloadHandler))] 2 | namespace FmgLib.MauiMarkup; 3 | 4 | public static class FmgLibHotReloadHandler 5 | { 6 | #pragma warning disable CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 7 | public static event Action? UpdateApplicationEvent; 8 | #pragma warning restore CS8632 // The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. 9 | 10 | internal static void ClearCache(Type[]? types) { } 11 | internal static void UpdateApplication(Type[]? types) 12 | { 13 | UpdateApplicationEvent?.Invoke(types); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Handlers/HotReloadExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Diagnostics; 2 | 3 | namespace FmgLib.MauiMarkup; 4 | 5 | public static class HotReloadExtensions 6 | { 7 | public static TPage InitializeHotReload(this TPage page) where TPage : IFmgLibHotReload 8 | { 9 | page.Build(); 10 | 11 | if (Debugger.IsAttached) 12 | { 13 | FmgLibHotReloadHandler.UpdateApplicationEvent += (types) => 14 | { 15 | if (types == null || types.Contains(page.GetType())) 16 | { 17 | MainThread.BeginInvokeOnMainThread(page.Build); 18 | } 19 | }; 20 | } 21 | 22 | return page; 23 | } 24 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Handlers/IFmgLibHotReload.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public interface IFmgLibHotReload 4 | { 5 | void Build(); 6 | } 7 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Localization/BaseTranslator.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel; 2 | using System.Globalization; 3 | 4 | namespace FmgLib.MauiMarkup.Localization; 5 | 6 | public abstract class BaseTranslator : INotifyPropertyChanged 7 | { 8 | public CultureInfo CurrentCulture { get; private set; } = CultureInfo.CurrentCulture; 9 | 10 | public void ChangeCulture(CultureInfo culture) 11 | { 12 | CurrentCulture = culture; 13 | OnPropertyChanged(); 14 | } 15 | 16 | public event PropertyChangedEventHandler? PropertyChanged; 17 | 18 | public void OnPropertyChanged() 19 | { 20 | PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(null)); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Localization/Extensions/TranslateExtension.cs: -------------------------------------------------------------------------------- 1 | using System.Globalization; 2 | 3 | namespace FmgLib.MauiMarkup; 4 | 5 | public static class TranslateExtension 6 | { 7 | public static string ToTranslate(this string key) 8 | { 9 | return Translator.Instance[key]; 10 | } 11 | 12 | public static string ToTranslate(this string key, string cultureName) 13 | { 14 | return Translator.Instance.TranslateString(key, CultureInfo.GetCultureInfo(cultureName)); 15 | } 16 | 17 | 18 | public static string ToTranslateResx(this string key) 19 | { 20 | return TranslatorResx.Instance[key]; 21 | } 22 | 23 | public static string ToTranslateResx(this string key, string cultureName) 24 | { 25 | return TranslatorResx.Instance.TranslateString(key, CultureInfo.GetCultureInfo(cultureName)); 26 | } 27 | } -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Localization/Extensions/TranslatorExtension.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static class TranslatorExtension 4 | { 5 | public static PropertyBindingBuilder Translate(this PropertyContext self, string key) 6 | { 7 | return new PropertyBindingBuilder(self).Path($"[{key}]").Source(Translator.Instance).BindingMode(BindingMode.OneWay); 8 | } 9 | 10 | public static PropertyBindingBuilder TranslateResx(this PropertyContext self, string key) 11 | { 12 | return new PropertyBindingBuilder(self).Path($"[{key}]").Source(TranslatorResx.Instance).BindingMode(BindingMode.OneWay); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Localization/LocalizationData.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup; 2 | 3 | public static class LocalizationData 4 | { 5 | public static Dictionary> Data { get; set; } 6 | } 7 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Localization/Translator.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel; 2 | using System.Globalization; 3 | using FmgLib.MauiMarkup.Localization; 4 | 5 | namespace FmgLib.MauiMarkup; 6 | 7 | public class Translator : BaseTranslator, INotifyPropertyChanged 8 | { 9 | public static Translator Instance { get; set; } = new Translator(); 10 | 11 | public string this[string key] 12 | { 13 | get 14 | { 15 | return LocalizationData.Data.GetTranslation(key, CurrentCulture.Name); 16 | } 17 | } 18 | 19 | public string TranslateString(string key, CultureInfo culture) 20 | { 21 | return LocalizationData.Data.GetTranslation(key, culture.Name); 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/Localization/TranslatorResx.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel; 2 | using System.Globalization; 3 | using System.Resources; 4 | using FmgLib.MauiMarkup.Localization; 5 | 6 | namespace FmgLib.MauiMarkup; 7 | 8 | public class TranslatorResx : BaseTranslator, INotifyPropertyChanged 9 | { 10 | internal static ResourceManager ResourceManager { get; set; } 11 | 12 | public static TranslatorResx Instance { get; set; } = new TranslatorResx(); 13 | 14 | public string this[string key] 15 | { 16 | get 17 | { 18 | return ResourceManager.GetString(key, CurrentCulture); 19 | } 20 | } 21 | 22 | public string TranslateString(string key, CultureInfo culture) 23 | { 24 | return ResourceManager.GetString(key, culture); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/FmgLib.MauiMarkup/nuget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/src/FmgLib.MauiMarkup/nuget.png -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/README.md: -------------------------------------------------------------------------------- 1 | ## Creating a new FmgLib.MauiMarkup project from CLI 2 | 3 | FmgLib provides a project template to start a new project with FmgLib.MauiMarkup. 4 | 5 | **Install latest templates from NuGet:** 6 | ```bash 7 | dotnet new install FmgLib.MauiMarkup.Template 8 | ``` 9 | 10 | 11 | **Create a new project:** 12 | 13 | ```bash 14 | dotnet new fmglib-mauimarkup-app -o my-new-project 15 | ``` -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/.template.config/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/.template.config/icon.ico -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/vs-2017.3.host", 3 | "icon": "icon.ico" 4 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/.template.config/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/template", 3 | "author": "FmgLib", 4 | "classifications": [ "MAUI", "Android", "iOS", "macOS", "Windows", "Mac Catalyst", "Tizen" ], 5 | "identity": "FmgLibMauiMarkupApp", 6 | "name": ".NET MAUI Markup App", 7 | "shortName": "fmglib-mauimarkup-app", 8 | "description": "C# Markup (No XAML) template for .NET MAUI application with Hotreload process.", 9 | "tags": { 10 | "language": "C#", 11 | "type": "project" 12 | }, 13 | "groupIdentity": "FmgLibMauiMarkupApp", 14 | "sourceName": "FmgLib.MauiMarkup.App", 15 | "preferNameDirectory": true, 16 | "guids": [ 17 | "e0cd07a0-669f-49cf-bda8-9f77d0c5ca77" 18 | ] 19 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/App.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup.App; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | this.Resources(new ResourceDictionary().MergedDictionaries(AppStyles.Default)); 8 | } 9 | 10 | protected override Window CreateWindow(IActivationState? activationState) => new Window(new AppShell()); 11 | } 12 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/AppShell.cs: -------------------------------------------------------------------------------- 1 | namespace FmgLib.MauiMarkup.App; 2 | 3 | public partial class AppShell : Shell 4 | { 5 | public AppShell() 6 | { 7 | this 8 | .FlyoutBehavior(FlyoutBehavior.Disabled) 9 | .Items( 10 | new ShellContent() 11 | .Title("Home") 12 | .ContentTemplate(() => new MainPage()) 13 | .Route(nameof(MainPage)) 14 | ); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Imports.cs: -------------------------------------------------------------------------------- 1 | global using FmgLib.MauiMarkup.App; 2 | 3 | // Markup FmgLib 4 | global using FmgLib.MauiMarkup; 5 | global using FmgLib.MauiMarkup.Core; 6 | 7 | // Static 8 | global using static Microsoft.Maui.Graphics.Colors; 9 | global using static Microsoft.Maui.Controls.FontAttributes; 10 | global using static Microsoft.Maui.Controls.LayoutAlignment; 11 | global using static Microsoft.Maui.ScrollBarVisibility; 12 | global using static Microsoft.Maui.SwipeMode; 13 | global using static Microsoft.Maui.SwipeDirection; 14 | global using static Microsoft.Maui.TextType; 15 | global using static Microsoft.Maui.Visibility; 16 | 17 | 18 | global using MC = Microsoft.Maui.Controls; 19 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Logging; 2 | 3 | namespace FmgLib.MauiMarkup.App; 4 | 5 | public static class MauiProgram 6 | { 7 | public static MauiApp CreateMauiApp() 8 | { 9 | var builder = MauiApp.CreateBuilder(); 10 | builder 11 | .UseMauiApp() 12 | .ConfigureFonts(fonts => 13 | { 14 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 15 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 16 | }); 17 | 18 | builder.Logging.AddDebug(); 19 | 20 | builder.Services 21 | .AddSingleton() 22 | .AddSingleton() 23 | .AddScoped(); 24 | 25 | return builder.Build(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace FmgLib.MauiMarkup.App; 6 | 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace FmgLib.MauiMarkup.App; 5 | 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace FmgLib.MauiMarkup.App; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace FmgLib.MauiMarkup.App; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.Maui; 3 | using Microsoft.Maui.Hosting; 4 | 5 | namespace FmgLib.MauiMarkup.App; 6 | 7 | class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace FmgLib.MauiMarkup.App.WinUI; 7 | 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace FmgLib.MauiMarkup.App; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace FmgLib.MauiMarkup.App; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Images/dotnet_bot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Images/dotnet_bot.png -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.App/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with you package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentPage/.template.config/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentPage/.template.config/icon.ico -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentPage/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "icon.ico", 4 | "appliesTo": "UseMaui", 5 | "defaultItemExtension": "cs", 6 | "itemHierarchyPaths": [ ".NET MAUI" ], 7 | "unsupportedHosts": [ 8 | { 9 | "id": "vs", 10 | "version": "(,17.3)" 11 | } 12 | ], 13 | "requiredComponents": [ 14 | { 15 | "id": "Microsoft.VisualStudio.ComponentGroup.Maui.All", 16 | "hostId": "vs", 17 | "componentType": "SetupComponent" 18 | } 19 | 20 | ] 21 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentPage/NewPage1.cs: -------------------------------------------------------------------------------- 1 | using FmgLib.MauiMarkup; 2 | 3 | namespace MauiApp1; 4 | 5 | public class NewPage1 : ContentPage, IFmgLibHotReload 6 | { 7 | public NewPage1() 8 | { 9 | this.InitializeHotReload(); 10 | } 11 | 12 | public void Build() 13 | { 14 | this 15 | .Title("NewPage1") 16 | .Content( 17 | new VerticalStackLayout() 18 | .Children( 19 | new Label() 20 | .Text("Welcome to .NET MAUI!") 21 | .Center() 22 | ) 23 | ); 24 | } 25 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentView/.template.config/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentView/.template.config/icon.ico -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentView/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/ide.host", 3 | "icon": "icon.ico", 4 | "appliesTo": "UseMaui", 5 | "defaultItemExtension": "cs", 6 | "itemHierarchyPaths": [ ".NET MAUI" ], 7 | "unsupportedHosts": [ 8 | { 9 | "id": "vs", 10 | "version": "(,17.3)" 11 | } 12 | ], 13 | "requiredComponents": [ 14 | { 15 | "id": "Microsoft.VisualStudio.ComponentGroup.Maui.All", 16 | "hostId": "vs", 17 | "componentType": "SetupComponent" 18 | } 19 | 20 | ] 21 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/content/FmgLib.MauiMarkup.ContentView/NewContent1.cs: -------------------------------------------------------------------------------- 1 | using FmgLib.MauiMarkup; 2 | 3 | namespace MauiApp1; 4 | 5 | public class NewContent1 : ContentView, IFmgLibHotReload 6 | { 7 | public NewContent1() 8 | { 9 | this.InitializeHotReload(); 10 | } 11 | 12 | public void Build() 13 | { 14 | this 15 | .Content( 16 | new VerticalStackLayout() 17 | .Children( 18 | new Label() 19 | .Text("Welcome to .NET MAUI!") 20 | .Center() 21 | ) 22 | ); 23 | } 24 | } -------------------------------------------------------------------------------- /templates/FmgLib.MauiMarkup.TemplateApp/nuget.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/templates/FmgLib.MauiMarkup.TemplateApp/nuget.png -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/CommunityToolkit.Maui.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/CommunityToolkit.Maui.Core.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/CommunityToolkit.Maui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/CommunityToolkit.Maui.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Data.v23.2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Data.v23.2.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.CollectionView.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.CollectionView.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.Controls.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.Controls.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.Core.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.Editors.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/DevExpress.Maui.Editors.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/FmgLib.MauiMarkup.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/FmgLib.MauiMarkup.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/InputKit.Maui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/InputKit.Maui.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.Behaviours.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.Behaviours.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.SkiaSharpView.Maui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.SkiaSharpView.Maui.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.SkiaSharpView.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.SkiaSharpView.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/LiveChartsCore.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Configuration.Abstractions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Configuration.Abstractions.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Configuration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Configuration.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.DependencyInjection.Abstractions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.DependencyInjection.Abstractions.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.DependencyInjection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.DependencyInjection.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Logging.Abstractions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Logging.Abstractions.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Logging.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Options.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Options.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Primitives.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Extensions.Primitives.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Controls.Compatibility.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Controls.Compatibility.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Controls.Xaml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Controls.Xaml.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Controls.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Controls.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Essentials.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Essentials.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Graphics.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.Graphics.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Microsoft.Maui.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/PanCardView.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/PanCardView.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Plainer.Maui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Plainer.Maui.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Extended.UI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Extended.UI.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Extended.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Extended.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.HarfBuzz.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.HarfBuzz.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.SceneGraph.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.SceneGraph.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Skottie.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Skottie.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Views.Maui.Controls.Compatibility.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Views.Maui.Controls.Compatibility.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Views.Maui.Controls.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Views.Maui.Controls.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Views.Maui.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.Views.Maui.Core.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/SkiaSharp.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Licensing.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Licensing.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.Core.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.Data.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.DataGrid.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.DataGrid.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.DataSource.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.DataSource.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.GridCommon.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.GridCommon.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.Inputs.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.Inputs.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.ListView.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.ListView.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.PullToRefresh.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/Syncfusion.Maui.PullToRefresh.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/UraniumUI.Material.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/UraniumUI.Material.dll -------------------------------------------------------------------------------- /tests/FmgLib.MauiMarkup.Generator.Test/DLLs/UraniumUI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FmgLib/FmgLib.MauiMarkup/c879e2229c36a3e99117bcef232e4aaccc3aab89/tests/FmgLib.MauiMarkup.Generator.Test/DLLs/UraniumUI.dll --------------------------------------------------------------------------------