/src/LinFu.IoC/Configuration/Interfaces/IMethodInjectionFilter.cs
http://github.com/philiplaureano/LinFu · C# · 22 lines · 11 code · 1 blank · 10 comment · 0 complexity · 693e5038ccc2f80cf2d29d6f1e7eb229 MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.Reflection;
- namespace LinFu.IoC.Configuration.Interfaces
- {
- /// <summary>
- /// An interface responsible for determining which methods
- /// should be injected.
- /// </summary>
- public interface IMemberInjectionFilter<TMember>
- where TMember : MemberInfo
- {
- /// <summary>
- /// Returns the list of <see cref="MethodBase" /> objects
- /// that will be injected with arbitrary values.
- /// </summary>
- /// <param name="targetType">The target type that contains the target methods.</param>
- /// <returns>A set of methods that describe which methods that will injected.</returns>
- IEnumerable<TMember> GetInjectableMembers(Type targetType);
- }
- }