You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -292,6 +292,57 @@ public static MemberDeclarationSyntax GetSyntax(PropertyInfo propertyInfo)
292
292
.WithBody(Block(setterIfStatement)));
293
293
}
294
294
295
+
/// <summary>
296
+
/// Gets the <see cref="MemberDeclarationSyntax"/> instances for the <c>OnPropertyChanging</c> and <c>OnPropertyChanged</c> methods for the input field.
297
+
/// </summary>
298
+
/// <param name="propertyInfo">The input <see cref="PropertyInfo"/> instance to process.</param>
299
+
/// <returns>The generated <see cref="MemberDeclarationSyntax"/> instances for the <c>OnPropertyChanging</c> and <c>OnPropertyChanged</c> methods.</returns>
.WithOpenBracketToken(Token(TriviaList(Comment($"/// <summary>Executes the logic for when <see cref=\"{propertyInfo.PropertyName}\"/> is changing.</summary>")),SyntaxKind.OpenBracketToken,TriviaList())))
.WithOpenBracketToken(Token(TriviaList(Comment($"/// <summary>Executes the logic for when <see cref=\"{propertyInfo.PropertyName}\"/> just changed.</summary>")),SyntaxKind.OpenBracketToken,TriviaList())))
0 commit comments