How to use MethodDecorator.Fody Decorator in another project
问题 I used Fody Nuget package as follows Install package PM> Install-Package MethodDecorator.Fody Decorate the method public class BusinessLayerClass { [LogMethod] public string BusinessLayerMethod() { DataLayerClass dataLayerClass = new DataLayerClass(); return dataLayerClass.DataLayerMethod(); } } Write the interceptor using System; using System.Reflection; [module: LogMethod] // Attribute should be "registered" by adding as module or assembly custom attribute // Any attribute which provides