Skip to content

Commit 602f7d5

Browse files
committed
Convert to file-scoped namespace
1 parent 9a22078 commit 602f7d5

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

CommunityToolkit.App.Shared/Pages/SettingsPage.xaml.cs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44

55
using Windows.ApplicationModel;
66

7-
namespace CommunityToolkit.App.Shared.Pages
7+
namespace CommunityToolkit.App.Shared.Pages;
8+
9+
/// <summary>
10+
/// An empty page that can be used on its own or navigated to within a Frame.
11+
/// </summary>
12+
public sealed partial class SettingsPage : Page
813
{
9-
/// <summary>
10-
/// An empty page that can be used on its own or navigated to within a Frame.
11-
/// </summary>
12-
public sealed partial class SettingsPage : Page
13-
{
14-
public string AppVersion => $"Version {Package.Current.Id.Version.Major}.{Package.Current.Id.Version.Minor}.{Package.Current.Id.Version.Build}";
14+
public string AppVersion => $"Version {Package.Current.Id.Version.Major}.{Package.Current.Id.Version.Minor}.{Package.Current.Id.Version.Build}";
1515

16-
public SettingsPage()
17-
{
18-
this.InitializeComponent();
19-
}
16+
public SettingsPage()
17+
{
18+
this.InitializeComponent();
2019
}
2120
}

0 commit comments

Comments
 (0)