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:

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

NotifyUIFeature:
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.

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



PropertyResponsibilitiesFeature
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.

vladimirdjurdjevic93@gmail.com
vladimirdjurdjevic@hotmail.com.

Info

Version: 1.0.2
Last Update: Monday, October 19, 2015
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Syringe.AutoImplementedPropertyFeatures


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





STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

1866