/// <summary> /// Creates a new walker information instance for a walker that has a corresponding expression factory. /// </summary> /// <param name="walker">The walker delegate.</param> /// <param name="expressionFactory">The expression factory that can be used to create a walker delegate.</param> public WalkerInfo(FastWalker walker, CreateFastWalker expressionFactory) { Delegate = walker; ExpressionFactory = expressionFactory; }
/// <summary> /// Creates a new walker information instance for a walker without an expression factory. /// </summary> /// <param name="walker">The walker delegate.</param> public WalkerInfo(FastWalker walker) { Delegate = walker; ExpressionFactory = null; }