Commit Graph

10 Commits

Author SHA1 Message Date
damianedwards 90ca64c3dd Statics be gone!
- Cleaned up ctors of ResourceManagerStringLocalizer and ResourceManagerWithCultureStringLocalizer too
2015-05-28 12:14:03 -07:00
Hisham Abdullah Bin Ateya 8382170178 Unnecessary using directives 2015-05-21 03:44:19 +03:00
damianedwards e5a0918054 Merge branch 'dev' of https://github.com/hishamco/Localization into hishamco-dev
Conflicts:
	src/Microsoft.AspNet.Localization/CustomRequestCultureStrategy.cs
	src/Microsoft.AspNet.Localization/IApplicationBuilderExtensions.cs
	src/Microsoft.Framework.Localization/ResourceManagerStringLocalizer.cs
2015-05-20 16:17:57 -07:00
damianedwards 4ba159afe7 Removed Moq from tests & enabled .NET Core
- Introduced AssemblyWrapper to enable testing
- Cleaned up properties on ResourceManagerStringLocalizer
- #15

Change "Strategy" to "Provider"
- #19
2015-05-20 14:41:52 -07:00
damianedwards 9384848cc7 Cache walk of the culture tree when building resource name list:
- #15
2015-05-20 14:41:36 -07:00
damianedwards 2ba7049648 Moved methods off of IStringLocalizer and into extension methods 2015-05-15 12:37:02 -07:00
Hisham Abdullah Bin Ateya 91b3ea4547 Using expression-bodies methods 2015-05-08 01:52:03 +03:00
damianedwards ec8ede5d8a Fixed missing resource caching issue in ResourceManagerStringLocalizer 2015-05-07 10:32:59 -07:00
damianedwards b11f7d51c3 Bunch of changes:
- Implemented pluggable strategies for determining request culture
- Added NotNull on public APIs
- Added support for a default request culture
- Added options class for configuring the middleware
- Improved the query string logic to support separate formatting & language cultures
- Implemented the logic for accept-language header
- Added more doc comments
2015-05-06 16:51:23 -07:00
damianedwards 9eede89418 Initial commit 2015-05-05 23:27:25 -07:00