mirror of
https://github.com/CommunityToolkit/dotnet.git
synced 2026-10-28 02:57:00 +08:00
Merge pull request #4117 from CommunityToolkit/fixNugetFeed
Org rename: windows-toolkit -> CommunityToolkit
This commit is contained in:
@@ -266,7 +266,7 @@ GenerateTextForItems(EnumerableTypes, item =>
|
||||
// in 2-complement to perform the bounds check with a single compare operation.
|
||||
// This is the same trick used throughout CoreCLR as well.
|
||||
// For more info and code sample, see the original conversation here:
|
||||
// https://github.com/windows-toolkit/WindowsCommunityToolkit/pull/3131#discussion_r390682835
|
||||
// https://github.com/CommunityToolkit/WindowsCommunityToolkit/pull/3131#discussion_r390682835
|
||||
#>
|
||||
if ((uint)index < (uint)<#=item.Name#>.<#=item.Size#>)
|
||||
{
|
||||
|
||||
@@ -803,7 +803,7 @@ namespace UnitTests.HighPerformance
|
||||
Assert.AreEqual(span.Length, 0);
|
||||
}
|
||||
|
||||
// See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3947
|
||||
// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3947
|
||||
[TestCategory("Span2DT")]
|
||||
[TestMethod]
|
||||
public void Test_Span2DT_TryGetSpan_From1DArray_4()
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace UnitTests.HighPerformance.Streams
|
||||
Assert.AreEqual(stream.Position, 32);
|
||||
}
|
||||
|
||||
// See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3536
|
||||
// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3536
|
||||
[TestCategory("MemoryStream")]
|
||||
[TestMethod]
|
||||
public void Test_MemoryStream_WriteToEndAndRefreshPosition()
|
||||
|
||||
@@ -511,7 +511,7 @@ namespace UnitTests.Mvvm
|
||||
messenger.Cleanup();
|
||||
}
|
||||
|
||||
// See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/4081
|
||||
// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/4081
|
||||
[TestCategory("Mvvm")]
|
||||
[TestMethod]
|
||||
[DataRow(typeof(StrongReferenceMessenger))]
|
||||
|
||||
@@ -468,7 +468,7 @@ namespace UnitTests.Mvvm
|
||||
|
||||
/// <summary>
|
||||
/// Test model for linked properties, to test <see cref="ObservableValidator.ValidateProperty(object?, string?)"/> instance.
|
||||
/// See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3665 for the original request for this feature.
|
||||
/// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3665 for the original request for this feature.
|
||||
/// </summary>
|
||||
public class ComparableModel : ObservableValidator
|
||||
{
|
||||
@@ -522,7 +522,7 @@ namespace UnitTests.Mvvm
|
||||
|
||||
/// <summary>
|
||||
/// Test model for custom validation properties.
|
||||
/// See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3729 for the original request for this feature.
|
||||
/// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3729 for the original request for this feature.
|
||||
/// </summary>
|
||||
public class CustomValidationModel : ObservableValidator
|
||||
{
|
||||
@@ -568,7 +568,7 @@ namespace UnitTests.Mvvm
|
||||
|
||||
/// <summary>
|
||||
/// Test model for custom validation with an injected service.
|
||||
/// See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3750 for the original request for this feature.
|
||||
/// See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3750 for the original request for this feature.
|
||||
/// </summary>
|
||||
public class ValidationWithServiceModel : ObservableValidator
|
||||
{
|
||||
@@ -604,7 +604,7 @@ namespace UnitTests.Mvvm
|
||||
|
||||
/// <summary>
|
||||
/// Test model for validation with a formatted display name string on each property.
|
||||
/// This is issue #1 from https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3763.
|
||||
/// This is issue #1 from https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3763.
|
||||
/// </summary>
|
||||
public class ValidationWithDisplayName : ObservableValidator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user