public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotResolved() && context.IsTransientLifetime();
 }
 public bool PreResolver(IResolverContext context, IDependencyResolver resolver)
 {
     return context.NotComplete() && context.IsTransientLifetime();
 }
예제 #3
0
 public bool Requires(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotResolved() && context.IsTransientLifetime());
 }
 public bool PreResolver(IResolverContext context, IDependencyResolver resolver)
 {
     return(context.NotComplete() && context.IsTransientLifetime());
 }