Пример #1
0
 FeignClientHttpProxyTypeBuilder(DynamicAssembly dynamicAssembly)
 {
     _guid                  = Guid.NewGuid().ToString("N").ToUpper();
     _suffix                = "_Proxy_" + _guid;
     _dynamicAssembly       = dynamicAssembly;
     _methodBuilder         = new FeignClientHttpProxyEmitMethodBuilder();
     _fallbackMethodBuilder = new FallbackFeignClientHttpProxyEmitMethodBuilder(_dynamicAssembly);
 }
Пример #2
0
 public FallbackFeignClientHttpProxyEmitMethodBuilder(DynamicAssembly dynamicAssembly)
 {
     _dynamicAssembly = dynamicAssembly;
     _fallbackProxyAnonymousMethodClassBuilder = new FallbackProxyAnonymousMethodClassBuilder();
 }
Пример #3
0
 public FallbackFeignClientHttpProxyEmitMethodBuilder(DynamicAssembly dynamicAssembly)
 {
     _dynamicAssembly = dynamicAssembly;
 }