Mercurial > pub > bltoolkit
annotate Source/Aspects/NoCacheAttribute.cs @ 7:99cd4f3947d8
Закомментированы строки мешающие добавлению авиа дежурств.
| author | nickolay |
|---|---|
| date | Fri, 27 Oct 2017 18:26:29 +0300 |
| parents | f990fcb411a9 |
| children |
| rev | line source |
|---|---|
| 0 | 1 using System; |
| 2 | |
| 3 namespace BLToolkit.Aspects | |
| 4 { | |
| 5 /// <summary> | |
| 6 /// http://www.bltoolkit.net/Doc/Aspects/index.htm | |
| 7 /// </summary> | |
| 8 [AttributeUsage( | |
| 9 AttributeTargets.Class | | |
| 10 AttributeTargets.Interface | | |
| 11 AttributeTargets.Property | | |
| 12 AttributeTargets.Method, | |
| 13 AllowMultiple=true)] | |
| 14 public class NoCacheAttribute : NoInterceptionAttribute | |
| 15 { | |
| 16 public NoCacheAttribute() | |
| 17 : base(typeof(CacheAspect), InterceptType.BeforeCall | InterceptType.AfterCall) | |
| 18 { | |
| 19 } | |
| 20 } | |
| 21 } |
