/// <summary>
 /// A container for describing a condition that must be met for the specified redirect to apply. 
 /// For example if request is for pages in the /docs folder, redirect to the /documents folder or
 /// if request results in HTTP error 4xx, redirect request to another host where you might process the error.
 /// </summary>
 /// <param name="condition">A container for describing a condition that must be met for the specified redirect to apply. </param>
 /// <returns>the RoutingRuleCondition with the Condition set</returns>
 public RoutingRule WithCondition(RoutingRuleCondition condition)
 {
     this._condition = condition;
     return this;
 }
Example #2
0
 public RoutingRule WithCondition(RoutingRuleCondition condition)
 {
     this._condition = condition;
     return(this);
 }