Loyc.Localize.SetLocalizer C# (CSharp) Метод

SetLocalizer() публичный статический Метод

Sets the localizer method.
Localizer is a thread-local value, but since .NET does not support inheritance of thread-local values, this method also sets the global default used by threads on which this method was never called. This property follows the Ambient Service Pattern: http://core.loyc.net/essentials/ambient-service-pattern.html
public static SetLocalizer ( LocalizerDelegate newValue ) : SavedValue
newValue LocalizerDelegate
Результат SavedValue
		public static SavedValue<LocalizerDelegate> SetLocalizer(LocalizerDelegate newValue)
		{
			return new SavedValue<LocalizerDelegate>(_localizer, newValue ?? Passthru);
		}