C# Class ParkerFox.Infrastructure.IoC.CustomPropertyInjectionHeuristic

http://jarrettmeyer.com/blog/2012/05/18/ninject-30-property-injection-without-inject-attribute
Inheritance: Ninject.Components.NinjectComponent, IInjectionHeuristic
显示文件 Open project: KHProjects/KH-Parker-Fox

Public Methods

Method Description
CustomPropertyInjectionHeuristic ( IKernel kernel ) : System
ShouldInject ( MemberInfo memberInfo ) : bool

Private Methods

Method Description
ShouldInject ( PropertyInfo propertyInfo ) : bool

Method Details

CustomPropertyInjectionHeuristic() public method

public CustomPropertyInjectionHeuristic ( IKernel kernel ) : System
kernel IKernel
return System

ShouldInject() public method

public ShouldInject ( MemberInfo memberInfo ) : bool
memberInfo System.Reflection.MemberInfo
return bool