Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: remove invalid namespaces in code samples (backport #18709) #18722

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
@@ -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
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
Loading