コード例 #1
0
 public NamedResource(
     AsyncHttpMethodCollectorHandler <TContext, TResult> methodCollectorHandler,
     AsyncResourceCollectorHandler <TContext, TResult> nestedAsyncResourceCollectorHandler)
 {
     _methodCollectorHandler = methodCollectorHandler;
     _nestedAsyncResourceCollectorHandler = nestedAsyncResourceCollectorHandler;
 }
コード例 #2
0
 public ValuedResource(
     Func <string, TValue> parser,
     AsyncHttpMethodCollectorHandler <TContext, TValue, TResult> methodCollectorHandler,
     AsyncResourceCollectorHandler <TContext, TValue, TResult> nestedAsyncResourceCollectorHandler)
 {
     _parser = parser;
     _methodCollectorHandler = methodCollectorHandler;
     _nestedAsyncResourceCollectorHandler = nestedAsyncResourceCollectorHandler;
 }