Skip to content

Commit

Permalink
Use collection initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsensesoftware committed Mar 26, 2024
1 parent 7aad49f commit be7021c
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,10 @@ private static int ODataOrder() =>
new ODataApiDescriptionProvider(
new StubModelMetadataProvider(),
new StubModelTypeBuilder(),
new OptionsFactory<ODataOptions>(
Enumerable.Empty<IConfigureOptions<ODataOptions>>(),
Enumerable.Empty<IPostConfigureOptions<ODataOptions>>() ),
new OptionsFactory<ODataOptions>( [], [] ),
Opts.Create(
new ODataApiExplorerOptions(
new(
new StubODataApiVersionCollectionProvider(),
Enumerable.Empty<IModelConfiguration>() ) ) ) ).Order;
new( new StubODataApiVersionCollectionProvider(), [] ) ) ) ).Order;

[MethodImpl( MethodImplOptions.AggressiveInlining )]
private static void MarkAsAdHoc( ODataModelBuilder builder, IEdmModel model ) =>
Expand Down

0 comments on commit be7021c

Please sign in to comment.