public void InjectOpenGenericMethod() { // Act Container.RegisterType <InjectedType>( Invoke.Method(nameof(InjectedType.OpenGenericMethod))); }
public void MethodWithOutParameter() { // Act Container.RegisterType <TypeWithMethodWithInvalidParameter>( Invoke.Method(nameof(TypeWithMethodWithInvalidParameter.MethodWithOutParameter))); }
public void InjectProtectedMethod() { // Act Container.RegisterType <InjectedType>( Invoke.Method("ProtectedMethod")); }
public void GenericInjectionMethod() { // Act Container.RegisterType <OpenGenericInjectionMethod>( Invoke.Method(nameof(OpenGenericInjectionMethod.InjectMe))); }