コード例 #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);
        }
コード例 #2
0
 private void SetConverter(ResponseConverter converter)
 {
     _converter = converter;
 }