예제 #1
0
 private void ResetDelegatorQueue(DestinationState destination)
 {
     _delegator.ResetQueue(destination.GetHttpSysDelegationQueue(), destination.Model.Config.Address);
 }
예제 #2
0
 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);
 }