Business Logic Toolkit for .NET
www.bltoolkit.net
|  Home   |  Download   |  Documentation   |  Discussions   |  License   |

  Source.Aspects.NoCacheAttribute.cs

 
using System;

namespace BLToolkit.Aspects
{
    /// <summary>
    /// http://www.bltoolkit.net/Doc/Aspects/index.htm
    /// </summary>
    [AttributeUsage(
        AttributeTargets.Class |
        AttributeTargets.Interface |
        AttributeTargets.Property |
        AttributeTargets.Method,
        AllowMultiple=true)]
    public class NoCacheAttribute : NoInterceptionAttribute
    {
        public NoCacheAttribute()
            : base(typeof(CacheAspect), InterceptType.BeforeCall | InterceptType.AfterCall)
        {
        }
    }
}
 
© 2010 www.bltoolkit.net
support@bltoolkit.net