public ConstructorExtractor(IConstructorFactory constructorFactory, ILocationFactory locationFactory, IUnderlyingObjectFactory underlyingObjectFactory) { if (constructorFactory == null) { throw new ArgumentNullException(nameof(constructorFactory)); } if (locationFactory == null) { throw new ArgumentNullException(nameof(locationFactory)); } if (underlyingObjectFactory == null) { throw new ArgumentNullException(nameof(underlyingObjectFactory)); } this.constructorFactory = constructorFactory; this.locationFactory = locationFactory; this.underlyingObjectFactory = underlyingObjectFactory; }
public ConstructorQueryProvider(IConstructorFactory constructorFactory) { _constructorFactory = constructorFactory; }