NuGet Package Syringe.AutoImplementedPropertyFeatures

Set of syringe features for transforming auto-implemented properties.

It Allows developer to keep nice auto-implemented property syntax, while being able to customize their behavior with some attributes, instead of creating full property. It is designed to work with 'SwollenMvvm' toolkit which provides necessary attributes for features to work. Provided features are:

Injects one if statement around property setter to make sure nothing happens if value didn't change.

Injects 'SwollenMvvm.BindableViewModel.NotifyUI()' method calls in property setter to make sure view is updated. It automatically resolves dependencies, and also makes sure that view is updated if property is dependant on property in nested view model.

Properties that simply return combination of some other properties can stay auto-implemented with this feature.

Attach list of responsibilities to property (some work that need to be done after value has changed), implement them as separate methods in declaring class, and you keep auto-implemented property syntax rather then writing all code in full property setter.It's not yet ready for others to use, i published it so i can use it i few projects until i test it and write some documentation or how to use tutorial, but feel free to contack me if you need some info before it happens.


Version: 1.0.2
Last Update: Monday, October 19, 2015
.NET Fiddle: Create the first Fiddle
NuGet Url:

Install-Package Syringe.AutoImplementedPropertyFeatures
dotnet add package Syringe.AutoImplementedPropertyFeatures
paket add Syringe.AutoImplementedPropertyFeatures
Syringe.AutoImplementedPropertyFeatures Download (Unzip the "nupkg" after downloading)