[Question Or New Feature Proposal] Is there any convenient attribute for source generator to generate SetProperty<TModel, T> method?
              
              #921
            
            
              
                Unanswered
              
          
                  
                    
                      TonyDragonlake
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'd like to keep the Model and ViewModel code pure when using MVVM mode.
So I prefer to use
SetProperty<TModel, T>in my project. But I found I always wrote a lot at that code block.So I wonder is there any convenient attribute for source generator to generate
SetProperty<TModel, T>method?Or just extend the
ObservablePropertyAttributelike following?Beta Was this translation helpful? Give feedback.
All reactions