public DeleteRoute(IRouteOperations routeOperations, string routeTableName, string routeName) { this.routeOperations = routeOperations; this.routeTableName = routeTableName; this.routeName = routeName; oldRouteTable = RouteTestClient.GetRouteTableSafe(routeOperations, routeTableName); }
public SetRoute(IRouteOperations routeOperations, string routeTableName, string routeName, SetRouteParameters parameters) { this.routeOperations = routeOperations; this.routeTableName = routeTableName; this.routeName = routeName; this.parameters = parameters; oldRouteTable = RouteTestClient.GetRouteTableSafe(routeOperations, routeTableName); }
public DeleteRouteTable(IRouteOperations routeOperations, string routeTableName) { this.routeOperations = routeOperations; this.routeTableName = routeTableName; if (string.IsNullOrEmpty(routeTableName)) { oldRouteTable = null; } else { oldRouteTable = RouteTestClient.GetRouteTableSafe(routeOperations, routeTableName); } }
public CreateRouteTable(IRouteOperations routeOperations, CreateRouteTableParameters parameters) { this.routeOperations = routeOperations; this.parameters = parameters; if (parameters == null || string.IsNullOrEmpty(parameters.Name)) { tableExistedPreviously = false; } else { RouteTable routeTable = RouteTestClient.GetRouteTableSafe(routeOperations, parameters.Name); tableExistedPreviously = (routeTable != null); } }