File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/AspNetCore/OData/src/Asp.Versioning.OData.ApiExplorer/ApiExplorer Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -145,14 +145,10 @@ private static int ODataOrder() =>
145145 new ODataApiDescriptionProvider (
146146 new StubModelMetadataProvider ( ) ,
147147 new StubModelTypeBuilder ( ) ,
148- new OptionsFactory < ODataOptions > (
149- Enumerable . Empty < IConfigureOptions < ODataOptions > > ( ) ,
150- Enumerable . Empty < IPostConfigureOptions < ODataOptions > > ( ) ) ,
148+ new OptionsFactory < ODataOptions > ( [ ] , [ ] ) ,
151149 Opts . Create (
152150 new ODataApiExplorerOptions (
153- new (
154- new StubODataApiVersionCollectionProvider ( ) ,
155- Enumerable . Empty < IModelConfiguration > ( ) ) ) ) ) . Order ;
151+ new ( new StubODataApiVersionCollectionProvider ( ) , [ ] ) ) ) ) . Order ;
156152
157153 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
158154 private static void MarkAsAdHoc ( ODataModelBuilder builder , IEdmModel model ) =>
You can’t perform that action at this time.
0 commit comments