Esempio n. 1
0
 public override bool CanUse(ConsecutiveCallManager manager)
 {
     return(!manager.HasCountLimiter(GetType()));
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 public override bool CanUse(ConsecutiveCallManager manager)
 {
     return(!manager.HasUnknownMethod());
 }
Esempio n. 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());
 }