From 5ca0038b912cabb9ecd459a3333fb4252c62665c Mon Sep 17 00:00:00 2001 From: MehdiK Date: Fri, 25 Apr 2014 16:17:18 +0430 Subject: [PATCH] minor refactoring --- src/Humanizer/Configuration/LocaliserRegistry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Humanizer/Configuration/LocaliserRegistry.cs b/src/Humanizer/Configuration/LocaliserRegistry.cs index 83bddb1b4..2caf70669 100644 --- a/src/Humanizer/Configuration/LocaliserRegistry.cs +++ b/src/Humanizer/Configuration/LocaliserRegistry.cs @@ -50,7 +50,7 @@ public T ResolveForUiCulture() /// public void Register(Func localiser, CultureInfo culture = null) { - var lazyLocaliser = new Lazy(localiser); + var lazyLocaliser = MakeLazy(localiser); if (culture == null) _defaultLocaliser = lazyLocaliser;