File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
src/AspNetCore/WebApi/src/Asp.Versioning.Http/ApiExplorer Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright (c) .NET Foundation and contributors. All rights reserved.
2
+
3
+ namespace Asp . Versioning . ApiExplorer ;
4
+
5
+ using Microsoft . AspNetCore . Routing ;
6
+
7
+ /// <summary>
8
+ /// Defines the behavior of a factory used to create a <see cref="IApiVersionDescriptionProvider"/>.
9
+ /// </summary>
10
+ [ CLSCompliant ( false ) ]
11
+ public interface IApiVersionDescriptionProviderFactory
12
+ {
13
+ /// <summary>
14
+ /// Creates and returns an API version description provider.
15
+ /// </summary>
16
+ /// <param name="endpointDataSource">The <see cref="EndpointDataSource">endpoint data
17
+ /// source</see> used by the provider.</param>
18
+ /// <returns>A new <see cref="IApiVersionDescriptionProvider">API version description provider</see>.</returns>
19
+ IApiVersionDescriptionProvider Create ( EndpointDataSource endpointDataSource ) ;
20
+ }
You can’t perform that action at this time.
0 commit comments