Skip to content

A package that allows You to use [Notify] attribute in Your code with Hypocrite.Services library.

License

Notifications You must be signed in to change notification settings

CrackAndDie/Hypocrite.Fody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

A package that allows You to use [Notify] attribute in Your code with Hypocrite.Services library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages