Catel.Fody
Fody is an extensible tool for weaving .NET assemblies. For more information about Fody, see its official website.
Enabling Catel.Fody
To enable Catel.Fody to weave assemblies, you need to perform the following steps:
- Install the Catel.Fody NuGet package
- Update Weavers.xml and make sure it contains <Catel />
Note that the weavers.xml should be updated automatically when you install the package
Available functionality
Below are the several options available in Catel.Fody:
Disabling weaving for specific types or properties
To disable the weaving of types or properties of a type, decorate it with the NoWeaving attribute as shown in the example below:
[NoWeaving] public class MyClass : ModelBase { ... }