Skip to content

Commit 62bcf56

Browse files
committed
Remove redundant received files for ReactiveCommandAttribute
Deleted .received.cs files for DotNet8_0, DotNet9_0, and DotNet10_0 test targets as their content is now covered by the verified file. This streamlines the test assets and reduces duplication.
1 parent 1286d27 commit 62bcf56

4 files changed

+44
-133
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-

1+
//HintName: ReactiveUI.SourceGenerators.ReactiveCommandAttribute.g.cs
2+
// Copyright (c) 2025 .NET Foundation and Contributors. All rights reserved.
3+
// Licensed to the .NET Foundation under one or more agreements.
4+
// The .NET Foundation licenses this file to you under the MIT license.
5+
// See the LICENSE file in the project root for full license information.
6+
7+
// <auto-generated/>
8+
#pragma warning disable
9+
#nullable enable
10+
namespace ReactiveUI.SourceGenerators;
11+
12+
/// <summary>
13+
/// ReativeCommandAttribute.
14+
/// </summary>
15+
/// <seealso cref="Attribute" />
16+
[global::System.AttributeUsage(global::System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
17+
internal sealed class ReactiveCommandAttribute : global::System.Attribute
18+
{
19+
/// <summary>
20+
/// Gets the can execute method or property.
21+
/// </summary>
22+
/// <value>
23+
/// The name of the CanExecute Observable of bool.
24+
/// </value>
25+
public string? CanExecute { get; init; }
26+
27+
/// <summary>
28+
/// Gets the output scheduler.
29+
/// </summary>
30+
/// <value>
31+
/// The output scheduler.
32+
/// </value>
33+
public string? OutputScheduler { get; init; }
34+
35+
/// <summary>
36+
/// Gets the AccessModifier of the ReactiveCommand property.
37+
/// </summary>
38+
/// <value>
39+
/// The AccessModifier of the property.
40+
/// </value>
41+
public PropertyAccessModifier AccessModifier { get; init; }
42+
}
43+
#nullable restore
44+
#pragma warning restore

src/ReactiveUI.SourceGenerator.Tests/REACTIVECMD/ReactiveCMDGeneratorTests.FromReactiveCommandWithAccessModifier.DotNet10_0#ReactiveUI.SourceGenerators.ReactiveCommandAttribute.g.received.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/ReactiveUI.SourceGenerator.Tests/REACTIVECMD/ReactiveCMDGeneratorTests.FromReactiveCommandWithAccessModifier.DotNet8_0#ReactiveUI.SourceGenerators.ReactiveCommandAttribute.g.received.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/ReactiveUI.SourceGenerator.Tests/REACTIVECMD/ReactiveCMDGeneratorTests.FromReactiveCommandWithAccessModifier.DotNet9_0#ReactiveUI.SourceGenerators.ReactiveCommandAttribute.g.received.cs

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)