Exemplo n.º 1
0
        public RetrieveHandlerProxy(IDefaultHandlerFactory factory)
        {
            if (factory is null)
            {
                throw new ArgumentNullException(nameof(factory));
            }

            handler = (IRetrieveHandler <TRow, TRetrieveRequest, TRetrieveResponse>)factory.CreateHandler <IRetrieveRequestProcessor>(typeof(TRow));
        }
Exemplo n.º 2
0
 public RetrieveController([Dependency("local")] IRetrieveHandler impl, [Dependency("wado")] IRetrieveHandler wimpl)
 {
     _impl  = impl;
     _wimpl = wimpl;
 }