File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,24 @@ namespace Microsoft.AspNetCore.Builder
1111 /// </summary>
1212 public sealed class DelegateEndpointConventionBuilder : IEndpointConventionBuilder
1313 {
14- private readonly List < IEndpointConventionBuilder > _endpointConventionBuilders ;
14+ private readonly IEnumerable < IEndpointConventionBuilder > _endpointConventionBuilders ;
1515
16+ /// <summary>
17+ /// Instantiates a new <see cref="DelegateEndpointConventionBuilder" /> given a single
18+ /// <see cref="IEndpointConventionBuilder" />.
19+ /// </summary>
20+ /// <param name="endpointConventionBuilder">The <see cref="IEndpointConventionBuilder" /> to instantiate with.</param>
1621 internal DelegateEndpointConventionBuilder ( IEndpointConventionBuilder endpointConventionBuilder )
1722 {
1823 _endpointConventionBuilders = new List < IEndpointConventionBuilder > ( ) { endpointConventionBuilder } ;
1924 }
2025
21- internal DelegateEndpointConventionBuilder ( List < IEndpointConventionBuilder > endpointConventionBuilders )
26+ /// <summary>
27+ /// Instantiates a new <see cref="DelegateEndpointConventionBuilder" /> given multiple
28+ /// <see cref="IEndpointConventionBuilder" /> instances.
29+ /// </summary>
30+ /// <param name="endpointConventionBuilders">A list of <see cref="IEndpointConventionBuilder" /> instances.</param>
31+ public DelegateEndpointConventionBuilder ( IEnumerable < IEndpointConventionBuilder > endpointConventionBuilders )
2232 {
2333 _endpointConventionBuilders = endpointConventionBuilders ;
2434 }
Original file line number Diff line number Diff line change 66*REMOVED*Microsoft.AspNetCore.Routing.RouteNameMetadata.RouteName.get -> string!
77*REMOVED*Microsoft.AspNetCore.Routing.RouteNameMetadata.RouteNameMetadata(string! routeName) -> void
88Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder
9+ Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder.DelegateEndpointConventionBuilder(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Builder.IEndpointConventionBuilder!>! endpointConventionBuilders) -> void
910Microsoft.AspNetCore.Builder.DelegateEndpointConventionBuilder.Add(System.Action<Microsoft.AspNetCore.Builder.EndpointBuilder!>! convention) -> void
1011Microsoft.AspNetCore.Builder.DelegateEndpointRouteBuilderExtensions
1112Microsoft.AspNetCore.Routing.DataTokensMetadata.DataTokens.get -> System.Collections.Generic.IReadOnlyDictionary<string!, object?>!
You can’t perform that action at this time.
0 commit comments