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)); }
public override bool CanUse(ConsecutiveCallManager manager) { return(!manager.HasUnknownMethod()); }
public virtual bool CanUse(ConsecutiveCallManager manager) { //Cannot call a query if we were preceeded by Take() or Unsupported() return(!manager.HasCountLimiter(GetType()) && !manager.HasUnknownMethod()); }