Exemple #1
0
 public override bool CanUse(ConsecutiveCallManager manager)
 {
     return(!manager.HasCountLimiter(GetType()));
 }
 public override bool CanUse(ConsecutiveCallManager manager)
 {
     //Cannot call a query if this query has a predicate and we were preceeded by a condition of another type,
     //Skip(), Take() or Unsupported()
     return(Predicate != null && !manager.HasOtherConditions(GetType()) && !manager.HasCountOffset(GetType()) && base.CanUse(manager));
 }
Exemple #3
0
 public override bool CanUse(ConsecutiveCallManager manager)
 {
     return(!manager.HasUnknownMethod());
 }
Exemple #4
0
 public virtual bool CanUse(ConsecutiveCallManager manager)
 {
     //Cannot call a query if we were preceeded by Take() or Unsupported()
     return(!manager.HasCountLimiter(GetType()) && !manager.HasUnknownMethod());
 }