# Microsoft.AspNetCore.Mvc.Infrastructure

``` diff
 namespace Microsoft.AspNetCore.Mvc.Infrastructure {
+    public abstract class ProblemDetailsFactory {
+        protected ProblemDetailsFactory();
+        public abstract ProblemDetails CreateProblemDetails(HttpContext httpContext, Nullable<int> statusCode = default(Nullable<int>), string title = null, string type = null, string detail = null, string instance = null);
+        public abstract ValidationProblemDetails CreateValidationProblemDetails(HttpContext httpContext, ModelStateDictionary modelStateDictionary, Nullable<int> statusCode = default(Nullable<int>), string title = null, string type = null, string detail = null, string instance = null);
+    }
 }
```

