Mercurial > pub > bltoolkit
comparison Source/Aspects/NoCounterAttribute.cs @ 0:f990fcb411a9
Копия текущей версии из github
| author | cin |
|---|---|
| date | Thu, 27 Mar 2014 21:46:09 +0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:f990fcb411a9 |
|---|---|
| 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 NoCounterAttribute : NoInterceptionAttribute | |
| 15 { | |
| 16 public NoCounterAttribute() | |
| 17 : base(typeof(CounterAspect), InterceptType.BeforeCall | InterceptType.OnFinally) | |
| 18 { | |
| 19 } | |
| 20 } | |
| 21 } |
