コード例 #1
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.Resolved == null && context.HasImplementationDelegate());
 }
コード例 #2
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.IsTransientLifetime();
 }
コード例 #3
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.IsScopedLifetime());
 }
コード例 #4
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.Resolved == null && context.HasImplementationType() &&
            !context.HasPublicConstructor();
 }
コード例 #5
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved());
 }
コード例 #6
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.Resolved is Expression);
 }
コード例 #7
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.IsSingletonLifetime();
 }
コード例 #8
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.Resolved == null && context.HasImplementationDelegate();
 }
コード例 #9
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.Resolved is Expression;
 }
コード例 #10
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved();
 }
コード例 #11
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.Resolved == null && context.HasImplementationType() &&
            context.HasPublicConstructor());
 }