Answer the question
In order to leave comments, you need to log in
How to set KindOfMagic to use INotifyPropertyChanged?
Actually, the question arose after the article by Lex Lavnikov "Fighting INotifyPropertyChanged or how I became op...
I have Visual Studio 2017 installed and I can't find the KindOfMagic extension in it, and I don't see NuGet myself. Tell me
about installing NuGet (if needed) and how to install KindOfMagic.
I would also like a simple example of using a miracle tool.
Thanks in advance!
(author Lex Lavnikov did not answer since 2016)
Answer the question
In order to leave comments, you need to log in
I found an even cooler package - PropertyChanged.Fody (available in NuGet).
Example:
[ImplementPropertyChanging]
public class Person
{
public string GivenNames { get; set; }
public string FamilyName { get; set; }
public string FullName
{
get
{
return string.Format("{0} {1}", GivenNames, FamilyName);
}
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question