Skip to content

Commit d281bcd

Browse files
committed
Update IViewForAttribute XML docs for Splat registration
Clarifies XML documentation to specify that ViewModel (T) is registered in the Splat service locator, instead of IViewFor<T>. Adds new received test file for .NET 10.0 verifying the generated attribute code.
1 parent c66d222 commit d281bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ReactiveUI.SourceGenerator.Tests/IVIEWFOR/IViewForGeneratorTests.FromIViewFor#ReactiveUI.SourceGenerators.IViewForAttribute.g.verified.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ internal sealed class IViewForAttribute<T> : global::System.Attribute
2828

2929
/// <summary>
3030
/// Gets the Splat registration type for Splat View Model registration.
31-
/// Registers IViewFor<T> in the Splat service locator.
31+
/// Registers the ViewModel (T) in the Splat service locator.
3232
/// </summary>
3333
public SplatRegistrationType ViewModelRegistrationType { get; init; } = SplatRegistrationType.None;
3434
}
@@ -52,7 +52,7 @@ internal sealed class IViewForAttribute(string? viewModelType) : global::System.
5252

5353
/// <summary>
5454
/// Gets the Splat registration type for Splat View Model registration.
55-
/// Registers IViewFor<T> in the Splat service locator.
55+
/// Registers the ViewModel (T) in the Splat service locator.
5656
/// </summary>
5757
public SplatRegistrationType ViewModelRegistrationType { get; init; } = SplatRegistrationType.None;
5858
}

0 commit comments

Comments
 (0)