Sergio Pedri
d5cb56aec9
Minor code refactoring
2021-07-21 02:32:09 +02:00
Sergio Pedri
a72a683ea2
Added debugging attributes to remaining generated classes
2021-07-21 02:32:09 +02:00
Sergio Pedri
55dd2db7df
Added debugging attributes to validator/messaging generated classes
2021-07-21 02:32:09 +02:00
Sergio Pedri
72b49f170a
Minor code style tweaks
2021-07-21 02:32:09 +02:00
Sergio Pedri
1faf93acd7
Switched to SyntaxReceiver in remaining generators
2021-07-21 02:32:09 +02:00
Sergio Pedri
ce4078f9a6
Minor code refactoring
2021-07-21 02:32:09 +02:00
Sergio Pedri
b73e52f4b2
Added custom SyntaxReceiver to TransitiveMembersGenerator
2021-07-21 02:32:09 +02:00
Sergio Pedri
1266cb93ed
Switched usage of ISymbol.ConstructedFrom to OriginalDefinition
2021-07-21 02:32:08 +02:00
Sergio Pedri
dd11625be5
Removed unnecessary ConstructUnboundGenericType() calls
2021-07-21 02:32:08 +02:00
Sergio Pedri
9f0a463c36
Switched symbol comparisons to GetTypeByMetadataName()
2021-07-21 02:32:08 +02:00
Sergio Pedri
29366b7b7b
Enabled generated code for ValidateAllProperties
2021-07-21 02:32:08 +02:00
Sergio Pedri
797dfddfa9
Added ObservableValidatorValidateAllPropertiesGenerator
2021-07-21 02:32:08 +02:00
Sergio Pedri
6c6f351a91
Fixed analyzer target condition
2021-07-21 02:32:08 +02:00
Sergio Pedri
d4e6019d1e
Enabled source generator packing into MVVM Toolkit
...
See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3872#issuecomment-805023949
2021-07-21 02:32:08 +02:00
Sergio Pedri
86f9914979
Improved filenames for generated files
2021-07-21 02:31:05 +02:00
Sergio Pedri
e46fd62498
Fixed a bug when running on .NET Standard 2.0
2021-07-21 02:31:05 +02:00
Sergio Pedri
a7682bf9dd
Enabled AOT-friendly path for message registration
2021-07-21 02:31:05 +02:00
Sergio Pedri
150fcc977a
Added generation of non-generic RegisterAll methods
2021-07-21 02:31:05 +02:00
Sergio Pedri
b5db31a403
Added optimized method lookup on NS2.1 and up
2021-07-21 02:31:05 +02:00
Sergio Pedri
33e081638b
Fixed header generation in generated files
2021-07-21 02:31:05 +02:00
Sergio Pedri
6b96fcd4ea
Fixed unit test for generated RegisterAll method
2021-07-21 02:31:05 +02:00
Sergio Pedri
1694bd2d21
Enabled loading of generated message registration methods
2021-07-21 02:31:04 +02:00
Sergio Pedri
ccad7d45fa
Optimized the LINQ expression for message registration
2021-07-21 02:31:04 +02:00
Sergio Pedri
ce6321f483
Fixed duplicate attributes in generated type
2021-07-21 02:31:04 +02:00
Sergio Pedri
e8a9c5636a
Initial draft for IMessengerRegisterAllGenerator
2021-07-21 02:31:04 +02:00
Sergio Pedri
810e62a37d
Added target type diagnostics to attributes
2021-07-21 02:31:04 +02:00
Sergio Pedri
3a20a7f2d7
Added support for custom target type validation
2021-07-21 02:31:04 +02:00
Sergio Pedri
88134f92d5
Enabled diagnostics for failed generators
2021-07-21 02:31:04 +02:00
Sergio Pedri
067d964e6c
Added initial setup for custom diagnostics
2021-07-21 02:31:04 +02:00
Sergio Pedri
0435e8b66f
Added missing file headers
2021-07-21 02:31:04 +02:00
Sergio Pedri
b000e8af48
Fixed errors in unit tests
2021-07-21 02:31:04 +02:00
Sergio Pedri
81cb8768f6
Fixed missing trivia from generated ObservableValidator constructors
2021-07-21 02:31:04 +02:00
Sergio Pedri
bc576bedc8
Skipped ObservableRecipient.SetProperty overloads when conflicting
2021-07-21 02:31:04 +02:00
Sergio Pedri
08a3131fc0
Enabled constructor generation for [ObservableRecipient]
2021-07-21 02:31:03 +02:00
Sergio Pedri
53fb51fdf5
Minor code refactoring
2021-07-21 02:31:03 +02:00
Sergio Pedri
0aae5ffe93
Fixed an issue with base type list formatting
2021-07-21 02:31:03 +02:00
Sergio Pedri
6f9a2f4ed9
Added [ObservableRecipient] tests, minor bug fixes
2021-07-21 02:31:03 +02:00
Sergio Pedri
eeeb2fef56
Added [ObservableRecipient] attribute, code refactoring
2021-07-21 02:31:03 +02:00
Sergio Pedri
4f90d6295d
Added INotifyPropertyChangedAttribute.IncludeAdditionalHelperMethods
2021-07-21 02:31:03 +02:00
Sergio Pedri
436a40b9c0
Added support for custom members filtering
2021-07-21 02:31:03 +02:00
Sergio Pedri
b6f99dfcde
Minor fixes to code generators and unit tests
2021-07-21 02:31:03 +02:00
Sergio Pedri
f95072ee27
Added generator for [INotifyPropertyChanged]
2021-07-21 02:31:03 +02:00
Sergio Pedri
2e90c4ee15
Code refactoring, improved generator modularization
2021-07-21 02:31:03 +02:00
Sergio Pedri
34f34e554d
Added INotifyPropertyChangedAttribute and NotifyPropertyChangedObject
2021-07-21 02:31:03 +02:00
Sergio Pedri
30365c44d4
Fixed header generation
2021-07-21 02:31:02 +02:00
Sergio Pedri
a838dd9605
Added unit test file and reference
2021-07-21 02:31:02 +02:00
Sergio Pedri
8e0a5899d0
Added initial draft of SG project and ObservableObjectAttribute
2021-07-21 02:28:56 +02:00
Michael Hawker MSFT (XAML Llama)
d9af3b84bb
Merge pull request #3894 from Nirmal4G/feature/refactor
...
Update package titles and consolidate build logic
2021-07-20 11:34:32 -07:00
Nirmal Guru
c4fbb3ecd3
Replace the term 'Basic' in Package Titles
...
It was decided that the term 'Basic' is new and
has no established meaning in the software community.
So, Replacing the term 'Basic' with 'Common'. To disambiguate
multiple instances of 'Common', we use an already existing term
'Primitive' and we also append the Platform to which the package targets.
2021-07-20 21:45:23 +05:30
Nirmal Guru
a2d56c7bdc
Update Assembly/Package Titles
...
The package title doesn't follow a particular format and is not machine readable.
Thus, I propose the following format: "'Product' - 'Area' - 'Specifics' ('Source/Target')"
2021-07-20 21:45:18 +05:30