PageRenderTime 133ms CodeModel.GetById 130ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1using System;
 2using System.Collections.Generic;
 3using System.Reflection;
 4
 5namespace LinFu.IoC.Configuration.Interfaces
 6{
 7    /// <summary>
 8    ///     An interface responsible for determining which methods
 9    ///     should be injected.
10    /// </summary>
11    public interface IMemberInjectionFilter<TMember>
12        where TMember : MemberInfo
13    {
14        /// <summary>
15        ///     Returns the list of <see cref="MethodBase" /> objects
16        ///     that will be injected with arbitrary values.
17        /// </summary>
18        /// <param name="targetType">The target type that contains the target methods.</param>
19        /// <returns>A set of methods that describe which methods that will injected.</returns>
20        IEnumerable<TMember> GetInjectableMembers(Type targetType);
21    }
22}