C# Class Ninject.Selection.Heuristics.StandardInjectionHeuristic

Determines whether members should be injected during activation by checking if they are decorated with an injection marker attribute.
Inheritance: Ninject.Components.NinjectComponent, IInjectionHeuristic
Show file Open project: ninject/Ninject

Public Methods

Method Description
ShouldInject ( MemberInfo member ) : bool

Returns a value indicating whether the specified member should be injected.

Method Details

ShouldInject() public method

Returns a value indicating whether the specified member should be injected.
public ShouldInject ( MemberInfo member ) : bool
member System.Reflection.MemberInfo The member in question.
return bool