/// <summary> /// Creates a route tracker that tracks the given route and it's instructions. /// </summary> /// <param name="route"></param> /// <param name="interpreter"></param> /// <param name="languageGenerator"></param> public RouteTracker(Route route, IRoutingInterpreter interpreter, ILanguageGenerator languageGenerator) { _route = route; _instructions = InstructionGenerator.Generate(route, interpreter, languageGenerator); }
public InstructionGenerator(Route route, InstructionGenerator <T> .TryGetDelegate[] tryGetInstructions, InstructionGenerator <T> .MergeDelegate merge) { this._route = route; this._tryGetInstructions = tryGetInstructions; this._merge = merge; }