/// <summary>
 ///  Creates a new instance of the <see cref="ServiceRequest"/> class.
 /// </summary>
 /// <param name="container"></param>
 /// <param name="requestedType"></param>
 /// <param name="receiver"></param>
 public ServiceRequest(IContainer container, Type requestedType, ServiceRequest receiver)
 {
     Container     = container;
     RequestedType = requestedType;
     Receiver      = receiver;
 }
예제 #2
0
 public TService Intercept(ServiceRequest request, Func <TService> service)
 {
     return(_proxyFunc(request, service));
 }