Skip to content

.Net Attribute (nuget package) created with source generator

License

Notifications You must be signed in to change notification settings

hyunq21/QAttribute

Repository files navigation

QAttribute Nuget Nuget

It is a tool that helps to easily implement c# IPropertyChanged and ICommnad, and I made it for study haha.
Just use the Community Toolkit

[QBinding]

By adding the [QBinding] attribute to the class, it automatically creates a binding property by adding only a field.

[QNoBinding]

If you do not want the property to be automatically bindable through the field, add the [QNoBinding] attribute to the field.

[QVirtual]

If you want to make a virtual property that can be automatically bound through the field, add the [QVirtual] attribute to the field.

[QEvent]

To add a PropertyChanging or PropertyChanged event, add [QEvent (PropertyChanging = "ChangingEvent()", PropertyChanged = "ChangedEvent()")] to the field


Additional Resources

About

.Net Attribute (nuget package) created with source generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages