/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
- using Mono.Cecil;
- namespace LinFu.AOP.Cecil
- {
- /// <summary>
- /// Represents a type that determines whether or not a particular type should be modified.
- /// </summary>
- public interface ITypeFilter
- {
- /// <summary>
- /// Determines whether or not a type should be modified.
- /// </summary>
- /// <param name="type">The target type.</param>
- /// <returns>Returns <c>true</c> if the type should be modified.</returns>
- bool ShouldWeave(TypeReference type);
- }
- }