public NamedResource( AsyncHttpMethodCollectorHandler <TContext, TResult> methodCollectorHandler, AsyncResourceCollectorHandler <TContext, TResult> nestedAsyncResourceCollectorHandler) { _methodCollectorHandler = methodCollectorHandler; _nestedAsyncResourceCollectorHandler = nestedAsyncResourceCollectorHandler; }
public ValuedResource( Func <string, TValue> parser, AsyncHttpMethodCollectorHandler <TContext, TValue, TResult> methodCollectorHandler, AsyncResourceCollectorHandler <TContext, TValue, TResult> nestedAsyncResourceCollectorHandler) { _parser = parser; _methodCollectorHandler = methodCollectorHandler; _nestedAsyncResourceCollectorHandler = nestedAsyncResourceCollectorHandler; }