【发布时间】:2015-06-27 06:12:26
【问题描述】:
我有一个服务:
[SomeResponse]
public class SomeService : ServiceBase {
public string[] CacheMemory{ get; set; }
//....
}
public class SomeResposeAttribute : ResponseFilterAttribute {
public override void Execute(IHttpRequest req, IHttpResponse res, object requestDto) {
//I want to access SomeService->CacheMemory here?? How?
}
}
现在,如果我需要在响应属性中对CacheMemory 执行某些操作,然后再将其发回。我如何访问它?谢谢。
【问题讨论】:
标签: c# servicestack servicestack-bsd