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)); }
public SubstituteFactory(ISubstituteStateFactory substituteStateFactory, ICallRouterFactory callRouterFactory, IProxyFactory proxyFactory) { _substituteStateFactory = substituteStateFactory; _callRouterFactory = callRouterFactory; _proxyFactory = proxyFactory; }