-
vs2020
net6
新建一个wpf 项目
AssemblyInfo 内加入,别的什么也不做
`[assembly: IgnoreMo]`
文件内容
```
using Rougamo;
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where th…
-
我按照readme的例子写了一下.然后程序启动后就没有然后了.
```C#
public interface IJobHub : IRougamo
{
/// 任务集合标题
public string Title { get; }
/// 任务集合描述
public string Description { get; }
}
…
-
我希望把Rougama.Fody的引用放到公共类库中,但目前发现必须在主入口项目也添加Rougama.Fody引用才有效果,
请问这个有没有办法?
![image](https://user-images.githubusercontent.com/16606743/207487047-90c3c246-8955-4eab-9567-c6a46de3c0d1.png)
-
我有一类库引用了Rougamo.Fody,在其中使用接口方式进行拦截,其中某一个类中有如下方法
![image](https://user-images.githubusercontent.com/16606743/207779869-78e9e891-960c-4b31-8df0-a6e2e59fa902.png)
此时发布nuget包会报以下错误:
![image](https://…
-
能否在MethodContext中扩展一个Dictionary的用户附加数据属性?
例如
Dictionary AdditionalData
可以允许用户添加自己的数据,并可以在前后Attribute中传递?
-
![image](https://user-images.githubusercontent.com/2851364/203771198-eeb3b61f-0b2f-43e7-9b34-d1bc40212fb3.png)
大佬,想要捕获异常后修改返回值,结果提示dll没加载...
-
添加两个切面
![企业微信截图_1650797424238](https://user-images.githubusercontent.com/2437533/164972843-fb4bdb32-16aa-4094-a3ff-749de39475b0.png)
执行结果显示
![企业微信截图_16507974961540](https://user-images.githubuserco…
-
1.0.3编译正常,但无法处理异常,所以选择1.1.0,但该版本在异步方法中无法编译通过。代码如下
`public class Program
{
static void Main(string[] args)
{
}
[Log]
private async Task Sleep()
…
-
## Describe the Bug
Failed to use property injection on attribute
## Steps to Reproduce
1. call addRedisManager when app start up
```c#
public static IServiceCollection AddRedisManager(th…
-
看文档加了一个ExMoAttribute ,那么基于接口的是可以天然支持异步么?