private void ResetDelegatorQueue(DestinationState destination) { _delegator.ResetQueue(destination.GetHttpSysDelegationQueue(), destination.Model.Config.Address); }
private void VerifyDelegationRuleNotCreated(DestinationState destination) { Mock <IServerDelegationFeature>() .Verify(m => m.CreateDelegationRule(destination.GetHttpSysDelegationQueue(), destination.Model.Config.Address), Times.Never()); }
public static bool ShouldUseHttpSysDelegation(this DestinationState destination) { return(destination.GetHttpSysDelegationQueue() is not null); }