From d4394383662171a9115737764c9cbfb9e404a47c Mon Sep 17 00:00:00 2001 From: generousllama541 <98273828+generousllama541@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:45:54 -0500 Subject: [PATCH] docs: remove invalid namespaces in code samples --- .../counterapp/get-started-counter-csharp-mvux.md | 2 -- .../counterapp/get-started-counter-csharp-mvvm.md | 2 -- .../counterapp/includes/include-mainpage-csharp.md | 1 - .../getting-started/counterapp/includes/include-mvux.md | 1 - .../getting-started/counterapp/includes/include-mvvm.md | 1 - 5 files changed, 7 deletions(-) diff --git a/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvux.md b/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvux.md index 5215c0a2e534..87cfdae5b5cb 100644 --- a/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvux.md +++ b/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvux.md @@ -136,8 +136,6 @@ Now that we have the **`MainViewModel`** class, we can update the **`MainPage`** - The final code for **MainPage.cs** should look like this: ```csharp - namespace Counter; - public sealed partial class MainPage : Page { public MainPage() diff --git a/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvvm.md b/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvvm.md index dfef72d04fc2..8d38008250d4 100644 --- a/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvvm.md +++ b/doc/articles/getting-started/counterapp/get-started-counter-csharp-mvvm.md @@ -136,8 +136,6 @@ Now that we have the **`MainViewModel`** class, we can update the **`MainPage`** - The final code for **MainPage.cs** should look like this: ```csharp - namespace Counter; - public sealed partial class MainPage : Page { public MainPage() diff --git a/doc/articles/getting-started/counterapp/includes/include-mainpage-csharp.md b/doc/articles/getting-started/counterapp/includes/include-mainpage-csharp.md index bc53065314fe..a8985fae4cab 100644 --- a/doc/articles/getting-started/counterapp/includes/include-mainpage-csharp.md +++ b/doc/articles/getting-started/counterapp/includes/include-mainpage-csharp.md @@ -1,7 +1,6 @@ The layout for the `MainPage` is defined in the **MainPage.cs** file. This file contains the C# Markup that defines the layout of the application. ```csharp -namespace Uno; public sealed partial class MainPage : Page { diff --git a/doc/articles/getting-started/counterapp/includes/include-mvux.md b/doc/articles/getting-started/counterapp/includes/include-mvux.md index 7551cea24bd6..e8b765451064 100644 --- a/doc/articles/getting-started/counterapp/includes/include-mvux.md +++ b/doc/articles/getting-started/counterapp/includes/include-mvux.md @@ -54,7 +54,6 @@ As part of creating the application, we selected MVUX as the presentation framew The final code for the `MainModel` class should look like this: ```csharp -namespace Counter; internal partial record Countable(int Count, int Step) { diff --git a/doc/articles/getting-started/counterapp/includes/include-mvvm.md b/doc/articles/getting-started/counterapp/includes/include-mvvm.md index f7b0c44233f0..995d41e059cb 100644 --- a/doc/articles/getting-started/counterapp/includes/include-mvvm.md +++ b/doc/articles/getting-started/counterapp/includes/include-mvvm.md @@ -37,7 +37,6 @@ As part of creating the application, we selected MVVM as the presentation framew The final code for the `MainViewModel` class should look like this: ```csharp -namespace Counter; internal partial class MainViewModel : ObservableObject {