Ejemplo n.º 1
0
        internal static TInterface Create(RemoteProcedureExecutor <TInterface> executor, ResponseConverter converter)
        {
            object proxy = Create <TInterface, ServiceProxy <TInterface> >();

            ((ServiceProxy <TInterface>)proxy).SetExecutor(executor);
            ((ServiceProxy <TInterface>)proxy).SetConverter(converter);
            return((TInterface)proxy);
        }
Ejemplo n.º 2
0
 private void SetExecutor(RemoteProcedureExecutor <TInterface> executor)
 {
     this._executor = executor;
 }