# Microsoft.AspNetCore.Http.Metadata

``` diff
 namespace Microsoft.AspNetCore.Http.Metadata {
-    public sealed class EndpointMetadataContext {
-        public EndpointMetadataContext(MethodInfo method, IList<object> endpointMetadata, IServiceProvider applicationServices);
-        public IServiceProvider ApplicationServices { get; }
-        public IList<object> EndpointMetadata { get; }
-        public MethodInfo Method { get; }
-    }
-    public sealed class EndpointParameterMetadataContext {
-        public EndpointParameterMetadataContext(ParameterInfo parameter, IList<object> endpointMetadata, IServiceProvider applicationServices);
-        public IServiceProvider ApplicationServices { get; }
-        public IList<object> EndpointMetadata { get; }
-        public ParameterInfo Parameter { get; }
-    }
     public interface IEndpointMetadataProvider {
-        static abstract void PopulateMetadata(EndpointMetadataContext context);
+        static abstract void PopulateMetadata(MethodInfo method, EndpointBuilder builder);
     }
     public interface IEndpointParameterMetadataProvider {
-        static abstract void PopulateMetadata(EndpointParameterMetadataContext parameterContext);
+        static abstract void PopulateMetadata(ParameterInfo parameter, EndpointBuilder builder);
     }
 }
```

