public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.Resolved == null && context.HasImplementationDelegate());
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.IsTransientLifetime();
 }
Example #3
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.IsScopedLifetime());
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.Resolved == null && context.HasImplementationType() &&
            !context.HasPublicConstructor();
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved());
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.Resolved is Expression);
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.IsSingletonLifetime();
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.Resolved == null && context.HasImplementationDelegate();
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.Resolved is Expression;
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved();
 }
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.Resolved == null && context.HasImplementationType() &&
            context.HasPublicConstructor());
 }