Remove CommunityToolkit.Diagnostics from ComputeSharp package
このコミットが含まれているのは:
1 親
72338416c2
コミット
5a4fd9a4ce
19ファイル変更
+58
-46
検索条件に一致するファイルはありません
@@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BenchmarkDotNet" Version="0.13.4" />
|
||||
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.1.0" />
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.1.0" />
|
||||
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.3" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using CommunityToolkit.Diagnostics;
|
||||
|
||||
namespace ComputeSharp.Sample;
|
||||
|
||||
@@ -19,12 +18,6 @@ internal static class Formatting
|
||||
/// <param name="name">The name of the matrix to print.</param>
|
||||
public static void PrintMatrix(float[] array, int width, int height, string name)
|
||||
{
|
||||
Guard.IsNotNull(array);
|
||||
Guard.IsGreaterThan(width, 0);
|
||||
Guard.IsGreaterThan(height, 0);
|
||||
Guard.IsEqualTo(array.Length, (long)width * height, nameof(array));
|
||||
Guard.IsNotNullOrEmpty(name);
|
||||
|
||||
int pad = 48 - name.Length;
|
||||
string title = $"{new string('=', pad / 2)} {name} {new string('=', (pad + 1) / 2)}";
|
||||
|
||||
|
||||
@@ -160,6 +160,9 @@
|
||||
</ApplicationDefinition>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CommunityToolkit.Diagnostics">
|
||||
<Version>8.1.0</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="CommunityToolkit.Mvvm">
|
||||
<Version>8.1.0</Version>
|
||||
</PackageReference>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.2.230118.102" />
|
||||
<PackageReference Include="CommunityToolkit.Diagnostics" Version="8.1.0" />
|
||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.1.0" />
|
||||
<PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Core" Version="7.1.2" />
|
||||
<PackageReference Include="CommunityToolkit.WinUI.UI.Media" Version="7.1.2" />
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする