damienbod / AspNetCoreLocalization

Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples
http://damienbod.com/2015/10/21/asp-net-5-mvc-6-localization/
MIT License
251 stars 101 forks source link

Update SqlStringLocalizerFactory.cs #59

Closed CoreDX9 closed 5 years ago

CoreDX9 commented 5 years ago

fix compilation error

CoreDX9 commented 5 years ago

Method "public IStringLocalizer Create(string baseName, string location)" will be called when use IViewLocalizer in Razor view. This method was called with constant false instead of local variable “returnOnlyKeyIfNotFound“ and “createNewRecordWhenLocalisedStringDoesNotExist“ for constructor of SqlStringLocalizer.

damienbod commented 5 years ago

I do some tests , and will create a new nuget, thanks