public FacetFactory(IDependencyResolver dependencyResolver, IFacetProviderRegistry facetProviderRegistry, IFacetConfigurationContext facetConfigContext)
     : base(dependencyResolver)
 {
     if (facetProviderRegistry == null)
     {
         throw new ArgumentNullException("facetProviderRegistry");
     }
     FacetProviderRegistry = facetProviderRegistry;
     FacetConfigContext    = facetConfigContext;
 }
 public FacetFactory(IDependencyResolver dependencyResolver, IFacetProviderRegistry facetProviderRegistry, IFacetConfigurationContext facetConfigContext)
     : base(dependencyResolver)
 {
     FacetProviderRegistry = facetProviderRegistry ?? throw new ArgumentNullException(nameof(facetProviderRegistry));
     FacetConfigContext    = facetConfigContext;
 }