-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathReactiveGeneratorTests.FromReactiveProperties#ReactiveUI.SourceGenerators.ReactiveAttribute.g.verified.cs
More file actions
51 lines (45 loc) · 1.67 KB
/
ReactiveGeneratorTests.FromReactiveProperties#ReactiveUI.SourceGenerators.ReactiveAttribute.g.verified.cs
File metadata and controls
51 lines (45 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//HintName: ReactiveUI.SourceGenerators.ReactiveAttribute.g.cs
// Copyright (c) 2026 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
// <auto-generated/>
#pragma warning disable
#nullable enable
namespace ReactiveUI.SourceGenerators;
/// <summary>
/// ReactiveAttribute.
/// </summary>
/// <seealso cref="Attribute" />
[global::System.AttributeUsage(global::System.AttributeTargets.Field | global::System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
internal sealed class ReactiveAttribute : global::System.Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="ReactiveAttribute"/> class.
/// </summary>
public ReactiveAttribute(params string[] alsoNotify)
{
AlsoNotify = alsoNotify;
}
/// <summary>
/// Gets the AccessModifier of the set property.
/// </summary>
/// <value>
/// The AccessModifier of the set property.
/// </value>
public AccessModifier SetModifier { get; init; }
/// <summary>
/// Gets the InheritanceModifier of the property.
/// </summary>
public InheritanceModifier Inheritance { get; init; }
/// <summary>
/// Use Required attribute to indicate that the property is required.
/// </summary>
public bool UseRequired { get; init; }
/// <summary>
/// Gets the AlsoNotify properties to raise change notifications for.
/// </summary>
public string[]? AlsoNotify { get; }
}
#nullable restore
#pragma warning restore