Skip to content

Commit

Permalink
Change namespace to NTS.Judge.MAUI in EMS.Judge.UI project
Browse files Browse the repository at this point in the history
  • Loading branch information
achobanov committed Feb 28, 2024
1 parent 0e102d2 commit 68378a1
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/v4/Judge/EMS.Judge.UI/App.xaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:EMS.Judge.UI"
x:Class="EMS.Judge.UI.App">
xmlns:local="clr-namespace:NTS.Judge.MAUI"
x:Class="NTS.Judge.MAUI.App">
<Application.Resources>
<ResourceDictionary>

Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Not.Startup;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;

public partial class App : Microsoft.Maui.Controls.Application
{
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/EMS.Judge.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>EMS.Judge.UI</RootNamespace>
<RootNamespace>NTS.Judge.MAUI</RootNamespace>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
4 changes: 2 additions & 2 deletions src/v4/Judge/EMS.Judge.UI/MainPage.xaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:EMS.Judge.UI"
x:Class="EMS.Judge.UI.MainPage"
xmlns:local="clr-namespace:NTS.Judge.MAUI"
x:Class="NTS.Judge.MAUI.MainPage"
BackgroundColor="{DynamicResource PageBackgroundColor}">

<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;

public partial class MainPage : ContentPage
{
Expand Down
4 changes: 2 additions & 2 deletions src/v4/Judge/EMS.Judge.UI/MauiProgram.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using EMS.Persistence.Startup;
using NTS.Persistence.Startup;
using Microsoft.Extensions.Logging;
using NTS.Judge.Blazor.Startup;
using Not.Injection;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;

public static class MauiProgram
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Android.Content.PM;
using Android.OS;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
public class MainActivity : MauiAppCompatActivity
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Android.App;
using Android.Runtime;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;
[Application]
public class MainApplication : MauiApplication
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Foundation;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;
[Register("AppDelegate")]
public class AppDelegate : MauiUIApplicationDelegate
{
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/Platforms/MacCatalyst/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ObjCRuntime;
using UIKit;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;

public class Program
{
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/Platforms/Tizen/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.Maui.Hosting;
using System;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;

internal class Program : MauiApplication
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="7" xmlns="http://tizen.org/ns/packages">
<profile name="common" />
<ui-application appid="maui-application-id-placeholder" exec="EMS.Judge.UI.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
<ui-application appid="maui-application-id-placeholder" exec="NTS.Judge.MAUI.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
<label>maui-application-title-placeholder</label>
<icon>maui-appicon-placeholder</icon>
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
Expand Down
4 changes: 2 additions & 2 deletions src/v4/Judge/EMS.Judge.UI/Platforms/Windows/App.xaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<maui:MauiWinUIApplication
x:Class="EMS.Judge.UI.WinUI.App"
x:Class="NTS.Judge.MAUI.WinUI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:maui="using:Microsoft.Maui"
xmlns:local="using:EMS.Judge.UI.WinUI">
xmlns:local="using:NTS.Judge.MAUI.WinUI">

</maui:MauiWinUIApplication>
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/Platforms/Windows/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.

namespace EMS.Judge.UI.WinUI;
namespace NTS.Judge.MAUI.WinUI;
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/Platforms/Windows/app.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="EMS.Judge.UI.WinUI.app"/>
<assemblyIdentity version="1.0.0.0" name="NTS.Judge.MAUI.WinUI.app"/>

<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/Platforms/iOS/AppDelegate.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Foundation;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;
[Register("AppDelegate")]
public class AppDelegate : MauiUIApplicationDelegate
{
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/Platforms/iOS/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ObjCRuntime;
using UIKit;

namespace EMS.Judge.UI;
namespace NTS.Judge.MAUI;
public class Program
{
// This is the main entry point of the application.
Expand Down
2 changes: 1 addition & 1 deletion src/v4/Judge/EMS.Judge.UI/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<title>EMS.Judge.UI</title>
<title>NTS.Judge.MAUI</title>
<base href="/" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
Expand Down

0 comments on commit 68378a1

Please sign in to comment.