Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.98 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.98 KB

Abdrakov.Solutions logo

Hypocrite.Fody

Nuget Nuget License

About:

A package that allows You to use [Notify], [NotifyWhen], [AlsoNotify] attributes in Your code with Hypocrite.Desktop library.

Download:

.NET CLI:

dotnet add package Hypocrite.Fody

Package Reference:

<PackageReference Include="Hypocrite.Fody" Version="*" />

Getting started:

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>

Powered by: