Skip to content

Commit

Permalink
ocs: remove invalid namespaces in code samples
Browse files Browse the repository at this point in the history
  • Loading branch information
generousllama541 authored Nov 5, 2024
1 parent 2e409a8 commit c9a2c1b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
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

0 comments on commit c9a2c1b

Please sign in to comment.