Skip to content

Commit 5c94503

Browse files
committed
Update attribute comments
1 parent 6be00e9 commit 5c94503

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DevExpress.Mvvm.CodeGenerators/InitializationGenerator/AttributesGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static class AttributesGenerator {
2222
public static string GetSourceCode(bool isWinUI) => isWinUI ? winUISourceCode : commonSourceCode;
2323

2424
const string commonSourceCode = @" /// <summary>
25-
/// Applies to a class. Indicates that the source generator should process this class and produce View Model boilerplate code.
25+
/// Indicates that the View Model Code Generator should process this class and produce a View Model.
2626
/// </summary>
2727
[AttributeUsage(AttributeTargets.Class)]
2828
class GenerateViewModelAttribute : Attribute {
@@ -54,7 +54,7 @@ class GenerateViewModelAttribute : Attribute {
5454
}
5555
5656
/// <summary>
57-
/// Applies to a field. The source generator produces boilerplate code for the property getter and setter based on the field declaration.
57+
/// Indicates that the View Model Code Generator should process this field and produce a property.
5858
/// </summary>
5959
[AttributeUsage(AttributeTargets.Field)]
6060
class GeneratePropertyAttribute : Attribute {
@@ -80,7 +80,7 @@ class GeneratePropertyAttribute : Attribute {
8080
}
8181
8282
/// <summary>
83-
/// Applies to a method. The source generator produces boilerplate code for a Command based on this method.
83+
/// Indicates that the View Model Code Generator should process this method and produce a Command.
8484
/// </summary>
8585
[AttributeUsage(AttributeTargets.Method)]
8686
class GenerateCommandAttribute : Attribute {

0 commit comments

Comments
 (0)