PageRenderTime 165ms CodeModel.GetById 81ms app.highlight 3ms RepoModel.GetById 77ms app.codeStats 1ms

/src/LinFu.AOP/Interfaces/ITypeFilter.cs

http://github.com/philiplaureano/LinFu
C# | 17 lines | 8 code | 1 blank | 8 comment | 0 complexity | 24fec81801a604d8a776bce8570b07be MD5 | raw file
 1using Mono.Cecil;
 2
 3namespace LinFu.AOP.Cecil
 4{
 5    /// <summary>
 6    ///     Represents a type that determines whether or not a particular type should be modified.
 7    /// </summary>
 8    public interface ITypeFilter
 9    {
10        /// <summary>
11        ///     Determines whether or not a type should be modified.
12        /// </summary>
13        /// <param name="type">The target type.</param>
14        /// <returns>Returns <c>true</c> if the type should be modified.</returns>
15        bool ShouldWeave(TypeReference type);
16    }
17}