A package that allows You to use [Notify]
, [NotifyWhen]
, [AlsoNotify]
attributes in Your code with Hypocrite.Desktop library.
dotnet add package Hypocrite.Fody
<PackageReference Include="Hypocrite.Fody" Version="*" />
You can use [Nofity]
, [NotifyWhen]
, [AlsoNotify]
attributes on any property You have in Your class but the class has to be inherited from BindableObject.
To start using this library You should add a package reference to the library in Your project like:
<PackageReference Include="Hypocrite.Fody" Version="*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; compile; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
And create a FodyWeavers.xml file in Your project root with following configuration (if You already have one - <Hypocrite />
could be just added there):
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<Hypocrite />
</Weavers>
- Hypocrite.Fody' logo - Material Design Icons
- Hypocrite.Fody is a rewritten part of ReactiveUI