public SubstituteFactory(ISubstituteStateFactory substituteStateFactory, ICallRouterFactory callRouterFactory, IProxyFactory proxyFactory)
 {
     _substituteStateFactory = substituteStateFactory ?? throw new ArgumentNullException(nameof(substituteStateFactory));
     _callRouterFactory      = callRouterFactory ?? throw new ArgumentNullException(nameof(callRouterFactory));
     _proxyFactory           = proxyFactory ?? throw new ArgumentNullException(nameof(proxyFactory));
 }
Esempio n. 2
0
 public SubstituteFactory(ISubstituteStateFactory substituteStateFactory, ICallRouterFactory callRouterFactory, IProxyFactory proxyFactory)
 {
     _substituteStateFactory = substituteStateFactory;
     _callRouterFactory      = callRouterFactory;
     _proxyFactory           = proxyFactory;
 }