Simplify namespaces in 'CoreWindow' sample

このコミットが含まれているのは:
Sergio Pedri committed 2024-09-26 18:14:50 -07:00
1 親 ca24b6044c
コミット c011d531e0
4ファイル変更
+5 -9

検索条件に一致するファイルはありません

+3 -4
ファイルの表示
@@ -2,18 +2,17 @@ using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Threading;
using ComputeSharp.D2D1.Uwp;
using ComputeSharp.SwapChain.D2D1.CoreWindow.Extensions;
using ComputeSharp.SwapChain.D2D1.Extensions;
using ComputeSharp.SwapChain.Shaders.D2D1;
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.Effects;
using Windows.ApplicationModel.Core;
using Windows.Graphics.Display;
using Windows.UI;
using Windows.UI.Core;
using Windows.UI.ViewManagement;
namespace ComputeSharp.SwapChain.D2D1.CoreWindow;
using Windows.UI.Core;
namespace ComputeSharp.SwapChain.D2D1;
/// <summary>
/// A sample app rendering D2D shaders into a <see cref="CoreWindow"/> instance.
@@ -24,9 +24,6 @@
See: https://github.com/microsoft/CsWinRT/issues/1478.
-->
<DebugType>full</DebugType>
<!-- Suppress warnings for using directives inside namespaces (needed to avoid CoreWindow conflicts) -->
<NoWarn>$(NoWarn);IDE0065</NoWarn>
</PropertyGroup>
<!-- NativeAOT settings, and size saving options for unnecessary features (optimize for speed otherwise) -->
@@ -1,7 +1,7 @@
using Windows.UI;
using Windows.UI.ViewManagement;
namespace ComputeSharp.SwapChain.D2D1.CoreWindow.Extensions;
namespace ComputeSharp.SwapChain.D2D1.Extensions;
/// <summary>
/// Extensions for <see cref="ApplicationViewTitleBar"/>.
+1 -1
ファイルの表示
@@ -31,7 +31,7 @@
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="ComputeSharp.SwapChain.D2D1.CoreWindow.App">
EntryPoint="ComputeSharp.SwapChain.D2D1.App">
<uap:VisualElements
DisplayName="ComputeSharp Sample App (Core)"
Description="A sample app for ComputeSharp using CoreApplication and Win2D"