File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <TargetFrameworks >netstandard2.0</TargetFrameworks >
4- <LangVersion >8 .0</LangVersion >
4+ <LangVersion >9 .0</LangVersion >
55 <OutputPath >bin\Any CPU\$(Configuration)\</OutputPath >
66 <EmbedUntrackedSources >true</EmbedUntrackedSources >
77 <IncludeSymbols >true</IncludeSymbols >
88 <SymbolPackageFormat >snupkg</SymbolPackageFormat >
99 <DocumentationFile >bin\Any CPU\$(Configuration)\$(TargetFramework)\Simplify.Web.Multipart.xml</DocumentationFile >
1010
11- <Version >1.4</Version >
11+ <Version >1.4.1 </Version >
1212 <PackageReleaseNotes >
1313 Updates
14- * Upgrade to HttpMultipartParser 5.0.* (PR#25)
14+ * Upgrade to Simplify.Web 4.2.3
1515 </PackageReleaseNotes >
1616
1717 <Authors >Alexander Krylkov</Authors >
Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ public static class SimplifyDIRegistratorExtensions
1212 /// Registers Simplify.Web.Json JsonModelBinder.
1313 /// </summary>
1414 /// <param name="registrator">The registrator.</param>
15- public static IDIRegistrator RegisterHttpMultipartFormModelBinder ( this IDIRegistrator registrator )
16- {
15+ public static IDIRegistrator RegisterHttpMultipartFormModelBinder ( this IDIRegistrator registrator ) =>
1716 registrator . Register < HttpMultipartFormModelBinder > ( LifetimeType . Singleton ) ;
18-
19- return registrator ;
20- }
2117 }
2218}
Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ namespace TestServer
55{
66 public class Program
77 {
8- public static void Main ( string [ ] args )
9- {
10- CreateWebHostBuilder ( args ) . Build ( ) . Run ( ) ;
11- }
8+ public static void Main ( string [ ] args ) => CreateWebHostBuilder ( args ) . Build ( ) . Run ( ) ;
129
1310 public static IWebHostBuilder CreateWebHostBuilder ( string [ ] args ) =>
1411 WebHost . CreateDefaultBuilder ( args )
You can’t perform that action at this time.
0 commit comments