Closed ghost1372 closed 6 years ago
As the Readme.md
says, "note: can be applied only to dynamic settings. proxy-classes are not .net-wide yet."
I wrote that quite long time ago and now it seems that there is a support with DynamicProxy in CastleProject.
I'll work that on the weekend and release it as 1.1.0
, thanks for the suggestion.
Added and uploaded to version 1.0.7 and 1.0.0 of Nucs.JsonSettings.Autosave
in nuget.
Example:
var x = JsonSettings.Load<Settings>().EnableAutosave();
//or
var x = JsonSettings.Load<Settings>().EnableIAutosave<ISettings>(); //Settings implements interface ISettings
x.Property = "abc"; //saved.
Remarks:
virtual
.I will soon add a new page to wiki.
is it possible to use auto save method in hardcoded mode?